mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-12-14 10:14:25 -05:00
66939 lines
2.0 MiB
66939 lines
2.0 MiB
// source: pb.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 || window || global || self || Function('return this')(); }).call(null);
|
|
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AccountAgeWitness', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AccountAgeWitnessStore', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AchTransferAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AckMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AddDataMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AddressEntry', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AddressEntry.Context', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AddressEntryList', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AdvancedCashAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Alert', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AliPayAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.ArbitrationDisputeList', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Arbitrator', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.ArbitratorTrade', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Attachment', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AustraliaPayidPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AutoConfirmSettings', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.AvailabilityResult', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.BankAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.BankAccountPayload.MessageCase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.BizumAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.BlockChainExplorer', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.BundleOfEnvelopes', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.BuyerAsMakerTrade', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.BuyerAsTakerTrade', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.ByteArray', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.CapitualAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.CashAppAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.CashByMailAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.CashDepositAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.CelPayAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.ChatMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.ClearXchangeAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.CloseConnectionMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Contract', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Country', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.MessageCase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.CryptoCurrency', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Currency', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DataAndSeqNrPair', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DecryptedMessageWithPubKey', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DepositRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DepositResponse', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DepositTxMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DepositsConfirmedMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Dispute', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Dispute.State', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DisputeClosedMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DisputeOpenedMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DisputeResult', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DisputeResult.Reason', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DisputeResult.Winner', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.EncryptedConnection', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.EncryptedConnectionList', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.F2FAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.FasterPaymentsAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.FiatCurrency', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Filter', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.GetDataResponse', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.GetInventoryRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.GetInventoryResponse', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.GetPeersRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.GetPeersResponse', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.GetUpdatedDataRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.HalCashAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.IfscBasedAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.IfscBasedAccountPayload.MessageCase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.IgnoredMailboxMap', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.ImpsAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.InitMultisigRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.InitTradeRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.InputsForDepositTxRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.InputsForDepositTxResponse', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.InteracETransferAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.JapanBankAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MailboxItem', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MailboxMessageList', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MailboxStoragePayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MapValue', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MarketAlertFilter', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MediationDisputeList', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MediationResultState', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Mediator', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MockMailboxPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MockPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MoneroNodeSettings', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MoneseAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MoneyBeamAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.MoneyGramAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.NationalBankAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.NavigationPath', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.NeftAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.NequiAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.NetworkEnvelope', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.NetworkEnvelope.MessageCase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.NodeAddress', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.OKPayAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Offer', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Offer.State', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.OfferAvailabilityRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.OfferAvailabilityResponse', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.OfferDirection', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.OfferPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.OpenOffer', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.OpenOffer.State', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaxumAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentAccount', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentAccountFilter', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentAccountForm', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentAccountForm.FormId', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentAccountFormField', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentAccountFormField.Component', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentAccountFormField.FieldId', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentAccountList', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentAccountPayload.MessageCase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentMethod', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentReceivedMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaymentSentMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PayseraAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PaytmAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Peer', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PeerList', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PerfectMoneyAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PersistableEnvelope', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PersistableEnvelope.MessageCase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PersistableNetworkPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PersistableNetworkPayload.MessageCase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PersistedEntryMap', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Ping', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PixAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Pong', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PopmoneyAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PreferencesPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PreliminaryGetDataRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PriceAlertFilter', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PrivateNotificationMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PrivateNotificationPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.ProcessModel', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PromptPayAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.ProtectedStorageEntry', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.PubKeyRing', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.RawTransactionInput', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.RefreshOfferMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.RefreshTradeStateRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.RefundAgent', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.RefundDisputeList', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.RefundResultState', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Region', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.RemoveDataMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.RemoveMailboxDataMessage', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.RemovedPayloadsMap', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.RevolutAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.RtgsAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SameBankAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SatispayAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SealedAndSigned', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SellerAsMakerTrade', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SellerAsTakerTrade', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SepaAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SepaInstantAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SequenceNumberEntry', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SequenceNumberMap', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SignContractRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SignContractResponse', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SignOfferRequest', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SignOfferResponse', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SignedOffer', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SignedOfferList', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SignedWitness', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SignedWitness.VerificationMethod', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SignedWitnessStore', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SpecificBanksAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.StorageEntryWrapper', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.StorageEntryWrapper.MessageCase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.StoragePayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.StoragePayload.MessageCase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.StrikeAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SupportType', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SwiftAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.SwishAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.TikkieAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Tradable', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Tradable.MessageCase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.TradableList', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Trade', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Trade.DisputeState', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Trade.PayoutState', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Trade.Phase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Trade.State', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.Trade.TradePeriodState', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.TradeCurrency', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.TradeCurrency.MessageCase', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.TradePeer', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.TradeStatistics2', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.TradeStatistics2Store', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.TradeStatistics3', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.TradeStatistics3Store', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.TransferwiseAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.UpholdAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.UpiAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.UserPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.VenmoAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.VerseAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.WeChatPayAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.WesternUnionAccountPayload', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.XmrAddressEntry', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.XmrAddressEntry.Context', null, global);
|
|
goog.exportSymbol('proto.io.bisq.protobuffer.XmrAddressEntryList', 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.NetworkEnvelope = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, 500, null, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.NetworkEnvelope, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.displayName = 'proto.io.bisq.protobuffer.NetworkEnvelope';
|
|
}
|
|
/**
|
|
* 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.BundleOfEnvelopes = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.BundleOfEnvelopes.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.BundleOfEnvelopes, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.displayName = 'proto.io.bisq.protobuffer.BundleOfEnvelopes';
|
|
}
|
|
/**
|
|
* 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.PreliminaryGetDataRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.PreliminaryGetDataRequest.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PreliminaryGetDataRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.displayName = 'proto.io.bisq.protobuffer.PreliminaryGetDataRequest';
|
|
}
|
|
/**
|
|
* 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.GetDataResponse = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.GetDataResponse.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.GetDataResponse, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.displayName = 'proto.io.bisq.protobuffer.GetDataResponse';
|
|
}
|
|
/**
|
|
* 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.GetUpdatedDataRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.GetUpdatedDataRequest.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.GetUpdatedDataRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.displayName = 'proto.io.bisq.protobuffer.GetUpdatedDataRequest';
|
|
}
|
|
/**
|
|
* 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.GetPeersRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.GetPeersRequest.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.GetPeersRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.displayName = 'proto.io.bisq.protobuffer.GetPeersRequest';
|
|
}
|
|
/**
|
|
* 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.GetPeersResponse = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.GetPeersResponse.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.GetPeersResponse, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.displayName = 'proto.io.bisq.protobuffer.GetPeersResponse';
|
|
}
|
|
/**
|
|
* 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.Ping = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Ping, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Ping.displayName = 'proto.io.bisq.protobuffer.Ping';
|
|
}
|
|
/**
|
|
* 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.Pong = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Pong, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Pong.displayName = 'proto.io.bisq.protobuffer.Pong';
|
|
}
|
|
/**
|
|
* 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.GetInventoryRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.GetInventoryRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryRequest.displayName = 'proto.io.bisq.protobuffer.GetInventoryRequest';
|
|
}
|
|
/**
|
|
* 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.GetInventoryResponse = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.GetInventoryResponse, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryResponse.displayName = 'proto.io.bisq.protobuffer.GetInventoryResponse';
|
|
}
|
|
/**
|
|
* 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.SignOfferRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.SignOfferRequest.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SignOfferRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.displayName = 'proto.io.bisq.protobuffer.SignOfferRequest';
|
|
}
|
|
/**
|
|
* 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.SignOfferResponse = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SignOfferResponse, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.displayName = 'proto.io.bisq.protobuffer.SignOfferResponse';
|
|
}
|
|
/**
|
|
* 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.OfferAvailabilityRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.OfferAvailabilityRequest.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.OfferAvailabilityRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.displayName = 'proto.io.bisq.protobuffer.OfferAvailabilityRequest';
|
|
}
|
|
/**
|
|
* 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.OfferAvailabilityResponse = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.OfferAvailabilityResponse.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.OfferAvailabilityResponse, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.displayName = 'proto.io.bisq.protobuffer.OfferAvailabilityResponse';
|
|
}
|
|
/**
|
|
* 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.RefreshOfferMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.RefreshOfferMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.displayName = 'proto.io.bisq.protobuffer.RefreshOfferMessage';
|
|
}
|
|
/**
|
|
* 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.AddDataMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AddDataMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AddDataMessage.displayName = 'proto.io.bisq.protobuffer.AddDataMessage';
|
|
}
|
|
/**
|
|
* 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.RemoveDataMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.RemoveDataMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.displayName = 'proto.io.bisq.protobuffer.RemoveDataMessage';
|
|
}
|
|
/**
|
|
* 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.RemoveMailboxDataMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.RemoveMailboxDataMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.displayName = 'proto.io.bisq.protobuffer.RemoveMailboxDataMessage';
|
|
}
|
|
/**
|
|
* 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.AddPersistableNetworkPayloadMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.displayName = 'proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage';
|
|
}
|
|
/**
|
|
* 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.CloseConnectionMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.CloseConnectionMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.CloseConnectionMessage.displayName = 'proto.io.bisq.protobuffer.CloseConnectionMessage';
|
|
}
|
|
/**
|
|
* 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.AckMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AckMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.displayName = 'proto.io.bisq.protobuffer.AckMessage';
|
|
}
|
|
/**
|
|
* 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.PrefixedSealedAndSignedMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.displayName = 'proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage';
|
|
}
|
|
/**
|
|
* 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.InputsForDepositTxRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.InputsForDepositTxRequest.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.InputsForDepositTxRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.displayName = 'proto.io.bisq.protobuffer.InputsForDepositTxRequest';
|
|
}
|
|
/**
|
|
* 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.InputsForDepositTxResponse = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.InputsForDepositTxResponse.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.InputsForDepositTxResponse, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.displayName = 'proto.io.bisq.protobuffer.InputsForDepositTxResponse';
|
|
}
|
|
/**
|
|
* 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.InitTradeRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.InitTradeRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.displayName = 'proto.io.bisq.protobuffer.InitTradeRequest';
|
|
}
|
|
/**
|
|
* 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.InitMultisigRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.InitMultisigRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.displayName = 'proto.io.bisq.protobuffer.InitMultisigRequest';
|
|
}
|
|
/**
|
|
* 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.SignContractRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SignContractRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.displayName = 'proto.io.bisq.protobuffer.SignContractRequest';
|
|
}
|
|
/**
|
|
* 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.SignContractResponse = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SignContractResponse, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.displayName = 'proto.io.bisq.protobuffer.SignContractResponse';
|
|
}
|
|
/**
|
|
* 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.DepositRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DepositRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.displayName = 'proto.io.bisq.protobuffer.DepositRequest';
|
|
}
|
|
/**
|
|
* 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.DepositResponse = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DepositResponse, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.displayName = 'proto.io.bisq.protobuffer.DepositResponse';
|
|
}
|
|
/**
|
|
* 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.DepositsConfirmedMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DepositsConfirmedMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.displayName = 'proto.io.bisq.protobuffer.DepositsConfirmedMessage';
|
|
}
|
|
/**
|
|
* 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.DelayedPayoutTxSignatureRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.displayName = 'proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest';
|
|
}
|
|
/**
|
|
* 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.DelayedPayoutTxSignatureResponse = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.displayName = 'proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse';
|
|
}
|
|
/**
|
|
* 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.DepositTxAndDelayedPayoutTxMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.displayName = 'proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage';
|
|
}
|
|
/**
|
|
* 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.DepositTxMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DepositTxMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.displayName = 'proto.io.bisq.protobuffer.DepositTxMessage';
|
|
}
|
|
/**
|
|
* 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.PeerPublishedDelayedPayoutTxMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.displayName = 'proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage';
|
|
}
|
|
/**
|
|
* 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.PaymentSentMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PaymentSentMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.displayName = 'proto.io.bisq.protobuffer.PaymentSentMessage';
|
|
}
|
|
/**
|
|
* 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.PaymentReceivedMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PaymentReceivedMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.displayName = 'proto.io.bisq.protobuffer.PaymentReceivedMessage';
|
|
}
|
|
/**
|
|
* 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.MediatedPayoutTxPublishedMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.displayName = 'proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage';
|
|
}
|
|
/**
|
|
* 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.MediatedPayoutTxSignatureMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.displayName = 'proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage';
|
|
}
|
|
/**
|
|
* 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.RefreshTradeStateRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.RefreshTradeStateRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.displayName = 'proto.io.bisq.protobuffer.RefreshTradeStateRequest';
|
|
}
|
|
/**
|
|
* 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.ChatMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.ChatMessage.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.ChatMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.displayName = 'proto.io.bisq.protobuffer.ChatMessage';
|
|
}
|
|
/**
|
|
* 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.DisputeOpenedMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DisputeOpenedMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.displayName = 'proto.io.bisq.protobuffer.DisputeOpenedMessage';
|
|
}
|
|
/**
|
|
* 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.DisputeClosedMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DisputeClosedMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.displayName = 'proto.io.bisq.protobuffer.DisputeClosedMessage';
|
|
}
|
|
/**
|
|
* 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.PrivateNotificationMessage = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PrivateNotificationMessage, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.displayName = 'proto.io.bisq.protobuffer.PrivateNotificationMessage';
|
|
}
|
|
/**
|
|
* 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.NodeAddress = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.NodeAddress, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.NodeAddress.displayName = 'proto.io.bisq.protobuffer.NodeAddress';
|
|
}
|
|
/**
|
|
* 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.Peer = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.Peer.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Peer, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.displayName = 'proto.io.bisq.protobuffer.Peer';
|
|
}
|
|
/**
|
|
* 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.PubKeyRing = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PubKeyRing, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.displayName = 'proto.io.bisq.protobuffer.PubKeyRing';
|
|
}
|
|
/**
|
|
* 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.SealedAndSigned = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SealedAndSigned, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.displayName = 'proto.io.bisq.protobuffer.SealedAndSigned';
|
|
}
|
|
/**
|
|
* 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.StoragePayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.bisq.protobuffer.StoragePayload.oneofGroups_);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.StoragePayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.displayName = 'proto.io.bisq.protobuffer.StoragePayload';
|
|
}
|
|
/**
|
|
* 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.PersistableNetworkPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.bisq.protobuffer.PersistableNetworkPayload.oneofGroups_);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PersistableNetworkPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.displayName = 'proto.io.bisq.protobuffer.PersistableNetworkPayload';
|
|
}
|
|
/**
|
|
* 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.ProtectedStorageEntry = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.ProtectedStorageEntry, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.displayName = 'proto.io.bisq.protobuffer.ProtectedStorageEntry';
|
|
}
|
|
/**
|
|
* 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.StorageEntryWrapper = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.bisq.protobuffer.StorageEntryWrapper.oneofGroups_);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.StorageEntryWrapper, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.displayName = 'proto.io.bisq.protobuffer.StorageEntryWrapper';
|
|
}
|
|
/**
|
|
* 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.ProtectedMailboxStorageEntry = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.displayName = 'proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry';
|
|
}
|
|
/**
|
|
* 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.DataAndSeqNrPair = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DataAndSeqNrPair, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.displayName = 'proto.io.bisq.protobuffer.DataAndSeqNrPair';
|
|
}
|
|
/**
|
|
* 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.MailboxMessageList = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.MailboxMessageList.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MailboxMessageList, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxMessageList.displayName = 'proto.io.bisq.protobuffer.MailboxMessageList';
|
|
}
|
|
/**
|
|
* 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.RemovedPayloadsMap = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.RemovedPayloadsMap, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.RemovedPayloadsMap.displayName = 'proto.io.bisq.protobuffer.RemovedPayloadsMap';
|
|
}
|
|
/**
|
|
* 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.IgnoredMailboxMap = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.IgnoredMailboxMap, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.IgnoredMailboxMap.displayName = 'proto.io.bisq.protobuffer.IgnoredMailboxMap';
|
|
}
|
|
/**
|
|
* 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.MailboxItem = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MailboxItem, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.displayName = 'proto.io.bisq.protobuffer.MailboxItem';
|
|
}
|
|
/**
|
|
* 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.DecryptedMessageWithPubKey = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DecryptedMessageWithPubKey, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.displayName = 'proto.io.bisq.protobuffer.DecryptedMessageWithPubKey';
|
|
}
|
|
/**
|
|
* 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.PrivateNotificationPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PrivateNotificationPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.displayName = 'proto.io.bisq.protobuffer.PrivateNotificationPayload';
|
|
}
|
|
/**
|
|
* 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.PaymentAccountFilter = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PaymentAccountFilter, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.displayName = 'proto.io.bisq.protobuffer.PaymentAccountFilter';
|
|
}
|
|
/**
|
|
* 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.Alert = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Alert, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.displayName = 'proto.io.bisq.protobuffer.Alert';
|
|
}
|
|
/**
|
|
* 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.Arbitrator = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.Arbitrator.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Arbitrator, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.displayName = 'proto.io.bisq.protobuffer.Arbitrator';
|
|
}
|
|
/**
|
|
* 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.Mediator = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.Mediator.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Mediator, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.displayName = 'proto.io.bisq.protobuffer.Mediator';
|
|
}
|
|
/**
|
|
* 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.RefundAgent = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.RefundAgent.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.RefundAgent, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.displayName = 'proto.io.bisq.protobuffer.RefundAgent';
|
|
}
|
|
/**
|
|
* 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.Filter = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.Filter.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Filter, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.displayName = 'proto.io.bisq.protobuffer.Filter';
|
|
}
|
|
/**
|
|
* 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.TradeStatistics2 = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.TradeStatistics2, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.displayName = 'proto.io.bisq.protobuffer.TradeStatistics2';
|
|
}
|
|
/**
|
|
* 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.TradeStatistics3 = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.TradeStatistics3, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.displayName = 'proto.io.bisq.protobuffer.TradeStatistics3';
|
|
}
|
|
/**
|
|
* 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.MailboxStoragePayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MailboxStoragePayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.displayName = 'proto.io.bisq.protobuffer.MailboxStoragePayload';
|
|
}
|
|
/**
|
|
* 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.OfferPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, 500, proto.io.bisq.protobuffer.OfferPayload.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.OfferPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.displayName = 'proto.io.bisq.protobuffer.OfferPayload';
|
|
}
|
|
/**
|
|
* 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.AccountAgeWitness = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AccountAgeWitness, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.displayName = 'proto.io.bisq.protobuffer.AccountAgeWitness';
|
|
}
|
|
/**
|
|
* 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.SignedWitness = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SignedWitness, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.displayName = 'proto.io.bisq.protobuffer.SignedWitness';
|
|
}
|
|
/**
|
|
* 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.Dispute = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.Dispute.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Dispute, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.displayName = 'proto.io.bisq.protobuffer.Dispute';
|
|
}
|
|
/**
|
|
* 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.Attachment = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Attachment, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.displayName = 'proto.io.bisq.protobuffer.Attachment';
|
|
}
|
|
/**
|
|
* 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.DisputeResult = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DisputeResult, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.displayName = 'proto.io.bisq.protobuffer.DisputeResult';
|
|
}
|
|
/**
|
|
* 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.Contract = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Contract, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.displayName = 'proto.io.bisq.protobuffer.Contract';
|
|
}
|
|
/**
|
|
* 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.RawTransactionInput = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.RawTransactionInput, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.displayName = 'proto.io.bisq.protobuffer.RawTransactionInput';
|
|
}
|
|
/**
|
|
* 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.PaymentAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PaymentAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.displayName = 'proto.io.bisq.protobuffer.PaymentAccountPayload';
|
|
}
|
|
/**
|
|
* 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.AliPayAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AliPayAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AliPayAccountPayload.displayName = 'proto.io.bisq.protobuffer.AliPayAccountPayload';
|
|
}
|
|
/**
|
|
* 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.WeChatPayAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.WeChatPayAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.WeChatPayAccountPayload.displayName = 'proto.io.bisq.protobuffer.WeChatPayAccountPayload';
|
|
}
|
|
/**
|
|
* 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.ChaseQuickPayAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.displayName = 'proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload';
|
|
}
|
|
/**
|
|
* 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.ClearXchangeAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.ClearXchangeAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.displayName = 'proto.io.bisq.protobuffer.ClearXchangeAccountPayload';
|
|
}
|
|
/**
|
|
* 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.CountryBasedPaymentAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.repeatedFields_, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.displayName = 'proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload';
|
|
}
|
|
/**
|
|
* 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.BankAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.bisq.protobuffer.BankAccountPayload.oneofGroups_);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.BankAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.displayName = 'proto.io.bisq.protobuffer.BankAccountPayload';
|
|
}
|
|
/**
|
|
* 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.AchTransferAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AchTransferAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AchTransferAccountPayload.displayName = 'proto.io.bisq.protobuffer.AchTransferAccountPayload';
|
|
}
|
|
/**
|
|
* 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.DomesticWireTransferAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.displayName = 'proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload';
|
|
}
|
|
/**
|
|
* 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.NationalBankAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.NationalBankAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.NationalBankAccountPayload.displayName = 'proto.io.bisq.protobuffer.NationalBankAccountPayload';
|
|
}
|
|
/**
|
|
* 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.SameBankAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SameBankAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SameBankAccountPayload.displayName = 'proto.io.bisq.protobuffer.SameBankAccountPayload';
|
|
}
|
|
/**
|
|
* 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.JapanBankAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.JapanBankAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.displayName = 'proto.io.bisq.protobuffer.JapanBankAccountPayload';
|
|
}
|
|
/**
|
|
* 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.AustraliaPayidPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AustraliaPayidPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.displayName = 'proto.io.bisq.protobuffer.AustraliaPayidPayload';
|
|
}
|
|
/**
|
|
* 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.SpecificBanksAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.SpecificBanksAccountPayload.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SpecificBanksAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.displayName = 'proto.io.bisq.protobuffer.SpecificBanksAccountPayload';
|
|
}
|
|
/**
|
|
* 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.CashDepositAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.CashDepositAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.displayName = 'proto.io.bisq.protobuffer.CashDepositAccountPayload';
|
|
}
|
|
/**
|
|
* 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.MoneyGramAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MoneyGramAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.displayName = 'proto.io.bisq.protobuffer.MoneyGramAccountPayload';
|
|
}
|
|
/**
|
|
* 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.HalCashAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.HalCashAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.HalCashAccountPayload.displayName = 'proto.io.bisq.protobuffer.HalCashAccountPayload';
|
|
}
|
|
/**
|
|
* 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.WesternUnionAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.WesternUnionAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.displayName = 'proto.io.bisq.protobuffer.WesternUnionAccountPayload';
|
|
}
|
|
/**
|
|
* 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.AmazonGiftCardAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.displayName = 'proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload';
|
|
}
|
|
/**
|
|
* 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.SepaAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SepaAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.displayName = 'proto.io.bisq.protobuffer.SepaAccountPayload';
|
|
}
|
|
/**
|
|
* 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.SepaInstantAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SepaInstantAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.displayName = 'proto.io.bisq.protobuffer.SepaInstantAccountPayload';
|
|
}
|
|
/**
|
|
* 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.CryptoCurrencyAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.displayName = 'proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload';
|
|
}
|
|
/**
|
|
* 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.InstantCryptoCurrencyAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.displayName = 'proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload';
|
|
}
|
|
/**
|
|
* 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.FasterPaymentsAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.FasterPaymentsAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.displayName = 'proto.io.bisq.protobuffer.FasterPaymentsAccountPayload';
|
|
}
|
|
/**
|
|
* 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.InteracETransferAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.InteracETransferAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.displayName = 'proto.io.bisq.protobuffer.InteracETransferAccountPayload';
|
|
}
|
|
/**
|
|
* 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.OKPayAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.OKPayAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.OKPayAccountPayload.displayName = 'proto.io.bisq.protobuffer.OKPayAccountPayload';
|
|
}
|
|
/**
|
|
* 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.UpholdAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.UpholdAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.displayName = 'proto.io.bisq.protobuffer.UpholdAccountPayload';
|
|
}
|
|
/**
|
|
* 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.CashAppAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.CashAppAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.CashAppAccountPayload.displayName = 'proto.io.bisq.protobuffer.CashAppAccountPayload';
|
|
}
|
|
/**
|
|
* 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.MoneyBeamAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MoneyBeamAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyBeamAccountPayload.displayName = 'proto.io.bisq.protobuffer.MoneyBeamAccountPayload';
|
|
}
|
|
/**
|
|
* 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.VenmoAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.VenmoAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.displayName = 'proto.io.bisq.protobuffer.VenmoAccountPayload';
|
|
}
|
|
/**
|
|
* 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.PopmoneyAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PopmoneyAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.displayName = 'proto.io.bisq.protobuffer.PopmoneyAccountPayload';
|
|
}
|
|
/**
|
|
* 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.RevolutAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.RevolutAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.displayName = 'proto.io.bisq.protobuffer.RevolutAccountPayload';
|
|
}
|
|
/**
|
|
* 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.PerfectMoneyAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PerfectMoneyAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.displayName = 'proto.io.bisq.protobuffer.PerfectMoneyAccountPayload';
|
|
}
|
|
/**
|
|
* 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.SwishAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SwishAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.displayName = 'proto.io.bisq.protobuffer.SwishAccountPayload';
|
|
}
|
|
/**
|
|
* 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.USPostalMoneyOrderAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.displayName = 'proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload';
|
|
}
|
|
/**
|
|
* 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.F2FAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.F2FAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.displayName = 'proto.io.bisq.protobuffer.F2FAccountPayload';
|
|
}
|
|
/**
|
|
* 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.IfscBasedAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.bisq.protobuffer.IfscBasedAccountPayload.oneofGroups_);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.IfscBasedAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.displayName = 'proto.io.bisq.protobuffer.IfscBasedAccountPayload';
|
|
}
|
|
/**
|
|
* 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.NeftAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.NeftAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.NeftAccountPayload.displayName = 'proto.io.bisq.protobuffer.NeftAccountPayload';
|
|
}
|
|
/**
|
|
* 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.RtgsAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.RtgsAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.RtgsAccountPayload.displayName = 'proto.io.bisq.protobuffer.RtgsAccountPayload';
|
|
}
|
|
/**
|
|
* 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.ImpsAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.ImpsAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.ImpsAccountPayload.displayName = 'proto.io.bisq.protobuffer.ImpsAccountPayload';
|
|
}
|
|
/**
|
|
* 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.UpiAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.UpiAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.UpiAccountPayload.displayName = 'proto.io.bisq.protobuffer.UpiAccountPayload';
|
|
}
|
|
/**
|
|
* 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.PaytmAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PaytmAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PaytmAccountPayload.displayName = 'proto.io.bisq.protobuffer.PaytmAccountPayload';
|
|
}
|
|
/**
|
|
* 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.CashByMailAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.CashByMailAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.displayName = 'proto.io.bisq.protobuffer.CashByMailAccountPayload';
|
|
}
|
|
/**
|
|
* 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.PromptPayAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PromptPayAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PromptPayAccountPayload.displayName = 'proto.io.bisq.protobuffer.PromptPayAccountPayload';
|
|
}
|
|
/**
|
|
* 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.AdvancedCashAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AdvancedCashAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AdvancedCashAccountPayload.displayName = 'proto.io.bisq.protobuffer.AdvancedCashAccountPayload';
|
|
}
|
|
/**
|
|
* 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.TransferwiseAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.TransferwiseAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseAccountPayload.displayName = 'proto.io.bisq.protobuffer.TransferwiseAccountPayload';
|
|
}
|
|
/**
|
|
* 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.TransferwiseUsdAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.displayName = 'proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload';
|
|
}
|
|
/**
|
|
* 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.PayseraAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PayseraAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PayseraAccountPayload.displayName = 'proto.io.bisq.protobuffer.PayseraAccountPayload';
|
|
}
|
|
/**
|
|
* 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.PaxumAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PaxumAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PaxumAccountPayload.displayName = 'proto.io.bisq.protobuffer.PaxumAccountPayload';
|
|
}
|
|
/**
|
|
* 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.CapitualAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.CapitualAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.CapitualAccountPayload.displayName = 'proto.io.bisq.protobuffer.CapitualAccountPayload';
|
|
}
|
|
/**
|
|
* 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.CelPayAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.CelPayAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.CelPayAccountPayload.displayName = 'proto.io.bisq.protobuffer.CelPayAccountPayload';
|
|
}
|
|
/**
|
|
* 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.NequiAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.NequiAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.NequiAccountPayload.displayName = 'proto.io.bisq.protobuffer.NequiAccountPayload';
|
|
}
|
|
/**
|
|
* 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.BizumAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.BizumAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.BizumAccountPayload.displayName = 'proto.io.bisq.protobuffer.BizumAccountPayload';
|
|
}
|
|
/**
|
|
* 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.PixAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PixAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PixAccountPayload.displayName = 'proto.io.bisq.protobuffer.PixAccountPayload';
|
|
}
|
|
/**
|
|
* 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.MoneseAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MoneseAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.displayName = 'proto.io.bisq.protobuffer.MoneseAccountPayload';
|
|
}
|
|
/**
|
|
* 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.SatispayAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SatispayAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.displayName = 'proto.io.bisq.protobuffer.SatispayAccountPayload';
|
|
}
|
|
/**
|
|
* 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.StrikeAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.StrikeAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.StrikeAccountPayload.displayName = 'proto.io.bisq.protobuffer.StrikeAccountPayload';
|
|
}
|
|
/**
|
|
* 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.TikkieAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.TikkieAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.TikkieAccountPayload.displayName = 'proto.io.bisq.protobuffer.TikkieAccountPayload';
|
|
}
|
|
/**
|
|
* 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.VerseAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.VerseAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.VerseAccountPayload.displayName = 'proto.io.bisq.protobuffer.VerseAccountPayload';
|
|
}
|
|
/**
|
|
* 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.SwiftAccountPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SwiftAccountPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.displayName = 'proto.io.bisq.protobuffer.SwiftAccountPayload';
|
|
}
|
|
/**
|
|
* 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.PersistableEnvelope = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, 500, null, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PersistableEnvelope, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.displayName = 'proto.io.bisq.protobuffer.PersistableEnvelope';
|
|
}
|
|
/**
|
|
* 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.SequenceNumberMap = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.SequenceNumberMap.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SequenceNumberMap, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.displayName = 'proto.io.bisq.protobuffer.SequenceNumberMap';
|
|
}
|
|
/**
|
|
* 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.SequenceNumberEntry = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SequenceNumberEntry, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.displayName = 'proto.io.bisq.protobuffer.SequenceNumberEntry';
|
|
}
|
|
/**
|
|
* 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.ByteArray = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.ByteArray, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.ByteArray.displayName = 'proto.io.bisq.protobuffer.ByteArray';
|
|
}
|
|
/**
|
|
* 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.MapValue = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MapValue, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MapValue.displayName = 'proto.io.bisq.protobuffer.MapValue';
|
|
}
|
|
/**
|
|
* 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.PersistedEntryMap = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PersistedEntryMap, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistedEntryMap.displayName = 'proto.io.bisq.protobuffer.PersistedEntryMap';
|
|
}
|
|
/**
|
|
* 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.AccountAgeWitnessStore = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.AccountAgeWitnessStore.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AccountAgeWitnessStore, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.displayName = 'proto.io.bisq.protobuffer.AccountAgeWitnessStore';
|
|
}
|
|
/**
|
|
* 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.SignedWitnessStore = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.SignedWitnessStore.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SignedWitnessStore, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.displayName = 'proto.io.bisq.protobuffer.SignedWitnessStore';
|
|
}
|
|
/**
|
|
* 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.TradeStatistics2Store = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.TradeStatistics2Store.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.TradeStatistics2Store, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.displayName = 'proto.io.bisq.protobuffer.TradeStatistics2Store';
|
|
}
|
|
/**
|
|
* 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.TradeStatistics3Store = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.TradeStatistics3Store.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.TradeStatistics3Store, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.displayName = 'proto.io.bisq.protobuffer.TradeStatistics3Store';
|
|
}
|
|
/**
|
|
* 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.PeerList = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.PeerList.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PeerList, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerList.displayName = 'proto.io.bisq.protobuffer.PeerList';
|
|
}
|
|
/**
|
|
* 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.AddressEntryList = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.AddressEntryList.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AddressEntryList, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntryList.displayName = 'proto.io.bisq.protobuffer.AddressEntryList';
|
|
}
|
|
/**
|
|
* 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.AddressEntry = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AddressEntry, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.displayName = 'proto.io.bisq.protobuffer.AddressEntry';
|
|
}
|
|
/**
|
|
* 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.XmrAddressEntryList = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.XmrAddressEntryList.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.XmrAddressEntryList, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.displayName = 'proto.io.bisq.protobuffer.XmrAddressEntryList';
|
|
}
|
|
/**
|
|
* 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.XmrAddressEntry = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.XmrAddressEntry, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.displayName = 'proto.io.bisq.protobuffer.XmrAddressEntry';
|
|
}
|
|
/**
|
|
* 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.NavigationPath = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.NavigationPath.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.NavigationPath, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.NavigationPath.displayName = 'proto.io.bisq.protobuffer.NavigationPath';
|
|
}
|
|
/**
|
|
* 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.PaymentAccountList = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.PaymentAccountList.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PaymentAccountList, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountList.displayName = 'proto.io.bisq.protobuffer.PaymentAccountList';
|
|
}
|
|
/**
|
|
* 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.TradableList = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.TradableList.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.TradableList, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.TradableList.displayName = 'proto.io.bisq.protobuffer.TradableList';
|
|
}
|
|
/**
|
|
* 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.Offer = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Offer, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Offer.displayName = 'proto.io.bisq.protobuffer.Offer';
|
|
}
|
|
/**
|
|
* 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.SignedOfferList = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.SignedOfferList.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SignedOfferList, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOfferList.displayName = 'proto.io.bisq.protobuffer.SignedOfferList';
|
|
}
|
|
/**
|
|
* 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.SignedOffer = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.SignedOffer.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SignedOffer, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.displayName = 'proto.io.bisq.protobuffer.SignedOffer';
|
|
}
|
|
/**
|
|
* 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.OpenOffer = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.OpenOffer.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.OpenOffer, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.displayName = 'proto.io.bisq.protobuffer.OpenOffer';
|
|
}
|
|
/**
|
|
* 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.Tradable = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, 500, null, proto.io.bisq.protobuffer.Tradable.oneofGroups_);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Tradable, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.displayName = 'proto.io.bisq.protobuffer.Tradable';
|
|
}
|
|
/**
|
|
* 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.Trade = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.Trade.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Trade, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.displayName = 'proto.io.bisq.protobuffer.Trade';
|
|
}
|
|
/**
|
|
* 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.BuyerAsMakerTrade = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.BuyerAsMakerTrade, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsMakerTrade.displayName = 'proto.io.bisq.protobuffer.BuyerAsMakerTrade';
|
|
}
|
|
/**
|
|
* 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.BuyerAsTakerTrade = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.BuyerAsTakerTrade, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsTakerTrade.displayName = 'proto.io.bisq.protobuffer.BuyerAsTakerTrade';
|
|
}
|
|
/**
|
|
* 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.SellerAsMakerTrade = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SellerAsMakerTrade, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsMakerTrade.displayName = 'proto.io.bisq.protobuffer.SellerAsMakerTrade';
|
|
}
|
|
/**
|
|
* 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.SellerAsTakerTrade = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.SellerAsTakerTrade, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsTakerTrade.displayName = 'proto.io.bisq.protobuffer.SellerAsTakerTrade';
|
|
}
|
|
/**
|
|
* 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.ArbitratorTrade = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.ArbitratorTrade, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitratorTrade.displayName = 'proto.io.bisq.protobuffer.ArbitratorTrade';
|
|
}
|
|
/**
|
|
* 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.ProcessModel = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, 500, proto.io.bisq.protobuffer.ProcessModel.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.ProcessModel, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.displayName = 'proto.io.bisq.protobuffer.ProcessModel';
|
|
}
|
|
/**
|
|
* 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.TradePeer = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, 500, proto.io.bisq.protobuffer.TradePeer.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.TradePeer, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.displayName = 'proto.io.bisq.protobuffer.TradePeer';
|
|
}
|
|
/**
|
|
* 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.EncryptedConnection = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.EncryptedConnection, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.displayName = 'proto.io.bisq.protobuffer.EncryptedConnection';
|
|
}
|
|
/**
|
|
* 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.EncryptedConnectionList = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.EncryptedConnectionList.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.EncryptedConnectionList, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.displayName = 'proto.io.bisq.protobuffer.EncryptedConnectionList';
|
|
}
|
|
/**
|
|
* 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.ArbitrationDisputeList = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.ArbitrationDisputeList.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.ArbitrationDisputeList, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.displayName = 'proto.io.bisq.protobuffer.ArbitrationDisputeList';
|
|
}
|
|
/**
|
|
* 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.MediationDisputeList = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.MediationDisputeList.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MediationDisputeList, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MediationDisputeList.displayName = 'proto.io.bisq.protobuffer.MediationDisputeList';
|
|
}
|
|
/**
|
|
* 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.RefundDisputeList = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.RefundDisputeList.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.RefundDisputeList, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundDisputeList.displayName = 'proto.io.bisq.protobuffer.RefundDisputeList';
|
|
}
|
|
/**
|
|
* 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.PreferencesPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.PreferencesPayload.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PreferencesPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.displayName = 'proto.io.bisq.protobuffer.PreferencesPayload';
|
|
}
|
|
/**
|
|
* 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.AutoConfirmSettings = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.AutoConfirmSettings.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.AutoConfirmSettings, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.displayName = 'proto.io.bisq.protobuffer.AutoConfirmSettings';
|
|
}
|
|
/**
|
|
* 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.MoneroNodeSettings = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.MoneroNodeSettings.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MoneroNodeSettings, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.displayName = 'proto.io.bisq.protobuffer.MoneroNodeSettings';
|
|
}
|
|
/**
|
|
* 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.UserPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.UserPayload.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.UserPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.displayName = 'proto.io.bisq.protobuffer.UserPayload';
|
|
}
|
|
/**
|
|
* 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.BlockChainExplorer = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.BlockChainExplorer, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.displayName = 'proto.io.bisq.protobuffer.BlockChainExplorer';
|
|
}
|
|
/**
|
|
* 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.PaymentAccount = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.PaymentAccount.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PaymentAccount, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.displayName = 'proto.io.bisq.protobuffer.PaymentAccount';
|
|
}
|
|
/**
|
|
* 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.PaymentMethod = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.PaymentMethod.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PaymentMethod, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.displayName = 'proto.io.bisq.protobuffer.PaymentMethod';
|
|
}
|
|
/**
|
|
* 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.Currency = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Currency, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Currency.displayName = 'proto.io.bisq.protobuffer.Currency';
|
|
}
|
|
/**
|
|
* 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.TradeCurrency = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.bisq.protobuffer.TradeCurrency.oneofGroups_);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.TradeCurrency, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.displayName = 'proto.io.bisq.protobuffer.TradeCurrency';
|
|
}
|
|
/**
|
|
* 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.CryptoCurrency = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.CryptoCurrency, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrency.displayName = 'proto.io.bisq.protobuffer.CryptoCurrency';
|
|
}
|
|
/**
|
|
* 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.FiatCurrency = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.FiatCurrency, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.FiatCurrency.displayName = 'proto.io.bisq.protobuffer.FiatCurrency';
|
|
}
|
|
/**
|
|
* 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.Country = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Country, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.displayName = 'proto.io.bisq.protobuffer.Country';
|
|
}
|
|
/**
|
|
* 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.Region = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.Region, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.Region.displayName = 'proto.io.bisq.protobuffer.Region';
|
|
}
|
|
/**
|
|
* 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.PriceAlertFilter = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PriceAlertFilter, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.displayName = 'proto.io.bisq.protobuffer.PriceAlertFilter';
|
|
}
|
|
/**
|
|
* 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.MarketAlertFilter = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.MarketAlertFilter.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MarketAlertFilter, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.displayName = 'proto.io.bisq.protobuffer.MarketAlertFilter';
|
|
}
|
|
/**
|
|
* 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.MockMailboxPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MockMailboxPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.displayName = 'proto.io.bisq.protobuffer.MockMailboxPayload';
|
|
}
|
|
/**
|
|
* 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.MockPayload = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.MockPayload, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.MockPayload.displayName = 'proto.io.bisq.protobuffer.MockPayload';
|
|
}
|
|
/**
|
|
* 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.PaymentAccountForm = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.PaymentAccountForm.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PaymentAccountForm, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.displayName = 'proto.io.bisq.protobuffer.PaymentAccountForm';
|
|
}
|
|
/**
|
|
* 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.PaymentAccountFormField = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.PaymentAccountFormField.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.io.bisq.protobuffer.PaymentAccountFormField, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.displayName = 'proto.io.bisq.protobuffer.PaymentAccountFormField';
|
|
}
|
|
|
|
/**
|
|
* Oneof group definitions for this message. Each group defines the field
|
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
* @private {!Array<!Array<number>>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_ = [[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011]];
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.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,
|
|
DISPUTE_OPENED_MESSAGE: 20,
|
|
DISPUTE_CLOSED_MESSAGE: 21,
|
|
CHAT_MESSAGE: 22,
|
|
PRIVATE_NOTIFICATION_MESSAGE: 23,
|
|
ADD_PERSISTABLE_NETWORK_PAYLOAD_MESSAGE: 24,
|
|
ACK_MESSAGE: 25,
|
|
BUNDLE_OF_ENVELOPES: 26,
|
|
MEDIATED_PAYOUT_TX_SIGNATURE_MESSAGE: 27,
|
|
MEDIATED_PAYOUT_TX_PUBLISHED_MESSAGE: 28,
|
|
DELAYED_PAYOUT_TX_SIGNATURE_REQUEST: 29,
|
|
DELAYED_PAYOUT_TX_SIGNATURE_RESPONSE: 30,
|
|
DEPOSIT_TX_AND_DELAYED_PAYOUT_TX_MESSAGE: 31,
|
|
PEER_PUBLISHED_DELAYED_PAYOUT_TX_MESSAGE: 32,
|
|
REFRESH_TRADE_STATE_REQUEST: 33,
|
|
GET_INVENTORY_REQUEST: 35,
|
|
GET_INVENTORY_RESPONSE: 36,
|
|
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,
|
|
DEPOSITS_CONFIRMED_MESSAGE: 1009,
|
|
PAYMENT_SENT_MESSAGE: 1010,
|
|
PAYMENT_RECEIVED_MESSAGE: 1011
|
|
};
|
|
|
|
/**
|
|
* @return {proto.io.bisq.protobuffer.NetworkEnvelope.MessageCase}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getMessageCase = function() {
|
|
return /** @type {proto.io.bisq.protobuffer.NetworkEnvelope.MessageCase} */(jspb.Message.computeOneofCase(this, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0]));
|
|
};
|
|
|
|
|
|
|
|
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_<name>, 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.NetworkEnvelope.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.NetworkEnvelope.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.NetworkEnvelope} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
messageVersion: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
preliminaryGetDataRequest: (f = msg.getPreliminaryGetDataRequest()) && proto.io.bisq.protobuffer.PreliminaryGetDataRequest.toObject(includeInstance, f),
|
|
getDataResponse: (f = msg.getGetDataResponse()) && proto.io.bisq.protobuffer.GetDataResponse.toObject(includeInstance, f),
|
|
getUpdatedDataRequest: (f = msg.getGetUpdatedDataRequest()) && proto.io.bisq.protobuffer.GetUpdatedDataRequest.toObject(includeInstance, f),
|
|
getPeersRequest: (f = msg.getGetPeersRequest()) && proto.io.bisq.protobuffer.GetPeersRequest.toObject(includeInstance, f),
|
|
getPeersResponse: (f = msg.getGetPeersResponse()) && proto.io.bisq.protobuffer.GetPeersResponse.toObject(includeInstance, f),
|
|
ping: (f = msg.getPing()) && proto.io.bisq.protobuffer.Ping.toObject(includeInstance, f),
|
|
pong: (f = msg.getPong()) && proto.io.bisq.protobuffer.Pong.toObject(includeInstance, f),
|
|
offerAvailabilityRequest: (f = msg.getOfferAvailabilityRequest()) && proto.io.bisq.protobuffer.OfferAvailabilityRequest.toObject(includeInstance, f),
|
|
offerAvailabilityResponse: (f = msg.getOfferAvailabilityResponse()) && proto.io.bisq.protobuffer.OfferAvailabilityResponse.toObject(includeInstance, f),
|
|
refreshOfferMessage: (f = msg.getRefreshOfferMessage()) && proto.io.bisq.protobuffer.RefreshOfferMessage.toObject(includeInstance, f),
|
|
addDataMessage: (f = msg.getAddDataMessage()) && proto.io.bisq.protobuffer.AddDataMessage.toObject(includeInstance, f),
|
|
removeDataMessage: (f = msg.getRemoveDataMessage()) && proto.io.bisq.protobuffer.RemoveDataMessage.toObject(includeInstance, f),
|
|
removeMailboxDataMessage: (f = msg.getRemoveMailboxDataMessage()) && proto.io.bisq.protobuffer.RemoveMailboxDataMessage.toObject(includeInstance, f),
|
|
closeConnectionMessage: (f = msg.getCloseConnectionMessage()) && proto.io.bisq.protobuffer.CloseConnectionMessage.toObject(includeInstance, f),
|
|
prefixedSealedAndSignedMessage: (f = msg.getPrefixedSealedAndSignedMessage()) && proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.toObject(includeInstance, f),
|
|
inputsForDepositTxRequest: (f = msg.getInputsForDepositTxRequest()) && proto.io.bisq.protobuffer.InputsForDepositTxRequest.toObject(includeInstance, f),
|
|
inputsForDepositTxResponse: (f = msg.getInputsForDepositTxResponse()) && proto.io.bisq.protobuffer.InputsForDepositTxResponse.toObject(includeInstance, f),
|
|
depositTxMessage: (f = msg.getDepositTxMessage()) && proto.io.bisq.protobuffer.DepositTxMessage.toObject(includeInstance, f),
|
|
disputeOpenedMessage: (f = msg.getDisputeOpenedMessage()) && proto.io.bisq.protobuffer.DisputeOpenedMessage.toObject(includeInstance, f),
|
|
disputeClosedMessage: (f = msg.getDisputeClosedMessage()) && proto.io.bisq.protobuffer.DisputeClosedMessage.toObject(includeInstance, f),
|
|
chatMessage: (f = msg.getChatMessage()) && proto.io.bisq.protobuffer.ChatMessage.toObject(includeInstance, f),
|
|
privateNotificationMessage: (f = msg.getPrivateNotificationMessage()) && proto.io.bisq.protobuffer.PrivateNotificationMessage.toObject(includeInstance, f),
|
|
addPersistableNetworkPayloadMessage: (f = msg.getAddPersistableNetworkPayloadMessage()) && proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.toObject(includeInstance, f),
|
|
ackMessage: (f = msg.getAckMessage()) && proto.io.bisq.protobuffer.AckMessage.toObject(includeInstance, f),
|
|
bundleOfEnvelopes: (f = msg.getBundleOfEnvelopes()) && proto.io.bisq.protobuffer.BundleOfEnvelopes.toObject(includeInstance, f),
|
|
mediatedPayoutTxSignatureMessage: (f = msg.getMediatedPayoutTxSignatureMessage()) && proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.toObject(includeInstance, f),
|
|
mediatedPayoutTxPublishedMessage: (f = msg.getMediatedPayoutTxPublishedMessage()) && proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.toObject(includeInstance, f),
|
|
delayedPayoutTxSignatureRequest: (f = msg.getDelayedPayoutTxSignatureRequest()) && proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.toObject(includeInstance, f),
|
|
delayedPayoutTxSignatureResponse: (f = msg.getDelayedPayoutTxSignatureResponse()) && proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.toObject(includeInstance, f),
|
|
depositTxAndDelayedPayoutTxMessage: (f = msg.getDepositTxAndDelayedPayoutTxMessage()) && proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.toObject(includeInstance, f),
|
|
peerPublishedDelayedPayoutTxMessage: (f = msg.getPeerPublishedDelayedPayoutTxMessage()) && proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.toObject(includeInstance, f),
|
|
refreshTradeStateRequest: (f = msg.getRefreshTradeStateRequest()) && proto.io.bisq.protobuffer.RefreshTradeStateRequest.toObject(includeInstance, f),
|
|
getInventoryRequest: (f = msg.getGetInventoryRequest()) && proto.io.bisq.protobuffer.GetInventoryRequest.toObject(includeInstance, f),
|
|
getInventoryResponse: (f = msg.getGetInventoryResponse()) && proto.io.bisq.protobuffer.GetInventoryResponse.toObject(includeInstance, f),
|
|
signOfferRequest: (f = msg.getSignOfferRequest()) && proto.io.bisq.protobuffer.SignOfferRequest.toObject(includeInstance, f),
|
|
signOfferResponse: (f = msg.getSignOfferResponse()) && proto.io.bisq.protobuffer.SignOfferResponse.toObject(includeInstance, f),
|
|
initTradeRequest: (f = msg.getInitTradeRequest()) && proto.io.bisq.protobuffer.InitTradeRequest.toObject(includeInstance, f),
|
|
initMultisigRequest: (f = msg.getInitMultisigRequest()) && proto.io.bisq.protobuffer.InitMultisigRequest.toObject(includeInstance, f),
|
|
signContractRequest: (f = msg.getSignContractRequest()) && proto.io.bisq.protobuffer.SignContractRequest.toObject(includeInstance, f),
|
|
signContractResponse: (f = msg.getSignContractResponse()) && proto.io.bisq.protobuffer.SignContractResponse.toObject(includeInstance, f),
|
|
depositRequest: (f = msg.getDepositRequest()) && proto.io.bisq.protobuffer.DepositRequest.toObject(includeInstance, f),
|
|
depositResponse: (f = msg.getDepositResponse()) && proto.io.bisq.protobuffer.DepositResponse.toObject(includeInstance, f),
|
|
depositsConfirmedMessage: (f = msg.getDepositsConfirmedMessage()) && proto.io.bisq.protobuffer.DepositsConfirmedMessage.toObject(includeInstance, f),
|
|
paymentSentMessage: (f = msg.getPaymentSentMessage()) && proto.io.bisq.protobuffer.PaymentSentMessage.toObject(includeInstance, f),
|
|
paymentReceivedMessage: (f = msg.getPaymentReceivedMessage()) && proto.io.bisq.protobuffer.PaymentReceivedMessage.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.NetworkEnvelope}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.NetworkEnvelope;
|
|
return proto.io.bisq.protobuffer.NetworkEnvelope.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.NetworkEnvelope} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.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.setMessageVersion(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.PreliminaryGetDataRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PreliminaryGetDataRequest.deserializeBinaryFromReader);
|
|
msg.setPreliminaryGetDataRequest(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.GetDataResponse;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.GetDataResponse.deserializeBinaryFromReader);
|
|
msg.setGetDataResponse(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.GetUpdatedDataRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.GetUpdatedDataRequest.deserializeBinaryFromReader);
|
|
msg.setGetUpdatedDataRequest(value);
|
|
break;
|
|
case 5:
|
|
var value = new proto.io.bisq.protobuffer.GetPeersRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.GetPeersRequest.deserializeBinaryFromReader);
|
|
msg.setGetPeersRequest(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.GetPeersResponse;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.GetPeersResponse.deserializeBinaryFromReader);
|
|
msg.setGetPeersResponse(value);
|
|
break;
|
|
case 7:
|
|
var value = new proto.io.bisq.protobuffer.Ping;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Ping.deserializeBinaryFromReader);
|
|
msg.setPing(value);
|
|
break;
|
|
case 8:
|
|
var value = new proto.io.bisq.protobuffer.Pong;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Pong.deserializeBinaryFromReader);
|
|
msg.setPong(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.io.bisq.protobuffer.OfferAvailabilityRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.OfferAvailabilityRequest.deserializeBinaryFromReader);
|
|
msg.setOfferAvailabilityRequest(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.OfferAvailabilityResponse;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.OfferAvailabilityResponse.deserializeBinaryFromReader);
|
|
msg.setOfferAvailabilityResponse(value);
|
|
break;
|
|
case 11:
|
|
var value = new proto.io.bisq.protobuffer.RefreshOfferMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RefreshOfferMessage.deserializeBinaryFromReader);
|
|
msg.setRefreshOfferMessage(value);
|
|
break;
|
|
case 12:
|
|
var value = new proto.io.bisq.protobuffer.AddDataMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AddDataMessage.deserializeBinaryFromReader);
|
|
msg.setAddDataMessage(value);
|
|
break;
|
|
case 13:
|
|
var value = new proto.io.bisq.protobuffer.RemoveDataMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RemoveDataMessage.deserializeBinaryFromReader);
|
|
msg.setRemoveDataMessage(value);
|
|
break;
|
|
case 14:
|
|
var value = new proto.io.bisq.protobuffer.RemoveMailboxDataMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RemoveMailboxDataMessage.deserializeBinaryFromReader);
|
|
msg.setRemoveMailboxDataMessage(value);
|
|
break;
|
|
case 15:
|
|
var value = new proto.io.bisq.protobuffer.CloseConnectionMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.CloseConnectionMessage.deserializeBinaryFromReader);
|
|
msg.setCloseConnectionMessage(value);
|
|
break;
|
|
case 16:
|
|
var value = new proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.deserializeBinaryFromReader);
|
|
msg.setPrefixedSealedAndSignedMessage(value);
|
|
break;
|
|
case 17:
|
|
var value = new proto.io.bisq.protobuffer.InputsForDepositTxRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.InputsForDepositTxRequest.deserializeBinaryFromReader);
|
|
msg.setInputsForDepositTxRequest(value);
|
|
break;
|
|
case 18:
|
|
var value = new proto.io.bisq.protobuffer.InputsForDepositTxResponse;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.InputsForDepositTxResponse.deserializeBinaryFromReader);
|
|
msg.setInputsForDepositTxResponse(value);
|
|
break;
|
|
case 19:
|
|
var value = new proto.io.bisq.protobuffer.DepositTxMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DepositTxMessage.deserializeBinaryFromReader);
|
|
msg.setDepositTxMessage(value);
|
|
break;
|
|
case 20:
|
|
var value = new proto.io.bisq.protobuffer.DisputeOpenedMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DisputeOpenedMessage.deserializeBinaryFromReader);
|
|
msg.setDisputeOpenedMessage(value);
|
|
break;
|
|
case 21:
|
|
var value = new proto.io.bisq.protobuffer.DisputeClosedMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DisputeClosedMessage.deserializeBinaryFromReader);
|
|
msg.setDisputeClosedMessage(value);
|
|
break;
|
|
case 22:
|
|
var value = new proto.io.bisq.protobuffer.ChatMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ChatMessage.deserializeBinaryFromReader);
|
|
msg.setChatMessage(value);
|
|
break;
|
|
case 23:
|
|
var value = new proto.io.bisq.protobuffer.PrivateNotificationMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PrivateNotificationMessage.deserializeBinaryFromReader);
|
|
msg.setPrivateNotificationMessage(value);
|
|
break;
|
|
case 24:
|
|
var value = new proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.deserializeBinaryFromReader);
|
|
msg.setAddPersistableNetworkPayloadMessage(value);
|
|
break;
|
|
case 25:
|
|
var value = new proto.io.bisq.protobuffer.AckMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AckMessage.deserializeBinaryFromReader);
|
|
msg.setAckMessage(value);
|
|
break;
|
|
case 26:
|
|
var value = new proto.io.bisq.protobuffer.BundleOfEnvelopes;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.BundleOfEnvelopes.deserializeBinaryFromReader);
|
|
msg.setBundleOfEnvelopes(value);
|
|
break;
|
|
case 27:
|
|
var value = new proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.deserializeBinaryFromReader);
|
|
msg.setMediatedPayoutTxSignatureMessage(value);
|
|
break;
|
|
case 28:
|
|
var value = new proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.deserializeBinaryFromReader);
|
|
msg.setMediatedPayoutTxPublishedMessage(value);
|
|
break;
|
|
case 29:
|
|
var value = new proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.deserializeBinaryFromReader);
|
|
msg.setDelayedPayoutTxSignatureRequest(value);
|
|
break;
|
|
case 30:
|
|
var value = new proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.deserializeBinaryFromReader);
|
|
msg.setDelayedPayoutTxSignatureResponse(value);
|
|
break;
|
|
case 31:
|
|
var value = new proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.deserializeBinaryFromReader);
|
|
msg.setDepositTxAndDelayedPayoutTxMessage(value);
|
|
break;
|
|
case 32:
|
|
var value = new proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.deserializeBinaryFromReader);
|
|
msg.setPeerPublishedDelayedPayoutTxMessage(value);
|
|
break;
|
|
case 33:
|
|
var value = new proto.io.bisq.protobuffer.RefreshTradeStateRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RefreshTradeStateRequest.deserializeBinaryFromReader);
|
|
msg.setRefreshTradeStateRequest(value);
|
|
break;
|
|
case 35:
|
|
var value = new proto.io.bisq.protobuffer.GetInventoryRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.GetInventoryRequest.deserializeBinaryFromReader);
|
|
msg.setGetInventoryRequest(value);
|
|
break;
|
|
case 36:
|
|
var value = new proto.io.bisq.protobuffer.GetInventoryResponse;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.GetInventoryResponse.deserializeBinaryFromReader);
|
|
msg.setGetInventoryResponse(value);
|
|
break;
|
|
case 1001:
|
|
var value = new proto.io.bisq.protobuffer.SignOfferRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SignOfferRequest.deserializeBinaryFromReader);
|
|
msg.setSignOfferRequest(value);
|
|
break;
|
|
case 1002:
|
|
var value = new proto.io.bisq.protobuffer.SignOfferResponse;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SignOfferResponse.deserializeBinaryFromReader);
|
|
msg.setSignOfferResponse(value);
|
|
break;
|
|
case 1003:
|
|
var value = new proto.io.bisq.protobuffer.InitTradeRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.InitTradeRequest.deserializeBinaryFromReader);
|
|
msg.setInitTradeRequest(value);
|
|
break;
|
|
case 1004:
|
|
var value = new proto.io.bisq.protobuffer.InitMultisigRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.InitMultisigRequest.deserializeBinaryFromReader);
|
|
msg.setInitMultisigRequest(value);
|
|
break;
|
|
case 1005:
|
|
var value = new proto.io.bisq.protobuffer.SignContractRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SignContractRequest.deserializeBinaryFromReader);
|
|
msg.setSignContractRequest(value);
|
|
break;
|
|
case 1006:
|
|
var value = new proto.io.bisq.protobuffer.SignContractResponse;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SignContractResponse.deserializeBinaryFromReader);
|
|
msg.setSignContractResponse(value);
|
|
break;
|
|
case 1007:
|
|
var value = new proto.io.bisq.protobuffer.DepositRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DepositRequest.deserializeBinaryFromReader);
|
|
msg.setDepositRequest(value);
|
|
break;
|
|
case 1008:
|
|
var value = new proto.io.bisq.protobuffer.DepositResponse;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DepositResponse.deserializeBinaryFromReader);
|
|
msg.setDepositResponse(value);
|
|
break;
|
|
case 1009:
|
|
var value = new proto.io.bisq.protobuffer.DepositsConfirmedMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DepositsConfirmedMessage.deserializeBinaryFromReader);
|
|
msg.setDepositsConfirmedMessage(value);
|
|
break;
|
|
case 1010:
|
|
var value = new proto.io.bisq.protobuffer.PaymentSentMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentSentMessage.deserializeBinaryFromReader);
|
|
msg.setPaymentSentMessage(value);
|
|
break;
|
|
case 1011:
|
|
var value = new proto.io.bisq.protobuffer.PaymentReceivedMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentReceivedMessage.deserializeBinaryFromReader);
|
|
msg.setPaymentReceivedMessage(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.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.NetworkEnvelope} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMessageVersion();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPreliminaryGetDataRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getGetDataResponse();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.GetDataResponse.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getGetUpdatedDataRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getGetPeersRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
5,
|
|
f,
|
|
proto.io.bisq.protobuffer.GetPeersRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getGetPeersResponse();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.GetPeersResponse.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
7,
|
|
f,
|
|
proto.io.bisq.protobuffer.Ping.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPong();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
8,
|
|
f,
|
|
proto.io.bisq.protobuffer.Pong.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getOfferAvailabilityRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
9,
|
|
f,
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getOfferAvailabilityResponse();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRefreshOfferMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
11,
|
|
f,
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAddDataMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
12,
|
|
f,
|
|
proto.io.bisq.protobuffer.AddDataMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRemoveDataMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
13,
|
|
f,
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRemoveMailboxDataMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
14,
|
|
f,
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCloseConnectionMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
15,
|
|
f,
|
|
proto.io.bisq.protobuffer.CloseConnectionMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPrefixedSealedAndSignedMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
16,
|
|
f,
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getInputsForDepositTxRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
17,
|
|
f,
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getInputsForDepositTxResponse();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
18,
|
|
f,
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDepositTxMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
19,
|
|
f,
|
|
proto.io.bisq.protobuffer.DepositTxMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDisputeOpenedMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
20,
|
|
f,
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDisputeClosedMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
21,
|
|
f,
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getChatMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
22,
|
|
f,
|
|
proto.io.bisq.protobuffer.ChatMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPrivateNotificationMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
23,
|
|
f,
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAddPersistableNetworkPayloadMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
24,
|
|
f,
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAckMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
25,
|
|
f,
|
|
proto.io.bisq.protobuffer.AckMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBundleOfEnvelopes();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
26,
|
|
f,
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMediatedPayoutTxSignatureMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
27,
|
|
f,
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMediatedPayoutTxPublishedMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
28,
|
|
f,
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDelayedPayoutTxSignatureRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
29,
|
|
f,
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDelayedPayoutTxSignatureResponse();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
30,
|
|
f,
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDepositTxAndDelayedPayoutTxMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
31,
|
|
f,
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPeerPublishedDelayedPayoutTxMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
32,
|
|
f,
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRefreshTradeStateRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
33,
|
|
f,
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getGetInventoryRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
35,
|
|
f,
|
|
proto.io.bisq.protobuffer.GetInventoryRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getGetInventoryResponse();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
36,
|
|
f,
|
|
proto.io.bisq.protobuffer.GetInventoryResponse.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSignOfferRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1001,
|
|
f,
|
|
proto.io.bisq.protobuffer.SignOfferRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSignOfferResponse();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1002,
|
|
f,
|
|
proto.io.bisq.protobuffer.SignOfferResponse.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getInitTradeRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1003,
|
|
f,
|
|
proto.io.bisq.protobuffer.InitTradeRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getInitMultisigRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1004,
|
|
f,
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSignContractRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1005,
|
|
f,
|
|
proto.io.bisq.protobuffer.SignContractRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSignContractResponse();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1006,
|
|
f,
|
|
proto.io.bisq.protobuffer.SignContractResponse.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDepositRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1007,
|
|
f,
|
|
proto.io.bisq.protobuffer.DepositRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDepositResponse();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1008,
|
|
f,
|
|
proto.io.bisq.protobuffer.DepositResponse.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDepositsConfirmedMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1009,
|
|
f,
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPaymentSentMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1010,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPaymentReceivedMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1011,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string message_version = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getMessageVersion = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setMessageVersion = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PreliminaryGetDataRequest preliminary_get_data_request = 2;
|
|
* @return {?proto.io.bisq.protobuffer.PreliminaryGetDataRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getPreliminaryGetDataRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PreliminaryGetDataRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PreliminaryGetDataRequest, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PreliminaryGetDataRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setPreliminaryGetDataRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 2, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearPreliminaryGetDataRequest = function() {
|
|
return this.setPreliminaryGetDataRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasPreliminaryGetDataRequest = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional GetDataResponse get_data_response = 3;
|
|
* @return {?proto.io.bisq.protobuffer.GetDataResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getGetDataResponse = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.GetDataResponse} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.GetDataResponse, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.GetDataResponse|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setGetDataResponse = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 3, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearGetDataResponse = function() {
|
|
return this.setGetDataResponse(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasGetDataResponse = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional GetUpdatedDataRequest get_updated_data_request = 4;
|
|
* @return {?proto.io.bisq.protobuffer.GetUpdatedDataRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getGetUpdatedDataRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.GetUpdatedDataRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.GetUpdatedDataRequest, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.GetUpdatedDataRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setGetUpdatedDataRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 4, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearGetUpdatedDataRequest = function() {
|
|
return this.setGetUpdatedDataRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasGetUpdatedDataRequest = function() {
|
|
return jspb.Message.getField(this, 4) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional GetPeersRequest get_peers_request = 5;
|
|
* @return {?proto.io.bisq.protobuffer.GetPeersRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getGetPeersRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.GetPeersRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.GetPeersRequest, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.GetPeersRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setGetPeersRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 5, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearGetPeersRequest = function() {
|
|
return this.setGetPeersRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasGetPeersRequest = function() {
|
|
return jspb.Message.getField(this, 5) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional GetPeersResponse get_peers_response = 6;
|
|
* @return {?proto.io.bisq.protobuffer.GetPeersResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getGetPeersResponse = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.GetPeersResponse} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.GetPeersResponse, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.GetPeersResponse|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setGetPeersResponse = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 6, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearGetPeersResponse = function() {
|
|
return this.setGetPeersResponse(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasGetPeersResponse = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Ping ping = 7;
|
|
* @return {?proto.io.bisq.protobuffer.Ping}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getPing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Ping} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Ping, 7));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Ping|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setPing = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 7, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearPing = function() {
|
|
return this.setPing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasPing = function() {
|
|
return jspb.Message.getField(this, 7) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Pong pong = 8;
|
|
* @return {?proto.io.bisq.protobuffer.Pong}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getPong = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Pong} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Pong, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Pong|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setPong = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 8, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearPong = function() {
|
|
return this.setPong(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasPong = function() {
|
|
return jspb.Message.getField(this, 8) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional OfferAvailabilityRequest offer_availability_request = 9;
|
|
* @return {?proto.io.bisq.protobuffer.OfferAvailabilityRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getOfferAvailabilityRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.OfferAvailabilityRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OfferAvailabilityRequest, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.OfferAvailabilityRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setOfferAvailabilityRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 9, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearOfferAvailabilityRequest = function() {
|
|
return this.setOfferAvailabilityRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasOfferAvailabilityRequest = function() {
|
|
return jspb.Message.getField(this, 9) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional OfferAvailabilityResponse offer_availability_response = 10;
|
|
* @return {?proto.io.bisq.protobuffer.OfferAvailabilityResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getOfferAvailabilityResponse = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.OfferAvailabilityResponse} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OfferAvailabilityResponse, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.OfferAvailabilityResponse|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setOfferAvailabilityResponse = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 10, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearOfferAvailabilityResponse = function() {
|
|
return this.setOfferAvailabilityResponse(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasOfferAvailabilityResponse = function() {
|
|
return jspb.Message.getField(this, 10) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional RefreshOfferMessage refresh_offer_message = 11;
|
|
* @return {?proto.io.bisq.protobuffer.RefreshOfferMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getRefreshOfferMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.RefreshOfferMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.RefreshOfferMessage, 11));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.RefreshOfferMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setRefreshOfferMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 11, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearRefreshOfferMessage = function() {
|
|
return this.setRefreshOfferMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasRefreshOfferMessage = function() {
|
|
return jspb.Message.getField(this, 11) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AddDataMessage add_data_message = 12;
|
|
* @return {?proto.io.bisq.protobuffer.AddDataMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getAddDataMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AddDataMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AddDataMessage, 12));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AddDataMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setAddDataMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 12, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearAddDataMessage = function() {
|
|
return this.setAddDataMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasAddDataMessage = function() {
|
|
return jspb.Message.getField(this, 12) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional RemoveDataMessage remove_data_message = 13;
|
|
* @return {?proto.io.bisq.protobuffer.RemoveDataMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getRemoveDataMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.RemoveDataMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.RemoveDataMessage, 13));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.RemoveDataMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setRemoveDataMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 13, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearRemoveDataMessage = function() {
|
|
return this.setRemoveDataMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasRemoveDataMessage = function() {
|
|
return jspb.Message.getField(this, 13) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional RemoveMailboxDataMessage remove_mailbox_data_message = 14;
|
|
* @return {?proto.io.bisq.protobuffer.RemoveMailboxDataMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getRemoveMailboxDataMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.RemoveMailboxDataMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.RemoveMailboxDataMessage, 14));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.RemoveMailboxDataMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setRemoveMailboxDataMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 14, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearRemoveMailboxDataMessage = function() {
|
|
return this.setRemoveMailboxDataMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasRemoveMailboxDataMessage = function() {
|
|
return jspb.Message.getField(this, 14) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional CloseConnectionMessage close_connection_message = 15;
|
|
* @return {?proto.io.bisq.protobuffer.CloseConnectionMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getCloseConnectionMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.CloseConnectionMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.CloseConnectionMessage, 15));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.CloseConnectionMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setCloseConnectionMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 15, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearCloseConnectionMessage = function() {
|
|
return this.setCloseConnectionMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasCloseConnectionMessage = function() {
|
|
return jspb.Message.getField(this, 15) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PrefixedSealedAndSignedMessage prefixed_sealed_and_signed_message = 16;
|
|
* @return {?proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getPrefixedSealedAndSignedMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage, 16));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setPrefixedSealedAndSignedMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 16, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearPrefixedSealedAndSignedMessage = function() {
|
|
return this.setPrefixedSealedAndSignedMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasPrefixedSealedAndSignedMessage = function() {
|
|
return jspb.Message.getField(this, 16) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional InputsForDepositTxRequest inputs_for_deposit_tx_request = 17;
|
|
* @return {?proto.io.bisq.protobuffer.InputsForDepositTxRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getInputsForDepositTxRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.InputsForDepositTxRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.InputsForDepositTxRequest, 17));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.InputsForDepositTxRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setInputsForDepositTxRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 17, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearInputsForDepositTxRequest = function() {
|
|
return this.setInputsForDepositTxRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasInputsForDepositTxRequest = function() {
|
|
return jspb.Message.getField(this, 17) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional InputsForDepositTxResponse inputs_for_deposit_tx_response = 18;
|
|
* @return {?proto.io.bisq.protobuffer.InputsForDepositTxResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getInputsForDepositTxResponse = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.InputsForDepositTxResponse} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.InputsForDepositTxResponse, 18));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.InputsForDepositTxResponse|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setInputsForDepositTxResponse = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 18, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearInputsForDepositTxResponse = function() {
|
|
return this.setInputsForDepositTxResponse(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasInputsForDepositTxResponse = function() {
|
|
return jspb.Message.getField(this, 18) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DepositTxMessage deposit_tx_message = 19;
|
|
* @return {?proto.io.bisq.protobuffer.DepositTxMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getDepositTxMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DepositTxMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DepositTxMessage, 19));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DepositTxMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setDepositTxMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 19, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearDepositTxMessage = function() {
|
|
return this.setDepositTxMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasDepositTxMessage = function() {
|
|
return jspb.Message.getField(this, 19) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DisputeOpenedMessage dispute_opened_message = 20;
|
|
* @return {?proto.io.bisq.protobuffer.DisputeOpenedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getDisputeOpenedMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DisputeOpenedMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DisputeOpenedMessage, 20));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DisputeOpenedMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setDisputeOpenedMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 20, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearDisputeOpenedMessage = function() {
|
|
return this.setDisputeOpenedMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasDisputeOpenedMessage = function() {
|
|
return jspb.Message.getField(this, 20) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DisputeClosedMessage dispute_closed_message = 21;
|
|
* @return {?proto.io.bisq.protobuffer.DisputeClosedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getDisputeClosedMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DisputeClosedMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DisputeClosedMessage, 21));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DisputeClosedMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setDisputeClosedMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 21, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearDisputeClosedMessage = function() {
|
|
return this.setDisputeClosedMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasDisputeClosedMessage = function() {
|
|
return jspb.Message.getField(this, 21) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ChatMessage chat_message = 22;
|
|
* @return {?proto.io.bisq.protobuffer.ChatMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getChatMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ChatMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ChatMessage, 22));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ChatMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setChatMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 22, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearChatMessage = function() {
|
|
return this.setChatMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasChatMessage = function() {
|
|
return jspb.Message.getField(this, 22) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PrivateNotificationMessage private_notification_message = 23;
|
|
* @return {?proto.io.bisq.protobuffer.PrivateNotificationMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getPrivateNotificationMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PrivateNotificationMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PrivateNotificationMessage, 23));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PrivateNotificationMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setPrivateNotificationMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 23, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearPrivateNotificationMessage = function() {
|
|
return this.setPrivateNotificationMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasPrivateNotificationMessage = function() {
|
|
return jspb.Message.getField(this, 23) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AddPersistableNetworkPayloadMessage add_persistable_network_payload_message = 24;
|
|
* @return {?proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getAddPersistableNetworkPayloadMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage, 24));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setAddPersistableNetworkPayloadMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 24, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearAddPersistableNetworkPayloadMessage = function() {
|
|
return this.setAddPersistableNetworkPayloadMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasAddPersistableNetworkPayloadMessage = function() {
|
|
return jspb.Message.getField(this, 24) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AckMessage ack_message = 25;
|
|
* @return {?proto.io.bisq.protobuffer.AckMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getAckMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AckMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AckMessage, 25));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AckMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setAckMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 25, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearAckMessage = function() {
|
|
return this.setAckMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasAckMessage = function() {
|
|
return jspb.Message.getField(this, 25) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional BundleOfEnvelopes bundle_of_envelopes = 26;
|
|
* @return {?proto.io.bisq.protobuffer.BundleOfEnvelopes}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getBundleOfEnvelopes = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.BundleOfEnvelopes} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.BundleOfEnvelopes, 26));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.BundleOfEnvelopes|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setBundleOfEnvelopes = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 26, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearBundleOfEnvelopes = function() {
|
|
return this.setBundleOfEnvelopes(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasBundleOfEnvelopes = function() {
|
|
return jspb.Message.getField(this, 26) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional MediatedPayoutTxSignatureMessage mediated_payout_tx_signature_message = 27;
|
|
* @return {?proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getMediatedPayoutTxSignatureMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage, 27));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setMediatedPayoutTxSignatureMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 27, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearMediatedPayoutTxSignatureMessage = function() {
|
|
return this.setMediatedPayoutTxSignatureMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasMediatedPayoutTxSignatureMessage = function() {
|
|
return jspb.Message.getField(this, 27) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional MediatedPayoutTxPublishedMessage mediated_payout_tx_published_message = 28;
|
|
* @return {?proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getMediatedPayoutTxPublishedMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage, 28));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setMediatedPayoutTxPublishedMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 28, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearMediatedPayoutTxPublishedMessage = function() {
|
|
return this.setMediatedPayoutTxPublishedMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasMediatedPayoutTxPublishedMessage = function() {
|
|
return jspb.Message.getField(this, 28) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DelayedPayoutTxSignatureRequest delayed_payout_tx_signature_request = 29;
|
|
* @return {?proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getDelayedPayoutTxSignatureRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest, 29));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setDelayedPayoutTxSignatureRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 29, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearDelayedPayoutTxSignatureRequest = function() {
|
|
return this.setDelayedPayoutTxSignatureRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasDelayedPayoutTxSignatureRequest = function() {
|
|
return jspb.Message.getField(this, 29) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DelayedPayoutTxSignatureResponse delayed_payout_tx_signature_response = 30;
|
|
* @return {?proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getDelayedPayoutTxSignatureResponse = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse, 30));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setDelayedPayoutTxSignatureResponse = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 30, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearDelayedPayoutTxSignatureResponse = function() {
|
|
return this.setDelayedPayoutTxSignatureResponse(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasDelayedPayoutTxSignatureResponse = function() {
|
|
return jspb.Message.getField(this, 30) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DepositTxAndDelayedPayoutTxMessage deposit_tx_and_delayed_payout_tx_message = 31;
|
|
* @return {?proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getDepositTxAndDelayedPayoutTxMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage, 31));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setDepositTxAndDelayedPayoutTxMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 31, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearDepositTxAndDelayedPayoutTxMessage = function() {
|
|
return this.setDepositTxAndDelayedPayoutTxMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasDepositTxAndDelayedPayoutTxMessage = function() {
|
|
return jspb.Message.getField(this, 31) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PeerPublishedDelayedPayoutTxMessage peer_published_delayed_payout_tx_message = 32;
|
|
* @return {?proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getPeerPublishedDelayedPayoutTxMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage, 32));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setPeerPublishedDelayedPayoutTxMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 32, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearPeerPublishedDelayedPayoutTxMessage = function() {
|
|
return this.setPeerPublishedDelayedPayoutTxMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasPeerPublishedDelayedPayoutTxMessage = function() {
|
|
return jspb.Message.getField(this, 32) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional RefreshTradeStateRequest refresh_trade_state_request = 33;
|
|
* @return {?proto.io.bisq.protobuffer.RefreshTradeStateRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getRefreshTradeStateRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.RefreshTradeStateRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.RefreshTradeStateRequest, 33));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.RefreshTradeStateRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setRefreshTradeStateRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 33, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearRefreshTradeStateRequest = function() {
|
|
return this.setRefreshTradeStateRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasRefreshTradeStateRequest = function() {
|
|
return jspb.Message.getField(this, 33) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional GetInventoryRequest get_inventory_request = 35;
|
|
* @return {?proto.io.bisq.protobuffer.GetInventoryRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getGetInventoryRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.GetInventoryRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.GetInventoryRequest, 35));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.GetInventoryRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setGetInventoryRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 35, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearGetInventoryRequest = function() {
|
|
return this.setGetInventoryRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasGetInventoryRequest = function() {
|
|
return jspb.Message.getField(this, 35) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional GetInventoryResponse get_inventory_response = 36;
|
|
* @return {?proto.io.bisq.protobuffer.GetInventoryResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getGetInventoryResponse = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.GetInventoryResponse} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.GetInventoryResponse, 36));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.GetInventoryResponse|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setGetInventoryResponse = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 36, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearGetInventoryResponse = function() {
|
|
return this.setGetInventoryResponse(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasGetInventoryResponse = function() {
|
|
return jspb.Message.getField(this, 36) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SignOfferRequest sign_offer_request = 1001;
|
|
* @return {?proto.io.bisq.protobuffer.SignOfferRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getSignOfferRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SignOfferRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SignOfferRequest, 1001));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SignOfferRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setSignOfferRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1001, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearSignOfferRequest = function() {
|
|
return this.setSignOfferRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasSignOfferRequest = function() {
|
|
return jspb.Message.getField(this, 1001) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SignOfferResponse sign_offer_response = 1002;
|
|
* @return {?proto.io.bisq.protobuffer.SignOfferResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getSignOfferResponse = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SignOfferResponse} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SignOfferResponse, 1002));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SignOfferResponse|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setSignOfferResponse = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1002, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearSignOfferResponse = function() {
|
|
return this.setSignOfferResponse(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasSignOfferResponse = function() {
|
|
return jspb.Message.getField(this, 1002) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional InitTradeRequest init_trade_request = 1003;
|
|
* @return {?proto.io.bisq.protobuffer.InitTradeRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getInitTradeRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.InitTradeRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.InitTradeRequest, 1003));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.InitTradeRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setInitTradeRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1003, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearInitTradeRequest = function() {
|
|
return this.setInitTradeRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasInitTradeRequest = function() {
|
|
return jspb.Message.getField(this, 1003) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional InitMultisigRequest init_multisig_request = 1004;
|
|
* @return {?proto.io.bisq.protobuffer.InitMultisigRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getInitMultisigRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.InitMultisigRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.InitMultisigRequest, 1004));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.InitMultisigRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setInitMultisigRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1004, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearInitMultisigRequest = function() {
|
|
return this.setInitMultisigRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasInitMultisigRequest = function() {
|
|
return jspb.Message.getField(this, 1004) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SignContractRequest sign_contract_request = 1005;
|
|
* @return {?proto.io.bisq.protobuffer.SignContractRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getSignContractRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SignContractRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SignContractRequest, 1005));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SignContractRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setSignContractRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1005, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearSignContractRequest = function() {
|
|
return this.setSignContractRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasSignContractRequest = function() {
|
|
return jspb.Message.getField(this, 1005) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SignContractResponse sign_contract_response = 1006;
|
|
* @return {?proto.io.bisq.protobuffer.SignContractResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getSignContractResponse = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SignContractResponse} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SignContractResponse, 1006));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SignContractResponse|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setSignContractResponse = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1006, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearSignContractResponse = function() {
|
|
return this.setSignContractResponse(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasSignContractResponse = function() {
|
|
return jspb.Message.getField(this, 1006) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DepositRequest deposit_request = 1007;
|
|
* @return {?proto.io.bisq.protobuffer.DepositRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getDepositRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DepositRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DepositRequest, 1007));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DepositRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setDepositRequest = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1007, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearDepositRequest = function() {
|
|
return this.setDepositRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasDepositRequest = function() {
|
|
return jspb.Message.getField(this, 1007) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DepositResponse deposit_response = 1008;
|
|
* @return {?proto.io.bisq.protobuffer.DepositResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getDepositResponse = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DepositResponse} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DepositResponse, 1008));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DepositResponse|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setDepositResponse = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1008, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearDepositResponse = function() {
|
|
return this.setDepositResponse(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasDepositResponse = function() {
|
|
return jspb.Message.getField(this, 1008) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DepositsConfirmedMessage deposits_confirmed_message = 1009;
|
|
* @return {?proto.io.bisq.protobuffer.DepositsConfirmedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getDepositsConfirmedMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DepositsConfirmedMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DepositsConfirmedMessage, 1009));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DepositsConfirmedMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setDepositsConfirmedMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1009, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearDepositsConfirmedMessage = function() {
|
|
return this.setDepositsConfirmedMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasDepositsConfirmedMessage = function() {
|
|
return jspb.Message.getField(this, 1009) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentSentMessage payment_sent_message = 1010;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentSentMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getPaymentSentMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentSentMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentSentMessage, 1010));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentSentMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setPaymentSentMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1010, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearPaymentSentMessage = function() {
|
|
return this.setPaymentSentMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasPaymentSentMessage = function() {
|
|
return jspb.Message.getField(this, 1010) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentReceivedMessage payment_received_message = 1011;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentReceivedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.getPaymentReceivedMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentReceivedMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentReceivedMessage, 1011));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentReceivedMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.setPaymentReceivedMessage = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1011, proto.io.bisq.protobuffer.NetworkEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.clearPaymentReceivedMessage = function() {
|
|
return this.setPaymentReceivedMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.prototype.hasPaymentReceivedMessage = function() {
|
|
return jspb.Message.getField(this, 1011) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.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_<name>, 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.BundleOfEnvelopes.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.BundleOfEnvelopes.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.BundleOfEnvelopes} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
envelopesList: jspb.Message.toObjectList(msg.getEnvelopesList(),
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.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.BundleOfEnvelopes}
|
|
*/
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.BundleOfEnvelopes;
|
|
return proto.io.bisq.protobuffer.BundleOfEnvelopes.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.BundleOfEnvelopes} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.BundleOfEnvelopes}
|
|
*/
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.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.NetworkEnvelope;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NetworkEnvelope.deserializeBinaryFromReader);
|
|
msg.addEnvelopes(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.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.BundleOfEnvelopes} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEnvelopesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated NetworkEnvelope envelopes = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.NetworkEnvelope>}
|
|
*/
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.prototype.getEnvelopesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.NetworkEnvelope>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.NetworkEnvelope, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.NetworkEnvelope>} value
|
|
* @return {!proto.io.bisq.protobuffer.BundleOfEnvelopes} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.prototype.setEnvelopesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.NetworkEnvelope=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.NetworkEnvelope}
|
|
*/
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.prototype.addEnvelopes = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.NetworkEnvelope, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.BundleOfEnvelopes} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BundleOfEnvelopes.prototype.clearEnvelopesList = function() {
|
|
return this.setEnvelopesList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.repeatedFields_ = [2,3];
|
|
|
|
|
|
|
|
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_<name>, 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.PreliminaryGetDataRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PreliminaryGetDataRequest.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.PreliminaryGetDataRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
nonce: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
|
excludedKeysList: msg.getExcludedKeysList_asB64(),
|
|
supportedCapabilitiesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
version: 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.PreliminaryGetDataRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PreliminaryGetDataRequest;
|
|
return proto.io.bisq.protobuffer.PreliminaryGetDataRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PreliminaryGetDataRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PreliminaryGetDataRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 21:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setNonce(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.addExcludedKeys(value);
|
|
break;
|
|
case 3:
|
|
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
for (var i = 0; i < values.length; i++) {
|
|
msg.addSupportedCapabilities(values[i]);
|
|
}
|
|
break;
|
|
case 4:
|
|
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.PreliminaryGetDataRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.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.PreliminaryGetDataRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getNonce();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
21,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExcludedKeysList_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSupportedCapabilitiesList();
|
|
if (f.length > 0) {
|
|
writer.writePackedInt32(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getVersion();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 nonce = 21;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.getNonce = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreliminaryGetDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.setNonce = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 21, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated bytes excluded_keys = 2;
|
|
* @return {!(Array<!Uint8Array>|Array<string>)}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.getExcludedKeysList = function() {
|
|
return /** @type {!(Array<!Uint8Array>|Array<string>)} */ (jspb.Message.getRepeatedField(this, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated bytes excluded_keys = 2;
|
|
* This is a type-conversion wrapper around `getExcludedKeysList()`
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.getExcludedKeysList_asB64 = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
this.getExcludedKeysList()));
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated bytes excluded_keys = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getExcludedKeysList()`
|
|
* @return {!Array<!Uint8Array>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.getExcludedKeysList_asU8 = function() {
|
|
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
this.getExcludedKeysList()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
* @return {!proto.io.bisq.protobuffer.PreliminaryGetDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.setExcludedKeysList = function(value) {
|
|
return jspb.Message.setField(this, 2, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.PreliminaryGetDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.addExcludedKeys = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PreliminaryGetDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.clearExcludedKeysList = function() {
|
|
return this.setExcludedKeysList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated int32 supported_capabilities = 3;
|
|
* @return {!Array<number>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.getSupportedCapabilitiesList = function() {
|
|
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<number>} value
|
|
* @return {!proto.io.bisq.protobuffer.PreliminaryGetDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.setSupportedCapabilitiesList = function(value) {
|
|
return jspb.Message.setField(this, 3, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.PreliminaryGetDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.addSupportedCapabilities = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PreliminaryGetDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.clearSupportedCapabilitiesList = function() {
|
|
return this.setSupportedCapabilitiesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string version = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.getVersion = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreliminaryGetDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreliminaryGetDataRequest.prototype.setVersion = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.repeatedFields_ = [3,4,5];
|
|
|
|
|
|
|
|
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_<name>, 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.GetDataResponse.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.GetDataResponse.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.GetDataResponse} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
requestNonce: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
isGetUpdatedDataResponse: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
dataSetList: jspb.Message.toObjectList(msg.getDataSetList(),
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.toObject, includeInstance),
|
|
supportedCapabilitiesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
persistableNetworkPayloadItemsList: jspb.Message.toObjectList(msg.getPersistableNetworkPayloadItemsList(),
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.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.GetDataResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.GetDataResponse;
|
|
return proto.io.bisq.protobuffer.GetDataResponse.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.GetDataResponse} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.GetDataResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setRequestNonce(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsGetUpdatedDataResponse(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.StorageEntryWrapper;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.StorageEntryWrapper.deserializeBinaryFromReader);
|
|
msg.addDataSet(value);
|
|
break;
|
|
case 4:
|
|
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
for (var i = 0; i < values.length; i++) {
|
|
msg.addSupportedCapabilities(values[i]);
|
|
}
|
|
break;
|
|
case 5:
|
|
var value = new proto.io.bisq.protobuffer.PersistableNetworkPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PersistableNetworkPayload.deserializeBinaryFromReader);
|
|
msg.addPersistableNetworkPayloadItems(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.GetDataResponse.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.GetDataResponse} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getRequestNonce();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIsGetUpdatedDataResponse();
|
|
if (f) {
|
|
writer.writeBool(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDataSetList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSupportedCapabilitiesList();
|
|
if (f.length > 0) {
|
|
writer.writePackedInt32(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPersistableNetworkPayloadItemsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
5,
|
|
f,
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 request_nonce = 1;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.getRequestNonce = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.GetDataResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.setRequestNonce = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_get_updated_data_response = 2;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.getIsGetUpdatedDataResponse = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.GetDataResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.setIsGetUpdatedDataResponse = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated StorageEntryWrapper data_set = 3;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.StorageEntryWrapper>}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.getDataSetList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.StorageEntryWrapper>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.StorageEntryWrapper, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.StorageEntryWrapper>} value
|
|
* @return {!proto.io.bisq.protobuffer.GetDataResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.setDataSetList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.StorageEntryWrapper=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.StorageEntryWrapper}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.addDataSet = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.io.bisq.protobuffer.StorageEntryWrapper, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.GetDataResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.clearDataSetList = function() {
|
|
return this.setDataSetList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated int32 supported_capabilities = 4;
|
|
* @return {!Array<number>}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.getSupportedCapabilitiesList = function() {
|
|
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<number>} value
|
|
* @return {!proto.io.bisq.protobuffer.GetDataResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.setSupportedCapabilitiesList = function(value) {
|
|
return jspb.Message.setField(this, 4, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.GetDataResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.addSupportedCapabilities = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.GetDataResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.clearSupportedCapabilitiesList = function() {
|
|
return this.setSupportedCapabilitiesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated PersistableNetworkPayload persistable_network_payload_items = 5;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.PersistableNetworkPayload>}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.getPersistableNetworkPayloadItemsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.PersistableNetworkPayload>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.PersistableNetworkPayload, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.PersistableNetworkPayload>} value
|
|
* @return {!proto.io.bisq.protobuffer.GetDataResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.setPersistableNetworkPayloadItemsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.PersistableNetworkPayload=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.PersistableNetworkPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.addPersistableNetworkPayloadItems = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.io.bisq.protobuffer.PersistableNetworkPayload, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.GetDataResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetDataResponse.prototype.clearPersistableNetworkPayloadItemsList = function() {
|
|
return this.setPersistableNetworkPayloadItemsList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.repeatedFields_ = [3];
|
|
|
|
|
|
|
|
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_<name>, 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.GetUpdatedDataRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.GetUpdatedDataRequest.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.GetUpdatedDataRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
nonce: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
excludedKeysList: msg.getExcludedKeysList_asB64(),
|
|
version: 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.GetUpdatedDataRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.GetUpdatedDataRequest;
|
|
return proto.io.bisq.protobuffer.GetUpdatedDataRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.GetUpdatedDataRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.GetUpdatedDataRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.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.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setNonce(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.addExcludedKeys(value);
|
|
break;
|
|
case 4:
|
|
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.GetUpdatedDataRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.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.GetUpdatedDataRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getNonce();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExcludedKeysList_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedBytes(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getVersion();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 1;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.GetUpdatedDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.GetUpdatedDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 nonce = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.getNonce = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.GetUpdatedDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.setNonce = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated bytes excluded_keys = 3;
|
|
* @return {!(Array<!Uint8Array>|Array<string>)}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.getExcludedKeysList = function() {
|
|
return /** @type {!(Array<!Uint8Array>|Array<string>)} */ (jspb.Message.getRepeatedField(this, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated bytes excluded_keys = 3;
|
|
* This is a type-conversion wrapper around `getExcludedKeysList()`
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.getExcludedKeysList_asB64 = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
this.getExcludedKeysList()));
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated bytes excluded_keys = 3;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getExcludedKeysList()`
|
|
* @return {!Array<!Uint8Array>}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.getExcludedKeysList_asU8 = function() {
|
|
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
this.getExcludedKeysList()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
* @return {!proto.io.bisq.protobuffer.GetUpdatedDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.setExcludedKeysList = function(value) {
|
|
return jspb.Message.setField(this, 3, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.GetUpdatedDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.addExcludedKeys = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.GetUpdatedDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.clearExcludedKeysList = function() {
|
|
return this.setExcludedKeysList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string version = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.getVersion = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.GetUpdatedDataRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetUpdatedDataRequest.prototype.setVersion = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.repeatedFields_ = [3,4];
|
|
|
|
|
|
|
|
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_<name>, 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.GetPeersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.GetPeersRequest.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.GetPeersRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
nonce: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
supportedCapabilitiesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
reportedPeersList: jspb.Message.toObjectList(msg.getReportedPeersList(),
|
|
proto.io.bisq.protobuffer.Peer.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.GetPeersRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.GetPeersRequest;
|
|
return proto.io.bisq.protobuffer.GetPeersRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.GetPeersRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.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.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setNonce(value);
|
|
break;
|
|
case 3:
|
|
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
for (var i = 0; i < values.length; i++) {
|
|
msg.addSupportedCapabilities(values[i]);
|
|
}
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.Peer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Peer.deserializeBinaryFromReader);
|
|
msg.addReportedPeers(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.GetPeersRequest.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.GetPeersRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getNonce();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSupportedCapabilitiesList();
|
|
if (f.length > 0) {
|
|
writer.writePackedInt32(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReportedPeersList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.Peer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 1;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 nonce = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.getNonce = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.setNonce = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated int32 supported_capabilities = 3;
|
|
* @return {!Array<number>}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.getSupportedCapabilitiesList = function() {
|
|
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<number>} value
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.setSupportedCapabilitiesList = function(value) {
|
|
return jspb.Message.setField(this, 3, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.addSupportedCapabilities = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.clearSupportedCapabilitiesList = function() {
|
|
return this.setSupportedCapabilitiesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Peer reported_peers = 4;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Peer>}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.getReportedPeersList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Peer>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Peer, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Peer>} value
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.setReportedPeersList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Peer=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Peer}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.addReportedPeers = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.io.bisq.protobuffer.Peer, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersRequest.prototype.clearReportedPeersList = function() {
|
|
return this.setReportedPeersList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.repeatedFields_ = [2,3];
|
|
|
|
|
|
|
|
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_<name>, 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.GetPeersResponse.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.GetPeersResponse.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.GetPeersResponse} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
requestNonce: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
reportedPeersList: jspb.Message.toObjectList(msg.getReportedPeersList(),
|
|
proto.io.bisq.protobuffer.Peer.toObject, includeInstance),
|
|
supportedCapabilitiesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : 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.GetPeersResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.GetPeersResponse;
|
|
return proto.io.bisq.protobuffer.GetPeersResponse.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.GetPeersResponse} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setRequestNonce(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.Peer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Peer.deserializeBinaryFromReader);
|
|
msg.addReportedPeers(value);
|
|
break;
|
|
case 3:
|
|
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
for (var i = 0; i < values.length; i++) {
|
|
msg.addSupportedCapabilities(values[i]);
|
|
}
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.GetPeersResponse.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.GetPeersResponse} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getRequestNonce();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReportedPeersList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.Peer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSupportedCapabilitiesList();
|
|
if (f.length > 0) {
|
|
writer.writePackedInt32(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 request_nonce = 1;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.prototype.getRequestNonce = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.prototype.setRequestNonce = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Peer reported_peers = 2;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Peer>}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.prototype.getReportedPeersList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Peer>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Peer, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Peer>} value
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.prototype.setReportedPeersList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Peer=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Peer}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.prototype.addReportedPeers = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.io.bisq.protobuffer.Peer, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.prototype.clearReportedPeersList = function() {
|
|
return this.setReportedPeersList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated int32 supported_capabilities = 3;
|
|
* @return {!Array<number>}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.prototype.getSupportedCapabilitiesList = function() {
|
|
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<number>} value
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.prototype.setSupportedCapabilitiesList = function(value) {
|
|
return jspb.Message.setField(this, 3, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.prototype.addSupportedCapabilities = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.GetPeersResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetPeersResponse.prototype.clearSupportedCapabilitiesList = function() {
|
|
return this.setSupportedCapabilitiesList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.Ping.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Ping.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.Ping} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Ping.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
nonce: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
lastRoundTripTime: 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.Ping}
|
|
*/
|
|
proto.io.bisq.protobuffer.Ping.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Ping;
|
|
return proto.io.bisq.protobuffer.Ping.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Ping} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Ping}
|
|
*/
|
|
proto.io.bisq.protobuffer.Ping.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setNonce(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setLastRoundTripTime(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Ping.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Ping.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.Ping} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Ping.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getNonce();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getLastRoundTripTime();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 nonce = 1;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Ping.prototype.getNonce = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Ping} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Ping.prototype.setNonce = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 last_round_trip_time = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Ping.prototype.getLastRoundTripTime = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Ping} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Ping.prototype.setLastRoundTripTime = 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_<name>, 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.Pong.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Pong.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.Pong} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Pong.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
requestNonce: 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.Pong}
|
|
*/
|
|
proto.io.bisq.protobuffer.Pong.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Pong;
|
|
return proto.io.bisq.protobuffer.Pong.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Pong} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Pong}
|
|
*/
|
|
proto.io.bisq.protobuffer.Pong.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setRequestNonce(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Pong.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Pong.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.Pong} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Pong.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getRequestNonce();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 request_nonce = 1;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Pong.prototype.getRequestNonce = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Pong} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Pong.prototype.setRequestNonce = 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_<name>, 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.GetInventoryRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.GetInventoryRequest.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.GetInventoryRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryRequest.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.GetInventoryRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.GetInventoryRequest;
|
|
return proto.io.bisq.protobuffer.GetInventoryRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.GetInventoryRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.GetInventoryRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryRequest.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.GetInventoryRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.GetInventoryRequest.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.GetInventoryRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryRequest.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.GetInventoryRequest.prototype.getVersion = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.GetInventoryRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryRequest.prototype.setVersion = 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_<name>, 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.GetInventoryResponse.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.GetInventoryResponse.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.GetInventoryResponse} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryResponse.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
inventoryMap: (f = msg.getInventoryMap()) ? f.toObject(includeInstance, undefined) : []
|
|
};
|
|
|
|
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.GetInventoryResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryResponse.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.GetInventoryResponse;
|
|
return proto.io.bisq.protobuffer.GetInventoryResponse.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.GetInventoryResponse} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.GetInventoryResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = msg.getInventoryMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryResponse.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.GetInventoryResponse.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.GetInventoryResponse} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryResponse.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getInventoryMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> inventory = 1;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryResponse.prototype.getInventoryMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.GetInventoryResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.GetInventoryResponse.prototype.clearInventoryMap = function() {
|
|
this.getInventoryMap().clear();
|
|
return this;};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.repeatedFields_ = [11];
|
|
|
|
|
|
|
|
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_<name>, 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.SignOfferRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SignOfferRequest.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.SignOfferRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
offerId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
pubKeyRing: (f = msg.getPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
senderAccountId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
offerPayload: (f = msg.getOfferPayload()) && proto.io.bisq.protobuffer.OfferPayload.toObject(includeInstance, f),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
currentDate: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
reserveTxHash: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
reserveTxHex: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
reserveTxKey: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
reserveTxKeyImagesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
payoutAddress: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
};
|
|
|
|
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.SignOfferRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SignOfferRequest;
|
|
return proto.io.bisq.protobuffer.SignOfferRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SignOfferRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.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 = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setPubKeyRing(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSenderAccountId(value);
|
|
break;
|
|
case 5:
|
|
var value = new proto.io.bisq.protobuffer.OfferPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.OfferPayload.deserializeBinaryFromReader);
|
|
msg.setOfferPayload(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCurrentDate(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxHash(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxHex(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxKey(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addReserveTxKeyImages(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPayoutAddress(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SignOfferRequest.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.SignOfferRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getOfferId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSenderAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOfferPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
5,
|
|
f,
|
|
proto.io.bisq.protobuffer.OfferPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCurrentDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxHash();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxKey();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxKeyImagesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayoutAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string offer_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getOfferId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setOfferId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 2;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing pub_key_ring = 3;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.clearPubKeyRing = function() {
|
|
return this.setPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.hasPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string sender_account_id = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getSenderAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setSenderAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional OfferPayload offer_payload = 5;
|
|
* @return {?proto.io.bisq.protobuffer.OfferPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getOfferPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.OfferPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OfferPayload, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.OfferPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setOfferPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.clearOfferPayload = function() {
|
|
return this.setOfferPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.hasOfferPayload = function() {
|
|
return jspb.Message.getField(this, 5) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 current_date = 7;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getCurrentDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setCurrentDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_hash = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getReserveTxHash = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setReserveTxHash = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_hex = 9;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getReserveTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setReserveTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_key = 10;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getReserveTxKey = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setReserveTxKey = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string reserve_tx_key_images = 11;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getReserveTxKeyImagesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setReserveTxKeyImagesList = function(value) {
|
|
return jspb.Message.setField(this, 11, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.addReserveTxKeyImages = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.clearReserveTxKeyImagesList = function() {
|
|
return this.setReserveTxKeyImagesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payout_address = 12;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.getPayoutAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferRequest.prototype.setPayoutAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 12, 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_<name>, 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.SignOfferResponse.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SignOfferResponse.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.SignOfferResponse} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
offerId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
signedOfferPayload: (f = msg.getSignedOfferPayload()) && proto.io.bisq.protobuffer.OfferPayload.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.SignOfferResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SignOfferResponse;
|
|
return proto.io.bisq.protobuffer.SignOfferResponse.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SignOfferResponse} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.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.setUid(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.OfferPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.OfferPayload.deserializeBinaryFromReader);
|
|
msg.setSignedOfferPayload(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SignOfferResponse.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.SignOfferResponse} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getOfferId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSignedOfferPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.OfferPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string offer_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.prototype.getOfferId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.prototype.setOfferId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional OfferPayload signed_offer_payload = 3;
|
|
* @return {?proto.io.bisq.protobuffer.OfferPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.prototype.getSignedOfferPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.OfferPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OfferPayload, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.OfferPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.prototype.setSignedOfferPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.SignOfferResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.prototype.clearSignedOfferPayload = function() {
|
|
return this.setSignedOfferPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignOfferResponse.prototype.hasSignedOfferPayload = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.repeatedFields_ = [4];
|
|
|
|
|
|
|
|
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_<name>, 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.OfferAvailabilityRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.OfferAvailabilityRequest.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.OfferAvailabilityRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
offerId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
pubKeyRing: (f = msg.getPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
takersTradePrice: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
supportedCapabilitiesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
uid: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
isTakerApiUser: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
tradeRequest: (f = msg.getTradeRequest()) && proto.io.bisq.protobuffer.InitTradeRequest.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.OfferAvailabilityRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.OfferAvailabilityRequest;
|
|
return proto.io.bisq.protobuffer.OfferAvailabilityRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.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 = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setPubKeyRing(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTakersTradePrice(value);
|
|
break;
|
|
case 4:
|
|
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
for (var i = 0; i < values.length; i++) {
|
|
msg.addSupportedCapabilities(values[i]);
|
|
}
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsTakerApiUser(value);
|
|
break;
|
|
case 7:
|
|
var value = new proto.io.bisq.protobuffer.InitTradeRequest;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.InitTradeRequest.deserializeBinaryFromReader);
|
|
msg.setTradeRequest(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.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.OfferAvailabilityRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getOfferId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTakersTradePrice();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSupportedCapabilitiesList();
|
|
if (f.length > 0) {
|
|
writer.writePackedInt32(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIsTakerApiUser();
|
|
if (f) {
|
|
writer.writeBool(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeRequest();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
7,
|
|
f,
|
|
proto.io.bisq.protobuffer.InitTradeRequest.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string offer_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.getOfferId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.setOfferId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing pub_key_ring = 2;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.getPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.setPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.clearPubKeyRing = function() {
|
|
return this.setPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.hasPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 takers_trade_price = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.getTakersTradePrice = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.setTakersTradePrice = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated int32 supported_capabilities = 4;
|
|
* @return {!Array<number>}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.getSupportedCapabilitiesList = function() {
|
|
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<number>} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.setSupportedCapabilitiesList = function(value) {
|
|
return jspb.Message.setField(this, 4, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.addSupportedCapabilities = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.clearSupportedCapabilitiesList = function() {
|
|
return this.setSupportedCapabilitiesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_taker_api_user = 6;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.getIsTakerApiUser = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.setIsTakerApiUser = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional InitTradeRequest trade_request = 7;
|
|
* @return {?proto.io.bisq.protobuffer.InitTradeRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.getTradeRequest = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.InitTradeRequest} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.InitTradeRequest, 7));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.InitTradeRequest|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.setTradeRequest = function(value) {
|
|
return jspb.Message.setWrapperField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.clearTradeRequest = function() {
|
|
return this.setTradeRequest(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityRequest.prototype.hasTradeRequest = function() {
|
|
return jspb.Message.getField(this, 7) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.repeatedFields_ = [3];
|
|
|
|
|
|
|
|
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_<name>, 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.OfferAvailabilityResponse.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.OfferAvailabilityResponse.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.OfferAvailabilityResponse} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
offerId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
availabilityResult: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
supportedCapabilitiesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
uid: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
makerSignature: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
};
|
|
|
|
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.OfferAvailabilityResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.OfferAvailabilityResponse;
|
|
return proto.io.bisq.protobuffer.OfferAvailabilityResponse.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.OfferAvailabilityResponse} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.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 {!proto.io.bisq.protobuffer.AvailabilityResult} */ (reader.readEnum());
|
|
msg.setAvailabilityResult(value);
|
|
break;
|
|
case 3:
|
|
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
for (var i = 0; i < values.length; i++) {
|
|
msg.addSupportedCapabilities(values[i]);
|
|
}
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerSignature(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.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.OfferAvailabilityResponse} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getOfferId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAvailabilityResult();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSupportedCapabilitiesList();
|
|
if (f.length > 0) {
|
|
writer.writePackedInt32(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string offer_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.getOfferId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.setOfferId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AvailabilityResult availability_result = 2;
|
|
* @return {!proto.io.bisq.protobuffer.AvailabilityResult}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.getAvailabilityResult = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.AvailabilityResult} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.AvailabilityResult} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.setAvailabilityResult = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated int32 supported_capabilities = 3;
|
|
* @return {!Array<number>}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.getSupportedCapabilitiesList = function() {
|
|
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<number>} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.setSupportedCapabilitiesList = function(value) {
|
|
return jspb.Message.setField(this, 3, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.addSupportedCapabilities = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.clearSupportedCapabilitiesList = function() {
|
|
return this.setSupportedCapabilitiesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_signature = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.getMakerSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferAvailabilityResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferAvailabilityResponse.prototype.setMakerSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(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_<name>, 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.RefreshOfferMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.RefreshOfferMessage.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.RefreshOfferMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
hashOfDataAndSeqNr: msg.getHashOfDataAndSeqNr_asB64(),
|
|
signature: msg.getSignature_asB64(),
|
|
hashOfPayload: msg.getHashOfPayload_asB64(),
|
|
sequenceNumber: 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.RefreshOfferMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.RefreshOfferMessage;
|
|
return proto.io.bisq.protobuffer.RefreshOfferMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.RefreshOfferMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.RefreshOfferMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setHashOfDataAndSeqNr(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSignature(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setHashOfPayload(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setSequenceNumber(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.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.RefreshOfferMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHashOfDataAndSeqNr_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHashOfPayload_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSequenceNumber();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash_of_data_and_seq_nr = 1;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.getHashOfDataAndSeqNr = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash_of_data_and_seq_nr = 1;
|
|
* This is a type-conversion wrapper around `getHashOfDataAndSeqNr()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.getHashOfDataAndSeqNr_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getHashOfDataAndSeqNr()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash_of_data_and_seq_nr = 1;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getHashOfDataAndSeqNr()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.getHashOfDataAndSeqNr_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getHashOfDataAndSeqNr()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.RefreshOfferMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.setHashOfDataAndSeqNr = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.getSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 2;
|
|
* This is a type-conversion wrapper around `getSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.getSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.getSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.RefreshOfferMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.setSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash_of_payload = 3;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.getHashOfPayload = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash_of_payload = 3;
|
|
* This is a type-conversion wrapper around `getHashOfPayload()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.getHashOfPayload_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getHashOfPayload()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash_of_payload = 3;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getHashOfPayload()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.getHashOfPayload_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getHashOfPayload()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.RefreshOfferMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.setHashOfPayload = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 sequence_number = 4;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.getSequenceNumber = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.RefreshOfferMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshOfferMessage.prototype.setSequenceNumber = 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_<name>, 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.AddDataMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AddDataMessage.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.AddDataMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AddDataMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
entry: (f = msg.getEntry()) && proto.io.bisq.protobuffer.StorageEntryWrapper.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.AddDataMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddDataMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AddDataMessage;
|
|
return proto.io.bisq.protobuffer.AddDataMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AddDataMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AddDataMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddDataMessage.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.StorageEntryWrapper;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.StorageEntryWrapper.deserializeBinaryFromReader);
|
|
msg.setEntry(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddDataMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AddDataMessage.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.AddDataMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AddDataMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEntry();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional StorageEntryWrapper entry = 1;
|
|
* @return {?proto.io.bisq.protobuffer.StorageEntryWrapper}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddDataMessage.prototype.getEntry = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.StorageEntryWrapper} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.StorageEntryWrapper, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.StorageEntryWrapper|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.AddDataMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddDataMessage.prototype.setEntry = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.AddDataMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddDataMessage.prototype.clearEntry = function() {
|
|
return this.setEntry(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddDataMessage.prototype.hasEntry = 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_<name>, 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.RemoveDataMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.RemoveDataMessage.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.RemoveDataMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
protectedStorageEntry: (f = msg.getProtectedStorageEntry()) && proto.io.bisq.protobuffer.ProtectedStorageEntry.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.RemoveDataMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.RemoveDataMessage;
|
|
return proto.io.bisq.protobuffer.RemoveDataMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.RemoveDataMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.RemoveDataMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.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.ProtectedStorageEntry;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ProtectedStorageEntry.deserializeBinaryFromReader);
|
|
msg.setProtectedStorageEntry(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.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.RemoveDataMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getProtectedStorageEntry();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ProtectedStorageEntry protected_storage_entry = 1;
|
|
* @return {?proto.io.bisq.protobuffer.ProtectedStorageEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.prototype.getProtectedStorageEntry = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ProtectedStorageEntry} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ProtectedStorageEntry, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ProtectedStorageEntry|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.RemoveDataMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.prototype.setProtectedStorageEntry = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.RemoveDataMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.prototype.clearProtectedStorageEntry = function() {
|
|
return this.setProtectedStorageEntry(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveDataMessage.prototype.hasProtectedStorageEntry = 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_<name>, 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.RemoveMailboxDataMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.RemoveMailboxDataMessage.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.RemoveMailboxDataMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
protectedStorageEntry: (f = msg.getProtectedStorageEntry()) && proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.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.RemoveMailboxDataMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.RemoveMailboxDataMessage;
|
|
return proto.io.bisq.protobuffer.RemoveMailboxDataMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.RemoveMailboxDataMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.RemoveMailboxDataMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.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.ProtectedMailboxStorageEntry;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.deserializeBinaryFromReader);
|
|
msg.setProtectedStorageEntry(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.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.RemoveMailboxDataMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getProtectedStorageEntry();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ProtectedMailboxStorageEntry protected_storage_entry = 1;
|
|
* @return {?proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.prototype.getProtectedStorageEntry = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.RemoveMailboxDataMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.prototype.setProtectedStorageEntry = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.RemoveMailboxDataMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.prototype.clearProtectedStorageEntry = function() {
|
|
return this.setProtectedStorageEntry(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemoveMailboxDataMessage.prototype.hasProtectedStorageEntry = 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_<name>, 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.AddPersistableNetworkPayloadMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.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.AddPersistableNetworkPayloadMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
payload: (f = msg.getPayload()) && proto.io.bisq.protobuffer.PersistableNetworkPayload.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.AddPersistableNetworkPayloadMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage;
|
|
return proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.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.PersistableNetworkPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PersistableNetworkPayload.deserializeBinaryFromReader);
|
|
msg.setPayload(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.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.AddPersistableNetworkPayloadMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PersistableNetworkPayload payload = 1;
|
|
* @return {?proto.io.bisq.protobuffer.PersistableNetworkPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.prototype.getPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PersistableNetworkPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PersistableNetworkPayload, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PersistableNetworkPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.prototype.setPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.prototype.clearPayload = function() {
|
|
return this.setPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddPersistableNetworkPayloadMessage.prototype.hasPayload = 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_<name>, 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.CloseConnectionMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.CloseConnectionMessage.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.CloseConnectionMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CloseConnectionMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
reason: 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.CloseConnectionMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.CloseConnectionMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.CloseConnectionMessage;
|
|
return proto.io.bisq.protobuffer.CloseConnectionMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.CloseConnectionMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.CloseConnectionMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.CloseConnectionMessage.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.setReason(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.CloseConnectionMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.CloseConnectionMessage.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.CloseConnectionMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CloseConnectionMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getReason();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reason = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CloseConnectionMessage.prototype.getReason = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CloseConnectionMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CloseConnectionMessage.prototype.setReason = 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_<name>, 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.AckMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AckMessage.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.AckMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
sourceType: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
sourceMsgClassName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
sourceUid: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
sourceId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
success: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
errorMessage: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
};
|
|
|
|
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.AckMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AckMessage;
|
|
return proto.io.bisq.protobuffer.AckMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AckMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AckMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.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.setUid(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSourceType(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSourceMsgClassName(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSourceUid(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSourceId(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setSuccess(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setErrorMessage(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AckMessage.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.AckMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSourceType();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSourceMsgClassName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSourceUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSourceId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSuccess();
|
|
if (f) {
|
|
writer.writeBool(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getErrorMessage();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AckMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 2;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.AckMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.AckMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string source_type = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.getSourceType = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AckMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.setSourceType = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string source_msg_class_name = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.getSourceMsgClassName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AckMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.setSourceMsgClassName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string source_uid = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.getSourceUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AckMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.setSourceUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string source_id = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.getSourceId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AckMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.setSourceId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool success = 7;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.getSuccess = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.AckMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.setSuccess = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string error_message = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.getErrorMessage = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AckMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AckMessage.prototype.setErrorMessage = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, 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_<name>, 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.PrefixedSealedAndSignedMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.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.PrefixedSealedAndSignedMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
nodeAddress: (f = msg.getNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
sealedAndSigned: (f = msg.getSealedAndSigned()) && proto.io.bisq.protobuffer.SealedAndSigned.toObject(includeInstance, f),
|
|
addressPrefixHash: msg.getAddressPrefixHash_asB64(),
|
|
uid: 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.PrefixedSealedAndSignedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage;
|
|
return proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.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.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setNodeAddress(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.SealedAndSigned;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SealedAndSigned.deserializeBinaryFromReader);
|
|
msg.setSealedAndSigned(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setAddressPrefixHash(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.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.PrefixedSealedAndSignedMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSealedAndSigned();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.SealedAndSigned.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAddressPrefixHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress node_address = 1;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.getNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.setNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.clearNodeAddress = function() {
|
|
return this.setNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.hasNodeAddress = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SealedAndSigned sealed_and_signed = 2;
|
|
* @return {?proto.io.bisq.protobuffer.SealedAndSigned}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.getSealedAndSigned = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SealedAndSigned} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SealedAndSigned, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SealedAndSigned|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.setSealedAndSigned = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.clearSealedAndSigned = function() {
|
|
return this.setSealedAndSigned(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.hasSealedAndSigned = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes address_prefix_hash = 3;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.getAddressPrefixHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes address_prefix_hash = 3;
|
|
* This is a type-conversion wrapper around `getAddressPrefixHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.getAddressPrefixHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getAddressPrefixHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes address_prefix_hash = 3;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getAddressPrefixHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.getAddressPrefixHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getAddressPrefixHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.setAddressPrefixHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.repeatedFields_ = [7,16,17,23];
|
|
|
|
|
|
|
|
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_<name>, 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.InputsForDepositTxRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.InputsForDepositTxRequest.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.InputsForDepositTxRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
tradeAmount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
tradePrice: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
txFee: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
takerFee: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
rawTransactionInputsList: jspb.Message.toObjectList(msg.getRawTransactionInputsList(),
|
|
proto.io.bisq.protobuffer.RawTransactionInput.toObject, includeInstance),
|
|
changeOutputValue: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
changeOutputAddress: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
takerMultiSigPubKey: msg.getTakerMultiSigPubKey_asB64(),
|
|
takerPayoutAddressString: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
takerPubKeyRing: (f = msg.getTakerPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
takerPaymentAccountPayload: (f = msg.getTakerPaymentAccountPayload()) && proto.io.bisq.protobuffer.PaymentAccountPayload.toObject(includeInstance, f),
|
|
takerAccountId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
takerFeeTxId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
acceptedArbitratorNodeAddressesList: jspb.Message.toObjectList(msg.getAcceptedArbitratorNodeAddressesList(),
|
|
proto.io.bisq.protobuffer.NodeAddress.toObject, includeInstance),
|
|
acceptedMediatorNodeAddressesList: jspb.Message.toObjectList(msg.getAcceptedMediatorNodeAddressesList(),
|
|
proto.io.bisq.protobuffer.NodeAddress.toObject, includeInstance),
|
|
arbitratorNodeAddress: (f = msg.getArbitratorNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
mediatorNodeAddress: (f = msg.getMediatorNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
accountAgeWitnessSignatureOfOfferId: msg.getAccountAgeWitnessSignatureOfOfferId_asB64(),
|
|
currentDate: jspb.Message.getFieldWithDefault(msg, 22, 0),
|
|
acceptedRefundAgentNodeAddressesList: jspb.Message.toObjectList(msg.getAcceptedRefundAgentNodeAddressesList(),
|
|
proto.io.bisq.protobuffer.NodeAddress.toObject, includeInstance),
|
|
refundAgentNodeAddress: (f = msg.getRefundAgentNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.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.InputsForDepositTxRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.InputsForDepositTxRequest;
|
|
return proto.io.bisq.protobuffer.InputsForDepositTxRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.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 = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradeAmount(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradePrice(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTxFee(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTakerFee(value);
|
|
break;
|
|
case 7:
|
|
var value = new proto.io.bisq.protobuffer.RawTransactionInput;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RawTransactionInput.deserializeBinaryFromReader);
|
|
msg.addRawTransactionInputs(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setChangeOutputValue(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setChangeOutputAddress(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setTakerMultiSigPubKey(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTakerPayoutAddressString(value);
|
|
break;
|
|
case 12:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setTakerPubKeyRing(value);
|
|
break;
|
|
case 13:
|
|
var value = new proto.io.bisq.protobuffer.PaymentAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccountPayload.deserializeBinaryFromReader);
|
|
msg.setTakerPaymentAccountPayload(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTakerAccountId(value);
|
|
break;
|
|
case 15:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTakerFeeTxId(value);
|
|
break;
|
|
case 16:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.addAcceptedArbitratorNodeAddresses(value);
|
|
break;
|
|
case 17:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.addAcceptedMediatorNodeAddresses(value);
|
|
break;
|
|
case 18:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setArbitratorNodeAddress(value);
|
|
break;
|
|
case 29:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setMediatorNodeAddress(value);
|
|
break;
|
|
case 20:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
case 21:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setAccountAgeWitnessSignatureOfOfferId(value);
|
|
break;
|
|
case 22:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCurrentDate(value);
|
|
break;
|
|
case 23:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.addAcceptedRefundAgentNodeAddresses(value);
|
|
break;
|
|
case 24:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setRefundAgentNodeAddress(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.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.InputsForDepositTxRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTradeAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradePrice();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTxFee();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerFee();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRawTransactionInputsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
7,
|
|
f,
|
|
proto.io.bisq.protobuffer.RawTransactionInput.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getChangeOutputValue();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getChangeOutputAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerMultiSigPubKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerPayoutAddressString();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
12,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTakerPaymentAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
13,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTakerAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerFeeTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
15,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAcceptedArbitratorNodeAddressesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
16,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAcceptedMediatorNodeAddressesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
17,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getArbitratorNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
18,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMediatorNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
29,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
20,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountAgeWitnessSignatureOfOfferId_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
21,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCurrentDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
22,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAcceptedRefundAgentNodeAddressesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
23,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRefundAgentNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
24,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 2;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_amount = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTradeAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setTradeAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_price = 4;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTradePrice = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setTradePrice = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 tx_fee = 5;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTxFee = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setTxFee = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 taker_fee = 6;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTakerFee = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setTakerFee = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated RawTransactionInput raw_transaction_inputs = 7;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.RawTransactionInput>}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getRawTransactionInputsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.RawTransactionInput>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.RawTransactionInput, 7));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.RawTransactionInput>} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setRawTransactionInputsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.RawTransactionInput=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.RawTransactionInput}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.addRawTransactionInputs = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.io.bisq.protobuffer.RawTransactionInput, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.clearRawTransactionInputsList = function() {
|
|
return this.setRawTransactionInputsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 change_output_value = 8;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getChangeOutputValue = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setChangeOutputValue = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string change_output_address = 9;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getChangeOutputAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setChangeOutputAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes taker_multi_sig_pub_key = 10;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTakerMultiSigPubKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes taker_multi_sig_pub_key = 10;
|
|
* This is a type-conversion wrapper around `getTakerMultiSigPubKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTakerMultiSigPubKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getTakerMultiSigPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes taker_multi_sig_pub_key = 10;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getTakerMultiSigPubKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTakerMultiSigPubKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getTakerMultiSigPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setTakerMultiSigPubKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string taker_payout_address_string = 11;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTakerPayoutAddressString = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setTakerPayoutAddressString = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing taker_pub_key_ring = 12;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTakerPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 12));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setTakerPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.clearTakerPubKeyRing = function() {
|
|
return this.setTakerPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.hasTakerPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 12) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentAccountPayload taker_payment_account_payload = 13;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTakerPaymentAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccountPayload, 13));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setTakerPaymentAccountPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.clearTakerPaymentAccountPayload = function() {
|
|
return this.setTakerPaymentAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.hasTakerPaymentAccountPayload = function() {
|
|
return jspb.Message.getField(this, 13) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string taker_account_id = 14;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTakerAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setTakerAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string taker_fee_tx_id = 15;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getTakerFeeTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setTakerFeeTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated NodeAddress accepted_arbitrator_node_addresses = 16;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.NodeAddress>}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getAcceptedArbitratorNodeAddressesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.NodeAddress>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 16));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.NodeAddress>} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setAcceptedArbitratorNodeAddressesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 16, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.NodeAddress=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.addAcceptedArbitratorNodeAddresses = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.io.bisq.protobuffer.NodeAddress, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.clearAcceptedArbitratorNodeAddressesList = function() {
|
|
return this.setAcceptedArbitratorNodeAddressesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated NodeAddress accepted_mediator_node_addresses = 17;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.NodeAddress>}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getAcceptedMediatorNodeAddressesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.NodeAddress>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 17));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.NodeAddress>} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setAcceptedMediatorNodeAddressesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.NodeAddress=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.addAcceptedMediatorNodeAddresses = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.io.bisq.protobuffer.NodeAddress, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.clearAcceptedMediatorNodeAddressesList = function() {
|
|
return this.setAcceptedMediatorNodeAddressesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress arbitrator_node_address = 18;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getArbitratorNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 18));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setArbitratorNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 18, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.clearArbitratorNodeAddress = function() {
|
|
return this.setArbitratorNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.hasArbitratorNodeAddress = function() {
|
|
return jspb.Message.getField(this, 18) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress mediator_node_address = 29;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getMediatorNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 29));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setMediatorNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 29, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.clearMediatorNodeAddress = function() {
|
|
return this.setMediatorNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.hasMediatorNodeAddress = function() {
|
|
return jspb.Message.getField(this, 29) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 20;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 20, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_offer_id = 21;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getAccountAgeWitnessSignatureOfOfferId = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_offer_id = 21;
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessSignatureOfOfferId()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getAccountAgeWitnessSignatureOfOfferId_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getAccountAgeWitnessSignatureOfOfferId()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_offer_id = 21;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessSignatureOfOfferId()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getAccountAgeWitnessSignatureOfOfferId_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getAccountAgeWitnessSignatureOfOfferId()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setAccountAgeWitnessSignatureOfOfferId = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 21, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 current_date = 22;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getCurrentDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 22, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setCurrentDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 22, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated NodeAddress accepted_refund_agent_node_addresses = 23;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.NodeAddress>}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getAcceptedRefundAgentNodeAddressesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.NodeAddress>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 23));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.NodeAddress>} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setAcceptedRefundAgentNodeAddressesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 23, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.NodeAddress=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.addAcceptedRefundAgentNodeAddresses = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 23, opt_value, proto.io.bisq.protobuffer.NodeAddress, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.clearAcceptedRefundAgentNodeAddressesList = function() {
|
|
return this.setAcceptedRefundAgentNodeAddressesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress refund_agent_node_address = 24;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.getRefundAgentNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 24));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.setRefundAgentNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 24, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.clearRefundAgentNodeAddress = function() {
|
|
return this.setRefundAgentNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxRequest.prototype.hasRefundAgentNodeAddress = function() {
|
|
return jspb.Message.getField(this, 24) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.repeatedFields_ = [8];
|
|
|
|
|
|
|
|
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_<name>, 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.InputsForDepositTxResponse.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.InputsForDepositTxResponse.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.InputsForDepositTxResponse} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
makerPaymentAccountPayload: (f = msg.getMakerPaymentAccountPayload()) && proto.io.bisq.protobuffer.PaymentAccountPayload.toObject(includeInstance, f),
|
|
makerAccountId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
makerContractAsJson: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
makerContractSignature: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
makerPayoutAddressString: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
preparedDepositTx: msg.getPreparedDepositTx_asB64(),
|
|
makerInputsList: jspb.Message.toObjectList(msg.getMakerInputsList(),
|
|
proto.io.bisq.protobuffer.RawTransactionInput.toObject, includeInstance),
|
|
makerMultiSigPubKey: msg.getMakerMultiSigPubKey_asB64(),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
accountAgeWitnessSignatureOfPreparedDepositTx: msg.getAccountAgeWitnessSignatureOfPreparedDepositTx_asB64(),
|
|
currentDate: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
lockTime: jspb.Message.getFieldWithDefault(msg, 14, 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.InputsForDepositTxResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.InputsForDepositTxResponse;
|
|
return proto.io.bisq.protobuffer.InputsForDepositTxResponse.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.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 = new proto.io.bisq.protobuffer.PaymentAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccountPayload.deserializeBinaryFromReader);
|
|
msg.setMakerPaymentAccountPayload(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerAccountId(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerContractAsJson(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerContractSignature(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerPayoutAddressString(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setPreparedDepositTx(value);
|
|
break;
|
|
case 8:
|
|
var value = new proto.io.bisq.protobuffer.RawTransactionInput;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RawTransactionInput.deserializeBinaryFromReader);
|
|
msg.addMakerInputs(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setMakerMultiSigPubKey(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setAccountAgeWitnessSignatureOfPreparedDepositTx(value);
|
|
break;
|
|
case 13:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCurrentDate(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setLockTime(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.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.InputsForDepositTxResponse} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerPaymentAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMakerAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerContractAsJson();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerContractSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerPayoutAddressString();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPreparedDepositTx_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerInputsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
8,
|
|
f,
|
|
proto.io.bisq.protobuffer.RawTransactionInput.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMakerMultiSigPubKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountAgeWitnessSignatureOfPreparedDepositTx_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCurrentDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
13,
|
|
f
|
|
);
|
|
}
|
|
f = message.getLockTime();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentAccountPayload maker_payment_account_payload = 2;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getMakerPaymentAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccountPayload, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setMakerPaymentAccountPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.clearMakerPaymentAccountPayload = function() {
|
|
return this.setMakerPaymentAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.hasMakerPaymentAccountPayload = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_account_id = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getMakerAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setMakerAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_contract_as_json = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getMakerContractAsJson = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setMakerContractAsJson = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_contract_signature = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getMakerContractSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setMakerContractSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_payout_address_string = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getMakerPayoutAddressString = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setMakerPayoutAddressString = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes prepared_deposit_tx = 7;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getPreparedDepositTx = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes prepared_deposit_tx = 7;
|
|
* This is a type-conversion wrapper around `getPreparedDepositTx()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getPreparedDepositTx_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getPreparedDepositTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes prepared_deposit_tx = 7;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getPreparedDepositTx()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getPreparedDepositTx_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getPreparedDepositTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setPreparedDepositTx = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated RawTransactionInput maker_inputs = 8;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.RawTransactionInput>}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getMakerInputsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.RawTransactionInput>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.RawTransactionInput, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.RawTransactionInput>} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setMakerInputsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.RawTransactionInput=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.RawTransactionInput}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.addMakerInputs = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.io.bisq.protobuffer.RawTransactionInput, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.clearMakerInputsList = function() {
|
|
return this.setMakerInputsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes maker_multi_sig_pub_key = 9;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getMakerMultiSigPubKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes maker_multi_sig_pub_key = 9;
|
|
* This is a type-conversion wrapper around `getMakerMultiSigPubKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getMakerMultiSigPubKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getMakerMultiSigPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes maker_multi_sig_pub_key = 9;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getMakerMultiSigPubKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getMakerMultiSigPubKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getMakerMultiSigPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setMakerMultiSigPubKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 10;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 10) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 11;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_prepared_deposit_tx = 12;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getAccountAgeWitnessSignatureOfPreparedDepositTx = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_prepared_deposit_tx = 12;
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessSignatureOfPreparedDepositTx()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getAccountAgeWitnessSignatureOfPreparedDepositTx_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getAccountAgeWitnessSignatureOfPreparedDepositTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_prepared_deposit_tx = 12;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessSignatureOfPreparedDepositTx()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getAccountAgeWitnessSignatureOfPreparedDepositTx_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getAccountAgeWitnessSignatureOfPreparedDepositTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setAccountAgeWitnessSignatureOfPreparedDepositTx = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 current_date = 13;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getCurrentDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setCurrentDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 lock_time = 14;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.getLockTime = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InputsForDepositTxResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InputsForDepositTxResponse.prototype.setLockTime = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 14, 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_<name>, 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.InitTradeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.InitTradeRequest.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.InitTradeRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
pubKeyRing: (f = msg.getPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
tradeAmount: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
tradePrice: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
tradeFee: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
accountId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
paymentAccountId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
paymentMethodId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
accountAgeWitnessSignatureOfOfferId: msg.getAccountAgeWitnessSignatureOfOfferId_asB64(),
|
|
currentDate: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
makerNodeAddress: (f = msg.getMakerNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
takerNodeAddress: (f = msg.getTakerNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
arbitratorNodeAddress: (f = msg.getArbitratorNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
reserveTxHash: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
reserveTxHex: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
reserveTxKey: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
payoutAddress: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
makerSignature: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
};
|
|
|
|
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.InitTradeRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.InitTradeRequest;
|
|
return proto.io.bisq.protobuffer.InitTradeRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.InitTradeRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.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 = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setPubKeyRing(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradeAmount(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradePrice(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradeFee(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountId(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPaymentAccountId(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPaymentMethodId(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setAccountAgeWitnessSignatureOfOfferId(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCurrentDate(value);
|
|
break;
|
|
case 13:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setMakerNodeAddress(value);
|
|
break;
|
|
case 14:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setTakerNodeAddress(value);
|
|
break;
|
|
case 15:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setArbitratorNodeAddress(value);
|
|
break;
|
|
case 16:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxHash(value);
|
|
break;
|
|
case 17:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxHex(value);
|
|
break;
|
|
case 18:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxKey(value);
|
|
break;
|
|
case 19:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPayoutAddress(value);
|
|
break;
|
|
case 20:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerSignature(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.InitTradeRequest.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.InitTradeRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTradeAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradePrice();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeFee();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentMethodId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountAgeWitnessSignatureOfOfferId_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCurrentDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
13,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTakerNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
14,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getArbitratorNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
15,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getReserveTxHash();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
16,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
17,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxKey();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
18,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayoutAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
19,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
20,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 2;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing pub_key_ring = 3;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.clearPubKeyRing = function() {
|
|
return this.setPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.hasPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_amount = 4;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getTradeAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setTradeAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_price = 5;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getTradePrice = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setTradePrice = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_fee = 6;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getTradeFee = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setTradeFee = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_id = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payment_account_id = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getPaymentAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setPaymentAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payment_method_id = 9;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getPaymentMethodId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setPaymentMethodId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 10;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_offer_id = 11;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getAccountAgeWitnessSignatureOfOfferId = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_offer_id = 11;
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessSignatureOfOfferId()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getAccountAgeWitnessSignatureOfOfferId_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getAccountAgeWitnessSignatureOfOfferId()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_offer_id = 11;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessSignatureOfOfferId()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getAccountAgeWitnessSignatureOfOfferId_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getAccountAgeWitnessSignatureOfOfferId()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setAccountAgeWitnessSignatureOfOfferId = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 current_date = 12;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getCurrentDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setCurrentDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress maker_node_address = 13;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getMakerNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 13));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setMakerNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.clearMakerNodeAddress = function() {
|
|
return this.setMakerNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.hasMakerNodeAddress = function() {
|
|
return jspb.Message.getField(this, 13) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress taker_node_address = 14;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getTakerNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 14));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setTakerNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.clearTakerNodeAddress = function() {
|
|
return this.setTakerNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.hasTakerNodeAddress = function() {
|
|
return jspb.Message.getField(this, 14) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress arbitrator_node_address = 15;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getArbitratorNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 15));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setArbitratorNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.clearArbitratorNodeAddress = function() {
|
|
return this.setArbitratorNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.hasArbitratorNodeAddress = function() {
|
|
return jspb.Message.getField(this, 15) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_hash = 16;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getReserveTxHash = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setReserveTxHash = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 16, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_hex = 17;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getReserveTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setReserveTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 17, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_key = 18;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getReserveTxKey = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setReserveTxKey = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 18, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payout_address = 19;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getPayoutAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setPayoutAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 19, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_signature = 20;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.getMakerSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitTradeRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitTradeRequest.prototype.setMakerSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 20, 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_<name>, 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.InitMultisigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.InitMultisigRequest.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.InitMultisigRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
currentDate: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
preparedMultisigHex: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
madeMultisigHex: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
exchangedMultisigHex: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
};
|
|
|
|
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.InitMultisigRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.InitMultisigRequest;
|
|
return proto.io.bisq.protobuffer.InitMultisigRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.InitMultisigRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.InitMultisigRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.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.setUid(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCurrentDate(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPreparedMultisigHex(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMadeMultisigHex(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setExchangedMultisigHex(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.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.InitMultisigRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCurrentDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPreparedMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMadeMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExchangedMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitMultisigRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitMultisigRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 current_date = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.getCurrentDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.InitMultisigRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.setCurrentDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string prepared_multisig_hex = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.getPreparedMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitMultisigRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.setPreparedMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string made_multisig_hex = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.getMadeMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitMultisigRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.setMadeMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string exchanged_multisig_hex = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.getExchangedMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InitMultisigRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InitMultisigRequest.prototype.setExchangedMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, 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_<name>, 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.SignContractRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SignContractRequest.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.SignContractRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
currentDate: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
accountId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
paymentAccountPayloadHash: msg.getPaymentAccountPayloadHash_asB64(),
|
|
payoutAddress: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
depositTxHash: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
accountAgeWitnessSignatureOfDepositHash: msg.getAccountAgeWitnessSignatureOfDepositHash_asB64()
|
|
};
|
|
|
|
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.SignContractRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SignContractRequest;
|
|
return proto.io.bisq.protobuffer.SignContractRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SignContractRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SignContractRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.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.setUid(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCurrentDate(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountId(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setPaymentAccountPayloadHash(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPayoutAddress(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDepositTxHash(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setAccountAgeWitnessSignatureOfDepositHash(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SignContractRequest.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.SignContractRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCurrentDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentAccountPayloadHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayoutAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositTxHash();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountAgeWitnessSignatureOfDepositHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 current_date = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getCurrentDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.setCurrentDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_id = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.setAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_payload_hash = 5;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getPaymentAccountPayloadHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_payload_hash = 5;
|
|
* This is a type-conversion wrapper around `getPaymentAccountPayloadHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getPaymentAccountPayloadHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getPaymentAccountPayloadHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_payload_hash = 5;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getPaymentAccountPayloadHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getPaymentAccountPayloadHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getPaymentAccountPayloadHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.setPaymentAccountPayloadHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payout_address = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getPayoutAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.setPayoutAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string deposit_tx_hash = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getDepositTxHash = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.setDepositTxHash = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_deposit_hash = 8;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getAccountAgeWitnessSignatureOfDepositHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_deposit_hash = 8;
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessSignatureOfDepositHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getAccountAgeWitnessSignatureOfDepositHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getAccountAgeWitnessSignatureOfDepositHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature_of_deposit_hash = 8;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessSignatureOfDepositHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.getAccountAgeWitnessSignatureOfDepositHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getAccountAgeWitnessSignatureOfDepositHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractRequest.prototype.setAccountAgeWitnessSignatureOfDepositHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 8, 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_<name>, 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.SignContractResponse.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SignContractResponse.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.SignContractResponse} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
currentDate: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
contractAsJson: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
contractSignature: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
encryptedPaymentAccountPayload: msg.getEncryptedPaymentAccountPayload_asB64()
|
|
};
|
|
|
|
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.SignContractResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SignContractResponse;
|
|
return proto.io.bisq.protobuffer.SignContractResponse.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SignContractResponse} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SignContractResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.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.setUid(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCurrentDate(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setContractAsJson(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setContractSignature(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setEncryptedPaymentAccountPayload(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SignContractResponse.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.SignContractResponse} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCurrentDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContractAsJson();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContractSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEncryptedPaymentAccountPayload_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 current_date = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.getCurrentDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.setCurrentDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string contract_as_json = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.getContractAsJson = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.setContractAsJson = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string contract_signature = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.getContractSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.setContractSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_payment_account_payload = 6;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.getEncryptedPaymentAccountPayload = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_payment_account_payload = 6;
|
|
* This is a type-conversion wrapper around `getEncryptedPaymentAccountPayload()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.getEncryptedPaymentAccountPayload_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getEncryptedPaymentAccountPayload()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_payment_account_payload = 6;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getEncryptedPaymentAccountPayload()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.getEncryptedPaymentAccountPayload_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getEncryptedPaymentAccountPayload()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.SignContractResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignContractResponse.prototype.setEncryptedPaymentAccountPayload = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 6, 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_<name>, 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.DepositRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DepositRequest.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.DepositRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
currentDate: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
contractSignature: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
depositTxHex: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
depositTxKey: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
paymentAccountKey: msg.getPaymentAccountKey_asB64()
|
|
};
|
|
|
|
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.DepositRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DepositRequest;
|
|
return proto.io.bisq.protobuffer.DepositRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DepositRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DepositRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.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.setUid(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCurrentDate(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setContractSignature(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDepositTxHex(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDepositTxKey(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setPaymentAccountKey(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DepositRequest.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.DepositRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCurrentDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContractSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositTxKey();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentAccountKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 current_date = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.getCurrentDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.setCurrentDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string contract_signature = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.getContractSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.setContractSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string deposit_tx_hex = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.getDepositTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.setDepositTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string deposit_tx_key = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.getDepositTxKey = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.setDepositTxKey = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_key = 7;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.getPaymentAccountKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_key = 7;
|
|
* This is a type-conversion wrapper around `getPaymentAccountKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.getPaymentAccountKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getPaymentAccountKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_key = 7;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getPaymentAccountKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.getPaymentAccountKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getPaymentAccountKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositRequest.prototype.setPaymentAccountKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(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_<name>, 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.DepositResponse.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DepositResponse.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.DepositResponse} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
currentDate: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
errorMessage: 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.DepositResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DepositResponse;
|
|
return proto.io.bisq.protobuffer.DepositResponse.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DepositResponse} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DepositResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.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.setUid(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCurrentDate(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setErrorMessage(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DepositResponse.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.DepositResponse} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCurrentDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getErrorMessage();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 current_date = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.prototype.getCurrentDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.prototype.setCurrentDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string error_message = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.prototype.getErrorMessage = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositResponse.prototype.setErrorMessage = 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_<name>, 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.DepositsConfirmedMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DepositsConfirmedMessage.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.DepositsConfirmedMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
pubKeyRing: (f = msg.getPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
sellerPaymentAccountKey: msg.getSellerPaymentAccountKey_asB64(),
|
|
updatedMultisigHex: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
};
|
|
|
|
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.DepositsConfirmedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DepositsConfirmedMessage;
|
|
return proto.io.bisq.protobuffer.DepositsConfirmedMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DepositsConfirmedMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DepositsConfirmedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.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 = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setPubKeyRing(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSellerPaymentAccountKey(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUpdatedMultisigHex(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.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.DepositsConfirmedMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSellerPaymentAccountKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUpdatedMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositsConfirmedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 2;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositsConfirmedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DepositsConfirmedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing pub_key_ring = 3;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.getPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositsConfirmedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.setPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DepositsConfirmedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.clearPubKeyRing = function() {
|
|
return this.setPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.hasPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositsConfirmedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes seller_payment_account_key = 5;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.getSellerPaymentAccountKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes seller_payment_account_key = 5;
|
|
* This is a type-conversion wrapper around `getSellerPaymentAccountKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.getSellerPaymentAccountKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSellerPaymentAccountKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes seller_payment_account_key = 5;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSellerPaymentAccountKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.getSellerPaymentAccountKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSellerPaymentAccountKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositsConfirmedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.setSellerPaymentAccountKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string updated_multisig_hex = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.getUpdatedMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositsConfirmedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositsConfirmedMessage.prototype.setUpdatedMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, 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_<name>, 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.DelayedPayoutTxSignatureRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.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.DelayedPayoutTxSignatureRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
delayedPayoutTx: msg.getDelayedPayoutTx_asB64(),
|
|
delayedPayoutTxSellerSignature: msg.getDelayedPayoutTxSellerSignature_asB64()
|
|
};
|
|
|
|
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.DelayedPayoutTxSignatureRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest;
|
|
return proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.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.setUid(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTradeId(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setDelayedPayoutTx(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setDelayedPayoutTxSellerSignature(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.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.DelayedPayoutTxSignatureRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDelayedPayoutTx_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDelayedPayoutTxSellerSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 3;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx = 4;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.getDelayedPayoutTx = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx = 4;
|
|
* This is a type-conversion wrapper around `getDelayedPayoutTx()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.getDelayedPayoutTx_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getDelayedPayoutTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx = 4;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getDelayedPayoutTx()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.getDelayedPayoutTx_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getDelayedPayoutTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.setDelayedPayoutTx = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx_seller_signature = 5;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.getDelayedPayoutTxSellerSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx_seller_signature = 5;
|
|
* This is a type-conversion wrapper around `getDelayedPayoutTxSellerSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.getDelayedPayoutTxSellerSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getDelayedPayoutTxSellerSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx_seller_signature = 5;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getDelayedPayoutTxSellerSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.getDelayedPayoutTxSellerSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getDelayedPayoutTxSellerSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureRequest.prototype.setDelayedPayoutTxSellerSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(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_<name>, 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.DelayedPayoutTxSignatureResponse.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.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.DelayedPayoutTxSignatureResponse} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
delayedPayoutTxBuyerSignature: msg.getDelayedPayoutTxBuyerSignature_asB64(),
|
|
depositTx: msg.getDepositTx_asB64()
|
|
};
|
|
|
|
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.DelayedPayoutTxSignatureResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse;
|
|
return proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.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.setUid(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTradeId(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setDelayedPayoutTxBuyerSignature(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setDepositTx(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.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.DelayedPayoutTxSignatureResponse} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDelayedPayoutTxBuyerSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositTx_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 3;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx_buyer_signature = 4;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.getDelayedPayoutTxBuyerSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx_buyer_signature = 4;
|
|
* This is a type-conversion wrapper around `getDelayedPayoutTxBuyerSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.getDelayedPayoutTxBuyerSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getDelayedPayoutTxBuyerSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx_buyer_signature = 4;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getDelayedPayoutTxBuyerSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.getDelayedPayoutTxBuyerSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getDelayedPayoutTxBuyerSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.setDelayedPayoutTxBuyerSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx = 5;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.getDepositTx = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx = 5;
|
|
* This is a type-conversion wrapper around `getDepositTx()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.getDepositTx_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getDepositTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx = 5;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getDepositTx()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.getDepositTx_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getDepositTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DelayedPayoutTxSignatureResponse.prototype.setDepositTx = function(value) {
|
|
return jspb.Message.setProto3BytesField(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_<name>, 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.DepositTxAndDelayedPayoutTxMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.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.DepositTxAndDelayedPayoutTxMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
depositTx: msg.getDepositTx_asB64(),
|
|
delayedPayoutTx: msg.getDelayedPayoutTx_asB64()
|
|
};
|
|
|
|
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.DepositTxAndDelayedPayoutTxMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage;
|
|
return proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.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.setUid(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTradeId(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setDepositTx(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setDelayedPayoutTx(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.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.DepositTxAndDelayedPayoutTxMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDepositTx_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDelayedPayoutTx_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 3;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx = 4;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.getDepositTx = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx = 4;
|
|
* This is a type-conversion wrapper around `getDepositTx()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.getDepositTx_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getDepositTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx = 4;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getDepositTx()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.getDepositTx_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getDepositTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.setDepositTx = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx = 5;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.getDelayedPayoutTx = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx = 5;
|
|
* This is a type-conversion wrapper around `getDelayedPayoutTx()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.getDelayedPayoutTx_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getDelayedPayoutTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes delayed_payout_tx = 5;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getDelayedPayoutTx()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.getDelayedPayoutTx_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getDelayedPayoutTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxAndDelayedPayoutTxMessage.prototype.setDelayedPayoutTx = function(value) {
|
|
return jspb.Message.setProto3BytesField(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_<name>, 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.DepositTxMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DepositTxMessage.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.DepositTxMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
depositTxWithoutWitnesses: msg.getDepositTxWithoutWitnesses_asB64(),
|
|
pubKeyRing: (f = msg.getPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
tradeFeeTxId: jspb.Message.getFieldWithDefault(msg, 102, ""),
|
|
depositTxId: jspb.Message.getFieldWithDefault(msg, 103, "")
|
|
};
|
|
|
|
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.DepositTxMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DepositTxMessage;
|
|
return proto.io.bisq.protobuffer.DepositTxMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DepositTxMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.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.setUid(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTradeId(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setDepositTxWithoutWitnesses(value);
|
|
break;
|
|
case 100:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setPubKeyRing(value);
|
|
break;
|
|
case 102:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTradeFeeTxId(value);
|
|
break;
|
|
case 103:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDepositTxId(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DepositTxMessage.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.DepositTxMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDepositTxWithoutWitnesses_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
100,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTradeFeeTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
102,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
103,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 3;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx_without_witnesses = 4;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.getDepositTxWithoutWitnesses = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx_without_witnesses = 4;
|
|
* This is a type-conversion wrapper around `getDepositTxWithoutWitnesses()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.getDepositTxWithoutWitnesses_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getDepositTxWithoutWitnesses()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx_without_witnesses = 4;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getDepositTxWithoutWitnesses()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.getDepositTxWithoutWitnesses_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getDepositTxWithoutWitnesses()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.setDepositTxWithoutWitnesses = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing pub_key_ring = 100;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.getPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 100));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.setPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 100, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.clearPubKeyRing = function() {
|
|
return this.setPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.hasPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 100) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_fee_tx_id = 102;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.getTradeFeeTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 102, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.setTradeFeeTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 102, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string deposit_tx_id = 103;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.getDepositTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 103, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DepositTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DepositTxMessage.prototype.setDepositTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 103, 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_<name>, 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.PeerPublishedDelayedPayoutTxMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.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.PeerPublishedDelayedPayoutTxMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.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.PeerPublishedDelayedPayoutTxMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage;
|
|
return proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.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.setUid(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTradeId(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.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.PeerPublishedDelayedPayoutTxMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 3;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerPublishedDelayedPayoutTxMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 3) != 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_<name>, 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.PaymentSentMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PaymentSentMessage.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.PaymentSentMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
counterCurrencyTxId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
counterCurrencyExtraData: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
payoutTxHex: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
updatedMultisigHex: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
paymentAccountKey: msg.getPaymentAccountKey_asB64(),
|
|
sellerAccountAgeWitness: (f = msg.getSellerAccountAgeWitness()) && proto.io.bisq.protobuffer.AccountAgeWitness.toObject(includeInstance, f),
|
|
buyerSignature: msg.getBuyerSignature_asB64()
|
|
};
|
|
|
|
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.PaymentSentMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PaymentSentMessage;
|
|
return proto.io.bisq.protobuffer.PaymentSentMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PaymentSentMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.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 = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCounterCurrencyTxId(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCounterCurrencyExtraData(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPayoutTxHex(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUpdatedMultisigHex(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setPaymentAccountKey(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.io.bisq.protobuffer.AccountAgeWitness;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AccountAgeWitness.deserializeBinaryFromReader);
|
|
msg.setSellerAccountAgeWitness(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setBuyerSignature(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.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.PaymentSentMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCounterCurrencyTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCounterCurrencyExtraData();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayoutTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUpdatedMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentAccountKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSellerAccountAgeWitness();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
9,
|
|
f,
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBuyerSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 2;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string counter_currency_tx_id = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getCounterCurrencyTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.setCounterCurrencyTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string counter_currency_extra_data = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getCounterCurrencyExtraData = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.setCounterCurrencyExtraData = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payout_tx_hex = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getPayoutTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.setPayoutTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string updated_multisig_hex = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getUpdatedMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.setUpdatedMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_key = 8;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getPaymentAccountKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_key = 8;
|
|
* This is a type-conversion wrapper around `getPaymentAccountKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getPaymentAccountKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getPaymentAccountKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_key = 8;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getPaymentAccountKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getPaymentAccountKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getPaymentAccountKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.setPaymentAccountKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AccountAgeWitness seller_account_age_witness = 9;
|
|
* @return {?proto.io.bisq.protobuffer.AccountAgeWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getSellerAccountAgeWitness = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AccountAgeWitness} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AccountAgeWitness, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AccountAgeWitness|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.setSellerAccountAgeWitness = function(value) {
|
|
return jspb.Message.setWrapperField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.clearSellerAccountAgeWitness = function() {
|
|
return this.setSellerAccountAgeWitness(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.hasSellerAccountAgeWitness = function() {
|
|
return jspb.Message.getField(this, 9) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes buyer_signature = 10;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getBuyerSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes buyer_signature = 10;
|
|
* This is a type-conversion wrapper around `getBuyerSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getBuyerSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getBuyerSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes buyer_signature = 10;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getBuyerSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.getBuyerSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getBuyerSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentSentMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.prototype.setBuyerSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(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_<name>, 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.PaymentReceivedMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PaymentReceivedMessage.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.PaymentReceivedMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
unsignedPayoutTxHex: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
signedPayoutTxHex: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
updatedMultisigHex: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
deferPublishPayout: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
buyerAccountAgeWitness: (f = msg.getBuyerAccountAgeWitness()) && proto.io.bisq.protobuffer.AccountAgeWitness.toObject(includeInstance, f),
|
|
buyerSignedWitness: (f = msg.getBuyerSignedWitness()) && proto.io.bisq.protobuffer.SignedWitness.toObject(includeInstance, f),
|
|
paymentSentMessage: (f = msg.getPaymentSentMessage()) && proto.io.bisq.protobuffer.PaymentSentMessage.toObject(includeInstance, f),
|
|
sellerSignature: msg.getSellerSignature_asB64()
|
|
};
|
|
|
|
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.PaymentReceivedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PaymentReceivedMessage;
|
|
return proto.io.bisq.protobuffer.PaymentReceivedMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PaymentReceivedMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.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 = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUnsignedPayoutTxHex(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSignedPayoutTxHex(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUpdatedMultisigHex(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setDeferPublishPayout(value);
|
|
break;
|
|
case 8:
|
|
var value = new proto.io.bisq.protobuffer.AccountAgeWitness;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AccountAgeWitness.deserializeBinaryFromReader);
|
|
msg.setBuyerAccountAgeWitness(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.io.bisq.protobuffer.SignedWitness;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SignedWitness.deserializeBinaryFromReader);
|
|
msg.setBuyerSignedWitness(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.PaymentSentMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentSentMessage.deserializeBinaryFromReader);
|
|
msg.setPaymentSentMessage(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSellerSignature(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.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.PaymentReceivedMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUnsignedPayoutTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSignedPayoutTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUpdatedMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDeferPublishPayout();
|
|
if (f) {
|
|
writer.writeBool(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBuyerAccountAgeWitness();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
8,
|
|
f,
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBuyerSignedWitness();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
9,
|
|
f,
|
|
proto.io.bisq.protobuffer.SignedWitness.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPaymentSentMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSellerSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 2;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string unsigned_payout_tx_hex = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getUnsignedPayoutTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.setUnsignedPayoutTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string signed_payout_tx_hex = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getSignedPayoutTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.setSignedPayoutTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string updated_multisig_hex = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getUpdatedMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.setUpdatedMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool defer_publish_payout = 7;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getDeferPublishPayout = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.setDeferPublishPayout = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AccountAgeWitness buyer_account_age_witness = 8;
|
|
* @return {?proto.io.bisq.protobuffer.AccountAgeWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getBuyerAccountAgeWitness = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AccountAgeWitness} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AccountAgeWitness, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AccountAgeWitness|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.setBuyerAccountAgeWitness = function(value) {
|
|
return jspb.Message.setWrapperField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.clearBuyerAccountAgeWitness = function() {
|
|
return this.setBuyerAccountAgeWitness(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.hasBuyerAccountAgeWitness = function() {
|
|
return jspb.Message.getField(this, 8) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SignedWitness buyer_signed_witness = 9;
|
|
* @return {?proto.io.bisq.protobuffer.SignedWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getBuyerSignedWitness = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SignedWitness} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SignedWitness, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SignedWitness|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.setBuyerSignedWitness = function(value) {
|
|
return jspb.Message.setWrapperField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.clearBuyerSignedWitness = function() {
|
|
return this.setBuyerSignedWitness(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.hasBuyerSignedWitness = function() {
|
|
return jspb.Message.getField(this, 9) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentSentMessage payment_sent_message = 10;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentSentMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getPaymentSentMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentSentMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentSentMessage, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentSentMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.setPaymentSentMessage = function(value) {
|
|
return jspb.Message.setWrapperField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.clearPaymentSentMessage = function() {
|
|
return this.setPaymentSentMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.hasPaymentSentMessage = function() {
|
|
return jspb.Message.getField(this, 10) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes seller_signature = 11;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getSellerSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes seller_signature = 11;
|
|
* This is a type-conversion wrapper around `getSellerSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getSellerSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSellerSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes seller_signature = 11;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSellerSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.getSellerSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSellerSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentReceivedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.prototype.setSellerSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 11, 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_<name>, 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.MediatedPayoutTxPublishedMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.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.MediatedPayoutTxPublishedMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
payoutTx: msg.getPayoutTx_asB64(),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
uid: 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.MediatedPayoutTxPublishedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage;
|
|
return proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.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 {!Uint8Array} */ (reader.readBytes());
|
|
msg.setPayoutTx(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.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.MediatedPayoutTxPublishedMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayoutTx_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payout_tx = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.getPayoutTx = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payout_tx = 2;
|
|
* This is a type-conversion wrapper around `getPayoutTx()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.getPayoutTx_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getPayoutTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payout_tx = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getPayoutTx()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.getPayoutTx_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getPayoutTx()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.setPayoutTx = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 3;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxPublishedMessage.prototype.setUid = 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_<name>, 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.MediatedPayoutTxSignatureMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.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.MediatedPayoutTxSignatureMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
txSignature: msg.getTxSignature_asB64(),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.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.MediatedPayoutTxSignatureMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage;
|
|
return proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.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.setUid(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTradeId(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setTxSignature(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.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.MediatedPayoutTxSignatureMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTxSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes tx_signature = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.getTxSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes tx_signature = 2;
|
|
* This is a type-conversion wrapper around `getTxSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.getTxSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getTxSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes tx_signature = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getTxSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.getTxSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getTxSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.setTxSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 4;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediatedPayoutTxSignatureMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 4) != 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_<name>, 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.RefreshTradeStateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.RefreshTradeStateRequest.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.RefreshTradeStateRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.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.RefreshTradeStateRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.RefreshTradeStateRequest;
|
|
return proto.io.bisq.protobuffer.RefreshTradeStateRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.RefreshTradeStateRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.RefreshTradeStateRequest}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.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.setUid(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTradeId(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.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.RefreshTradeStateRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.RefreshTradeStateRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.RefreshTradeStateRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 3;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.RefreshTradeStateRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.RefreshTradeStateRequest} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefreshTradeStateRequest.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.repeatedFields_ = [6];
|
|
|
|
|
|
|
|
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_<name>, 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.ChatMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.ChatMessage.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.ChatMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
date: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
traderId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
senderIsTrader: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
message: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
attachmentsList: jspb.Message.toObjectList(msg.getAttachmentsList(),
|
|
proto.io.bisq.protobuffer.Attachment.toObject, includeInstance),
|
|
arrived: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
storedInMailbox: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
isSystemMessage: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
sendMessageError: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
acknowledged: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
ackError: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
type: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
wasDisplayed: jspb.Message.getBooleanFieldWithDefault(msg, 16, 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.ChatMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.ChatMessage;
|
|
return proto.io.bisq.protobuffer.ChatMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.ChatMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setDate(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTradeId(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setTraderId(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setSenderIsTrader(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMessage(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.Attachment;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Attachment.deserializeBinaryFromReader);
|
|
msg.addAttachments(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setArrived(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setStoredInMailbox(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsSystemMessage(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSendMessageError(value);
|
|
break;
|
|
case 13:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setAcknowledged(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAckError(value);
|
|
break;
|
|
case 15:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.SupportType} */ (reader.readEnum());
|
|
msg.setType(value);
|
|
break;
|
|
case 16:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setWasDisplayed(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.ChatMessage.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.ChatMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTraderId();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderIsTrader();
|
|
if (f) {
|
|
writer.writeBool(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMessage();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAttachmentsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.Attachment.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getArrived();
|
|
if (f) {
|
|
writer.writeBool(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getStoredInMailbox();
|
|
if (f) {
|
|
writer.writeBool(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIsSystemMessage();
|
|
if (f) {
|
|
writer.writeBool(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSendMessageError();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAcknowledged();
|
|
if (f) {
|
|
writer.writeBool(
|
|
13,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAckError();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getType();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
15,
|
|
f
|
|
);
|
|
}
|
|
f = message.getWasDisplayed();
|
|
if (f) {
|
|
writer.writeBool(
|
|
16,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 date = 1;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_id = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 trader_id = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getTraderId = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setTraderId = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool sender_is_trader = 4;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getSenderIsTrader = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setSenderIsTrader = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string message = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getMessage = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setMessage = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Attachment attachments = 6;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Attachment>}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getAttachmentsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Attachment>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Attachment, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Attachment>} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setAttachmentsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Attachment=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Attachment}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.addAttachments = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.io.bisq.protobuffer.Attachment, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.clearAttachmentsList = function() {
|
|
return this.setAttachmentsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool arrived = 7;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getArrived = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setArrived = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool stored_in_mailbox = 8;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getStoredInMailbox = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setStoredInMailbox = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_system_message = 9;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getIsSystemMessage = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setIsSystemMessage = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 10;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 10) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 11;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string send_message_error = 12;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getSendMessageError = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setSendMessageError = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool acknowledged = 13;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getAcknowledged = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setAcknowledged = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string ack_error = 14;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getAckError = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setAckError = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SupportType type = 15;
|
|
* @return {!proto.io.bisq.protobuffer.SupportType}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getType = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.SupportType} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.SupportType} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setType = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool was_displayed = 16;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.getWasDisplayed = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChatMessage.prototype.setWasDisplayed = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 16, 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_<name>, 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.DisputeOpenedMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DisputeOpenedMessage.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.DisputeOpenedMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
dispute: (f = msg.getDispute()) && proto.io.bisq.protobuffer.Dispute.toObject(includeInstance, f),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
type: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
updatedMultisigHex: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
paymentSentMessage: (f = msg.getPaymentSentMessage()) && proto.io.bisq.protobuffer.PaymentSentMessage.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.DisputeOpenedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DisputeOpenedMessage;
|
|
return proto.io.bisq.protobuffer.DisputeOpenedMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DisputeOpenedMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DisputeOpenedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.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.Dispute;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Dispute.deserializeBinaryFromReader);
|
|
msg.setDispute(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.SupportType} */ (reader.readEnum());
|
|
msg.setType(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUpdatedMultisigHex(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.PaymentSentMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentSentMessage.deserializeBinaryFromReader);
|
|
msg.setPaymentSentMessage(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.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.DisputeOpenedMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getDispute();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Dispute.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getType();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUpdatedMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentSentMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Dispute dispute = 1;
|
|
* @return {?proto.io.bisq.protobuffer.Dispute}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.getDispute = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Dispute} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Dispute, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Dispute|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeOpenedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.setDispute = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DisputeOpenedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.clearDispute = function() {
|
|
return this.setDispute(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.hasDispute = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 2;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeOpenedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DisputeOpenedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeOpenedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SupportType type = 4;
|
|
* @return {!proto.io.bisq.protobuffer.SupportType}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.getType = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.SupportType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.SupportType} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeOpenedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.setType = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string updated_multisig_hex = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.getUpdatedMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeOpenedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.setUpdatedMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentSentMessage payment_sent_message = 6;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentSentMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.getPaymentSentMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentSentMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentSentMessage, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentSentMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeOpenedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.setPaymentSentMessage = function(value) {
|
|
return jspb.Message.setWrapperField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DisputeOpenedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.clearPaymentSentMessage = function() {
|
|
return this.setPaymentSentMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeOpenedMessage.prototype.hasPaymentSentMessage = function() {
|
|
return jspb.Message.getField(this, 6) != 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_<name>, 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.DisputeClosedMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DisputeClosedMessage.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.DisputeClosedMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
disputeResult: (f = msg.getDisputeResult()) && proto.io.bisq.protobuffer.DisputeResult.toObject(includeInstance, f),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
type: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
updatedMultisigHex: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
unsignedPayoutTxHex: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
deferPublishPayout: jspb.Message.getBooleanFieldWithDefault(msg, 7, 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.DisputeClosedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DisputeClosedMessage;
|
|
return proto.io.bisq.protobuffer.DisputeClosedMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DisputeClosedMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DisputeClosedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.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.setUid(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.DisputeResult;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DisputeResult.deserializeBinaryFromReader);
|
|
msg.setDisputeResult(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.SupportType} */ (reader.readEnum());
|
|
msg.setType(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUpdatedMultisigHex(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUnsignedPayoutTxHex(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setDeferPublishPayout(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.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.DisputeClosedMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDisputeResult();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.DisputeResult.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getType();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUpdatedMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUnsignedPayoutTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDeferPublishPayout();
|
|
if (f) {
|
|
writer.writeBool(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeClosedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DisputeResult dispute_result = 2;
|
|
* @return {?proto.io.bisq.protobuffer.DisputeResult}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.getDisputeResult = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DisputeResult} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DisputeResult, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DisputeResult|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeClosedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.setDisputeResult = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DisputeClosedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.clearDisputeResult = function() {
|
|
return this.setDisputeResult(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.hasDisputeResult = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 3;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeClosedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DisputeClosedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SupportType type = 4;
|
|
* @return {!proto.io.bisq.protobuffer.SupportType}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.getType = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.SupportType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.SupportType} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeClosedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.setType = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string updated_multisig_hex = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.getUpdatedMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeClosedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.setUpdatedMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string unsigned_payout_tx_hex = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.getUnsignedPayoutTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeClosedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.setUnsignedPayoutTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool defer_publish_payout = 7;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.getDeferPublishPayout = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeClosedMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.prototype.setDeferPublishPayout = function(value) {
|
|
return jspb.Message.setProto3BooleanField(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_<name>, 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.PrivateNotificationMessage.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PrivateNotificationMessage.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.PrivateNotificationMessage} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
privateNotificationPayload: (f = msg.getPrivateNotificationPayload()) && proto.io.bisq.protobuffer.PrivateNotificationPayload.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.PrivateNotificationMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PrivateNotificationMessage;
|
|
return proto.io.bisq.protobuffer.PrivateNotificationMessage.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PrivateNotificationMessage} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PrivateNotificationMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.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.setUid(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.PrivateNotificationPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PrivateNotificationPayload.deserializeBinaryFromReader);
|
|
msg.setPrivateNotificationPayload(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.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.PrivateNotificationMessage} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPrivateNotificationPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PrivateNotificationMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 2;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PrivateNotificationMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PrivateNotificationMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PrivateNotificationPayload private_notification_payload = 3;
|
|
* @return {?proto.io.bisq.protobuffer.PrivateNotificationPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.prototype.getPrivateNotificationPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PrivateNotificationPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PrivateNotificationPayload, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PrivateNotificationPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PrivateNotificationMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.prototype.setPrivateNotificationPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PrivateNotificationMessage} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.prototype.clearPrivateNotificationPayload = function() {
|
|
return this.setPrivateNotificationPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationMessage.prototype.hasPrivateNotificationPayload = function() {
|
|
return jspb.Message.getField(this, 3) != 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_<name>, 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.NodeAddress.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.NodeAddress.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.NodeAddress} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NodeAddress.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
hostName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
port: 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.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.NodeAddress.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.NodeAddress;
|
|
return proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.NodeAddress} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.NodeAddress.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.setHostName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setPort(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.NodeAddress.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.NodeAddress.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.NodeAddress} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHostName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPort();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string host_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.NodeAddress.prototype.getHostName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.NodeAddress} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NodeAddress.prototype.setHostName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 port = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.NodeAddress.prototype.getPort = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.NodeAddress} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NodeAddress.prototype.setPort = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.repeatedFields_ = [3];
|
|
|
|
|
|
|
|
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_<name>, 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.Peer.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Peer.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.Peer} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
nodeAddress: (f = msg.getNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
date: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
supportedCapabilitiesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : 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.Peer}
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Peer;
|
|
return proto.io.bisq.protobuffer.Peer.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Peer} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Peer}
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.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.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setNodeAddress(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setDate(value);
|
|
break;
|
|
case 3:
|
|
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
for (var i = 0; i < values.length; i++) {
|
|
msg.addSupportedCapabilities(values[i]);
|
|
}
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Peer.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.Peer} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSupportedCapabilitiesList();
|
|
if (f.length > 0) {
|
|
writer.writePackedInt32(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress node_address = 1;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.prototype.getNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Peer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.prototype.setNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Peer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.prototype.clearNodeAddress = function() {
|
|
return this.setNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.prototype.hasNodeAddress = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 date = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.prototype.getDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Peer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.prototype.setDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated int32 supported_capabilities = 3;
|
|
* @return {!Array<number>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.prototype.getSupportedCapabilitiesList = function() {
|
|
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<number>} value
|
|
* @return {!proto.io.bisq.protobuffer.Peer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.prototype.setSupportedCapabilitiesList = function(value) {
|
|
return jspb.Message.setField(this, 3, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Peer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.prototype.addSupportedCapabilities = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Peer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Peer.prototype.clearSupportedCapabilitiesList = function() {
|
|
return this.setSupportedCapabilitiesList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.PubKeyRing.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PubKeyRing.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.PubKeyRing} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
signaturePubKeyBytes: msg.getSignaturePubKeyBytes_asB64(),
|
|
encryptionPubKeyBytes: msg.getEncryptionPubKeyBytes_asB64()
|
|
};
|
|
|
|
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.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
return proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PubKeyRing} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSignaturePubKeyBytes(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setEncryptionPubKeyBytes(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PubKeyRing.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.PubKeyRing} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getSignaturePubKeyBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEncryptionPubKeyBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature_pub_key_bytes = 1;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.prototype.getSignaturePubKeyBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature_pub_key_bytes = 1;
|
|
* This is a type-conversion wrapper around `getSignaturePubKeyBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.prototype.getSignaturePubKeyBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSignaturePubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature_pub_key_bytes = 1;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSignaturePubKeyBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.prototype.getSignaturePubKeyBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSignaturePubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.PubKeyRing} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.prototype.setSignaturePubKeyBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encryption_pub_key_bytes = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.prototype.getEncryptionPubKeyBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encryption_pub_key_bytes = 2;
|
|
* This is a type-conversion wrapper around `getEncryptionPubKeyBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.prototype.getEncryptionPubKeyBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getEncryptionPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encryption_pub_key_bytes = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getEncryptionPubKeyBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.prototype.getEncryptionPubKeyBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getEncryptionPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.PubKeyRing} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PubKeyRing.prototype.setEncryptionPubKeyBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(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_<name>, 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.SealedAndSigned.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SealedAndSigned.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.SealedAndSigned} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
encryptedSecretKey: msg.getEncryptedSecretKey_asB64(),
|
|
encryptedPayloadWithHmac: msg.getEncryptedPayloadWithHmac_asB64(),
|
|
signature: msg.getSignature_asB64(),
|
|
sigPublicKeyBytes: msg.getSigPublicKeyBytes_asB64()
|
|
};
|
|
|
|
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.SealedAndSigned}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SealedAndSigned;
|
|
return proto.io.bisq.protobuffer.SealedAndSigned.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SealedAndSigned} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SealedAndSigned}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setEncryptedSecretKey(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setEncryptedPayloadWithHmac(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSignature(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSigPublicKeyBytes(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SealedAndSigned.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.SealedAndSigned} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEncryptedSecretKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEncryptedPayloadWithHmac_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSigPublicKeyBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_secret_key = 1;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getEncryptedSecretKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_secret_key = 1;
|
|
* This is a type-conversion wrapper around `getEncryptedSecretKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getEncryptedSecretKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getEncryptedSecretKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_secret_key = 1;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getEncryptedSecretKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getEncryptedSecretKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getEncryptedSecretKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.SealedAndSigned} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.setEncryptedSecretKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_payload_with_hmac = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getEncryptedPayloadWithHmac = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_payload_with_hmac = 2;
|
|
* This is a type-conversion wrapper around `getEncryptedPayloadWithHmac()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getEncryptedPayloadWithHmac_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getEncryptedPayloadWithHmac()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_payload_with_hmac = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getEncryptedPayloadWithHmac()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getEncryptedPayloadWithHmac_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getEncryptedPayloadWithHmac()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.SealedAndSigned} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.setEncryptedPayloadWithHmac = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 3;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 3;
|
|
* This is a type-conversion wrapper around `getSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 3;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.SealedAndSigned} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.setSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes sig_public_key_bytes = 4;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getSigPublicKeyBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes sig_public_key_bytes = 4;
|
|
* This is a type-conversion wrapper around `getSigPublicKeyBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getSigPublicKeyBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSigPublicKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes sig_public_key_bytes = 4;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSigPublicKeyBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.getSigPublicKeyBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSigPublicKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.SealedAndSigned} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SealedAndSigned.prototype.setSigPublicKeyBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* Oneof group definitions for this message. Each group defines the field
|
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
* @private {!Array<!Array<number>>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.oneofGroups_ = [[1,2,3,4,6,7,8]];
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.MessageCase = {
|
|
MESSAGE_NOT_SET: 0,
|
|
ALERT: 1,
|
|
ARBITRATOR: 2,
|
|
MEDIATOR: 3,
|
|
FILTER: 4,
|
|
MAILBOX_STORAGE_PAYLOAD: 6,
|
|
OFFER_PAYLOAD: 7,
|
|
REFUND_AGENT: 8
|
|
};
|
|
|
|
/**
|
|
* @return {proto.io.bisq.protobuffer.StoragePayload.MessageCase}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.getMessageCase = function() {
|
|
return /** @type {proto.io.bisq.protobuffer.StoragePayload.MessageCase} */(jspb.Message.computeOneofCase(this, proto.io.bisq.protobuffer.StoragePayload.oneofGroups_[0]));
|
|
};
|
|
|
|
|
|
|
|
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_<name>, 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.StoragePayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.StoragePayload.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.StoragePayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
alert: (f = msg.getAlert()) && proto.io.bisq.protobuffer.Alert.toObject(includeInstance, f),
|
|
arbitrator: (f = msg.getArbitrator()) && proto.io.bisq.protobuffer.Arbitrator.toObject(includeInstance, f),
|
|
mediator: (f = msg.getMediator()) && proto.io.bisq.protobuffer.Mediator.toObject(includeInstance, f),
|
|
filter: (f = msg.getFilter()) && proto.io.bisq.protobuffer.Filter.toObject(includeInstance, f),
|
|
mailboxStoragePayload: (f = msg.getMailboxStoragePayload()) && proto.io.bisq.protobuffer.MailboxStoragePayload.toObject(includeInstance, f),
|
|
offerPayload: (f = msg.getOfferPayload()) && proto.io.bisq.protobuffer.OfferPayload.toObject(includeInstance, f),
|
|
refundAgent: (f = msg.getRefundAgent()) && proto.io.bisq.protobuffer.RefundAgent.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.StoragePayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.StoragePayload;
|
|
return proto.io.bisq.protobuffer.StoragePayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.StoragePayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.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.Alert;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Alert.deserializeBinaryFromReader);
|
|
msg.setAlert(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.Arbitrator;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Arbitrator.deserializeBinaryFromReader);
|
|
msg.setArbitrator(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.Mediator;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Mediator.deserializeBinaryFromReader);
|
|
msg.setMediator(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.Filter;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Filter.deserializeBinaryFromReader);
|
|
msg.setFilter(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.MailboxStoragePayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MailboxStoragePayload.deserializeBinaryFromReader);
|
|
msg.setMailboxStoragePayload(value);
|
|
break;
|
|
case 7:
|
|
var value = new proto.io.bisq.protobuffer.OfferPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.OfferPayload.deserializeBinaryFromReader);
|
|
msg.setOfferPayload(value);
|
|
break;
|
|
case 8:
|
|
var value = new proto.io.bisq.protobuffer.RefundAgent;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RefundAgent.deserializeBinaryFromReader);
|
|
msg.setRefundAgent(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.StoragePayload.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.StoragePayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAlert();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Alert.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getArbitrator();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.Arbitrator.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMediator();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.Mediator.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getFilter();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.Filter.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMailboxStoragePayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getOfferPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
7,
|
|
f,
|
|
proto.io.bisq.protobuffer.OfferPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRefundAgent();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
8,
|
|
f,
|
|
proto.io.bisq.protobuffer.RefundAgent.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Alert alert = 1;
|
|
* @return {?proto.io.bisq.protobuffer.Alert}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.getAlert = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Alert} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Alert, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Alert|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.setAlert = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1, proto.io.bisq.protobuffer.StoragePayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.clearAlert = function() {
|
|
return this.setAlert(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.hasAlert = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Arbitrator arbitrator = 2;
|
|
* @return {?proto.io.bisq.protobuffer.Arbitrator}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.getArbitrator = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Arbitrator} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Arbitrator, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Arbitrator|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.setArbitrator = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 2, proto.io.bisq.protobuffer.StoragePayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.clearArbitrator = function() {
|
|
return this.setArbitrator(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.hasArbitrator = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Mediator mediator = 3;
|
|
* @return {?proto.io.bisq.protobuffer.Mediator}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.getMediator = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Mediator} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Mediator, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Mediator|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.setMediator = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 3, proto.io.bisq.protobuffer.StoragePayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.clearMediator = function() {
|
|
return this.setMediator(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.hasMediator = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Filter filter = 4;
|
|
* @return {?proto.io.bisq.protobuffer.Filter}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.getFilter = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Filter} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Filter, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Filter|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.setFilter = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 4, proto.io.bisq.protobuffer.StoragePayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.clearFilter = function() {
|
|
return this.setFilter(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.hasFilter = function() {
|
|
return jspb.Message.getField(this, 4) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional MailboxStoragePayload mailbox_storage_payload = 6;
|
|
* @return {?proto.io.bisq.protobuffer.MailboxStoragePayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.getMailboxStoragePayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.MailboxStoragePayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.MailboxStoragePayload, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.MailboxStoragePayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.setMailboxStoragePayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 6, proto.io.bisq.protobuffer.StoragePayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.clearMailboxStoragePayload = function() {
|
|
return this.setMailboxStoragePayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.hasMailboxStoragePayload = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional OfferPayload offer_payload = 7;
|
|
* @return {?proto.io.bisq.protobuffer.OfferPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.getOfferPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.OfferPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OfferPayload, 7));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.OfferPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.setOfferPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 7, proto.io.bisq.protobuffer.StoragePayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.clearOfferPayload = function() {
|
|
return this.setOfferPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.hasOfferPayload = function() {
|
|
return jspb.Message.getField(this, 7) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional RefundAgent refund_agent = 8;
|
|
* @return {?proto.io.bisq.protobuffer.RefundAgent}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.getRefundAgent = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.RefundAgent} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.RefundAgent, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.RefundAgent|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.setRefundAgent = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 8, proto.io.bisq.protobuffer.StoragePayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.StoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.clearRefundAgent = function() {
|
|
return this.setRefundAgent(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.StoragePayload.prototype.hasRefundAgent = function() {
|
|
return jspb.Message.getField(this, 8) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* Oneof group definitions for this message. Each group defines the field
|
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
* @private {!Array<!Array<number>>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.oneofGroups_ = [[1,2,3,4]];
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.MessageCase = {
|
|
MESSAGE_NOT_SET: 0,
|
|
ACCOUNT_AGE_WITNESS: 1,
|
|
TRADE_STATISTICS2: 2,
|
|
SIGNED_WITNESS: 3,
|
|
TRADE_STATISTICS3: 4
|
|
};
|
|
|
|
/**
|
|
* @return {proto.io.bisq.protobuffer.PersistableNetworkPayload.MessageCase}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.getMessageCase = function() {
|
|
return /** @type {proto.io.bisq.protobuffer.PersistableNetworkPayload.MessageCase} */(jspb.Message.computeOneofCase(this, proto.io.bisq.protobuffer.PersistableNetworkPayload.oneofGroups_[0]));
|
|
};
|
|
|
|
|
|
|
|
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_<name>, 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.PersistableNetworkPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PersistableNetworkPayload.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.PersistableNetworkPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountAgeWitness: (f = msg.getAccountAgeWitness()) && proto.io.bisq.protobuffer.AccountAgeWitness.toObject(includeInstance, f),
|
|
tradeStatistics2: (f = msg.getTradeStatistics2()) && proto.io.bisq.protobuffer.TradeStatistics2.toObject(includeInstance, f),
|
|
signedWitness: (f = msg.getSignedWitness()) && proto.io.bisq.protobuffer.SignedWitness.toObject(includeInstance, f),
|
|
tradeStatistics3: (f = msg.getTradeStatistics3()) && proto.io.bisq.protobuffer.TradeStatistics3.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.PersistableNetworkPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PersistableNetworkPayload;
|
|
return proto.io.bisq.protobuffer.PersistableNetworkPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PersistableNetworkPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableNetworkPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.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.AccountAgeWitness;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AccountAgeWitness.deserializeBinaryFromReader);
|
|
msg.setAccountAgeWitness(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.TradeStatistics2;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeStatistics2.deserializeBinaryFromReader);
|
|
msg.setTradeStatistics2(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.SignedWitness;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SignedWitness.deserializeBinaryFromReader);
|
|
msg.setSignedWitness(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.TradeStatistics3;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeStatistics3.deserializeBinaryFromReader);
|
|
msg.setTradeStatistics3(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.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.PersistableNetworkPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountAgeWitness();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTradeStatistics2();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeStatistics2.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSignedWitness();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.SignedWitness.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTradeStatistics3();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeStatistics3.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AccountAgeWitness account_age_witness = 1;
|
|
* @return {?proto.io.bisq.protobuffer.AccountAgeWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.getAccountAgeWitness = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AccountAgeWitness} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AccountAgeWitness, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AccountAgeWitness|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableNetworkPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.setAccountAgeWitness = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1, proto.io.bisq.protobuffer.PersistableNetworkPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableNetworkPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.clearAccountAgeWitness = function() {
|
|
return this.setAccountAgeWitness(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.hasAccountAgeWitness = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TradeStatistics2 trade_statistics2 = 2;
|
|
* @return {?proto.io.bisq.protobuffer.TradeStatistics2}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.getTradeStatistics2 = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TradeStatistics2} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradeStatistics2, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TradeStatistics2|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableNetworkPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.setTradeStatistics2 = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 2, proto.io.bisq.protobuffer.PersistableNetworkPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableNetworkPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.clearTradeStatistics2 = function() {
|
|
return this.setTradeStatistics2(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.hasTradeStatistics2 = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SignedWitness signed_witness = 3;
|
|
* @return {?proto.io.bisq.protobuffer.SignedWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.getSignedWitness = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SignedWitness} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SignedWitness, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SignedWitness|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableNetworkPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.setSignedWitness = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 3, proto.io.bisq.protobuffer.PersistableNetworkPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableNetworkPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.clearSignedWitness = function() {
|
|
return this.setSignedWitness(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.hasSignedWitness = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TradeStatistics3 trade_statistics3 = 4;
|
|
* @return {?proto.io.bisq.protobuffer.TradeStatistics3}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.getTradeStatistics3 = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TradeStatistics3} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradeStatistics3, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TradeStatistics3|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableNetworkPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.setTradeStatistics3 = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 4, proto.io.bisq.protobuffer.PersistableNetworkPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableNetworkPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.clearTradeStatistics3 = function() {
|
|
return this.setTradeStatistics3(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableNetworkPayload.prototype.hasTradeStatistics3 = function() {
|
|
return jspb.Message.getField(this, 4) != 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_<name>, 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.ProtectedStorageEntry.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.ProtectedStorageEntry.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.ProtectedStorageEntry} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
storagepayload: (f = msg.getStoragepayload()) && proto.io.bisq.protobuffer.StoragePayload.toObject(includeInstance, f),
|
|
ownerPubKeyBytes: msg.getOwnerPubKeyBytes_asB64(),
|
|
sequenceNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
signature: msg.getSignature_asB64(),
|
|
creationTimeStamp: 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.ProtectedStorageEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.ProtectedStorageEntry;
|
|
return proto.io.bisq.protobuffer.ProtectedStorageEntry.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.ProtectedStorageEntry} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.ProtectedStorageEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.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.StoragePayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.StoragePayload.deserializeBinaryFromReader);
|
|
msg.setStoragepayload(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setOwnerPubKeyBytes(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setSequenceNumber(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSignature(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCreationTimeStamp(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.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.ProtectedStorageEntry} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getStoragepayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.StoragePayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getOwnerPubKeyBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSequenceNumber();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCreationTimeStamp();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional StoragePayload storagePayload = 1;
|
|
* @return {?proto.io.bisq.protobuffer.StoragePayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.getStoragepayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.StoragePayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.StoragePayload, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.StoragePayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ProtectedStorageEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.setStoragepayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ProtectedStorageEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.clearStoragepayload = function() {
|
|
return this.setStoragepayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.hasStoragepayload = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.getOwnerPubKeyBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 2;
|
|
* This is a type-conversion wrapper around `getOwnerPubKeyBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.getOwnerPubKeyBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getOwnerPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getOwnerPubKeyBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.getOwnerPubKeyBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getOwnerPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.ProtectedStorageEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.setOwnerPubKeyBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 sequence_number = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.getSequenceNumber = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.ProtectedStorageEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.setSequenceNumber = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 4;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.getSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 4;
|
|
* This is a type-conversion wrapper around `getSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.getSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 4;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.getSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.ProtectedStorageEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.setSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 creation_time_stamp = 5;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.getCreationTimeStamp = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.ProtectedStorageEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.prototype.setCreationTimeStamp = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* Oneof group definitions for this message. Each group defines the field
|
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
* @private {!Array<!Array<number>>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.oneofGroups_ = [[1,2]];
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.MessageCase = {
|
|
MESSAGE_NOT_SET: 0,
|
|
PROTECTED_STORAGE_ENTRY: 1,
|
|
PROTECTED_MAILBOX_STORAGE_ENTRY: 2
|
|
};
|
|
|
|
/**
|
|
* @return {proto.io.bisq.protobuffer.StorageEntryWrapper.MessageCase}
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.prototype.getMessageCase = function() {
|
|
return /** @type {proto.io.bisq.protobuffer.StorageEntryWrapper.MessageCase} */(jspb.Message.computeOneofCase(this, proto.io.bisq.protobuffer.StorageEntryWrapper.oneofGroups_[0]));
|
|
};
|
|
|
|
|
|
|
|
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_<name>, 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.StorageEntryWrapper.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.StorageEntryWrapper.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.StorageEntryWrapper} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
protectedStorageEntry: (f = msg.getProtectedStorageEntry()) && proto.io.bisq.protobuffer.ProtectedStorageEntry.toObject(includeInstance, f),
|
|
protectedMailboxStorageEntry: (f = msg.getProtectedMailboxStorageEntry()) && proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.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.StorageEntryWrapper}
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.StorageEntryWrapper;
|
|
return proto.io.bisq.protobuffer.StorageEntryWrapper.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.StorageEntryWrapper} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.StorageEntryWrapper}
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.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.ProtectedStorageEntry;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ProtectedStorageEntry.deserializeBinaryFromReader);
|
|
msg.setProtectedStorageEntry(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.deserializeBinaryFromReader);
|
|
msg.setProtectedMailboxStorageEntry(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.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.StorageEntryWrapper} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getProtectedStorageEntry();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getProtectedMailboxStorageEntry();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ProtectedStorageEntry protected_storage_entry = 1;
|
|
* @return {?proto.io.bisq.protobuffer.ProtectedStorageEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.prototype.getProtectedStorageEntry = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ProtectedStorageEntry} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ProtectedStorageEntry, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ProtectedStorageEntry|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.StorageEntryWrapper} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.prototype.setProtectedStorageEntry = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1, proto.io.bisq.protobuffer.StorageEntryWrapper.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.StorageEntryWrapper} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.prototype.clearProtectedStorageEntry = function() {
|
|
return this.setProtectedStorageEntry(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.prototype.hasProtectedStorageEntry = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ProtectedMailboxStorageEntry protected_mailbox_storage_entry = 2;
|
|
* @return {?proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.prototype.getProtectedMailboxStorageEntry = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.StorageEntryWrapper} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.prototype.setProtectedMailboxStorageEntry = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 2, proto.io.bisq.protobuffer.StorageEntryWrapper.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.StorageEntryWrapper} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.prototype.clearProtectedMailboxStorageEntry = function() {
|
|
return this.setProtectedMailboxStorageEntry(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.StorageEntryWrapper.prototype.hasProtectedMailboxStorageEntry = 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_<name>, 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.ProtectedMailboxStorageEntry.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.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.ProtectedMailboxStorageEntry} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
entry: (f = msg.getEntry()) && proto.io.bisq.protobuffer.ProtectedStorageEntry.toObject(includeInstance, f),
|
|
receiversPubKeyBytes: msg.getReceiversPubKeyBytes_asB64()
|
|
};
|
|
|
|
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.ProtectedMailboxStorageEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry;
|
|
return proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.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.ProtectedStorageEntry;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ProtectedStorageEntry.deserializeBinaryFromReader);
|
|
msg.setEntry(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setReceiversPubKeyBytes(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.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.ProtectedMailboxStorageEntry} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEntry();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getReceiversPubKeyBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ProtectedStorageEntry entry = 1;
|
|
* @return {?proto.io.bisq.protobuffer.ProtectedStorageEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.prototype.getEntry = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ProtectedStorageEntry} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ProtectedStorageEntry, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ProtectedStorageEntry|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.prototype.setEntry = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.prototype.clearEntry = function() {
|
|
return this.setEntry(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.prototype.hasEntry = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes receivers_pub_key_bytes = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.prototype.getReceiversPubKeyBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes receivers_pub_key_bytes = 2;
|
|
* This is a type-conversion wrapper around `getReceiversPubKeyBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.prototype.getReceiversPubKeyBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getReceiversPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes receivers_pub_key_bytes = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getReceiversPubKeyBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.prototype.getReceiversPubKeyBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getReceiversPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.prototype.setReceiversPubKeyBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(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_<name>, 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.DataAndSeqNrPair.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DataAndSeqNrPair.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.DataAndSeqNrPair} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
payload: (f = msg.getPayload()) && proto.io.bisq.protobuffer.StoragePayload.toObject(includeInstance, f),
|
|
sequenceNumber: 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.DataAndSeqNrPair}
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DataAndSeqNrPair;
|
|
return proto.io.bisq.protobuffer.DataAndSeqNrPair.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DataAndSeqNrPair} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DataAndSeqNrPair}
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.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.StoragePayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.StoragePayload.deserializeBinaryFromReader);
|
|
msg.setPayload(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setSequenceNumber(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.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.DataAndSeqNrPair} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.StoragePayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSequenceNumber();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional StoragePayload payload = 1;
|
|
* @return {?proto.io.bisq.protobuffer.StoragePayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.prototype.getPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.StoragePayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.StoragePayload, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.StoragePayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DataAndSeqNrPair} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.prototype.setPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DataAndSeqNrPair} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.prototype.clearPayload = function() {
|
|
return this.setPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.prototype.hasPayload = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 sequence_number = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.prototype.getSequenceNumber = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.DataAndSeqNrPair} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DataAndSeqNrPair.prototype.setSequenceNumber = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxMessageList.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_<name>, 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.MailboxMessageList.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MailboxMessageList.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.MailboxMessageList} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxMessageList.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
mailboxItemList: jspb.Message.toObjectList(msg.getMailboxItemList(),
|
|
proto.io.bisq.protobuffer.MailboxItem.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.MailboxMessageList}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxMessageList.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MailboxMessageList;
|
|
return proto.io.bisq.protobuffer.MailboxMessageList.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MailboxMessageList} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MailboxMessageList}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxMessageList.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.MailboxItem;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MailboxItem.deserializeBinaryFromReader);
|
|
msg.addMailboxItem(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxMessageList.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MailboxMessageList.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.MailboxMessageList} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxMessageList.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMailboxItemList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.MailboxItem.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated MailboxItem mailbox_item = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.MailboxItem>}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxMessageList.prototype.getMailboxItemList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.MailboxItem>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.MailboxItem, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.MailboxItem>} value
|
|
* @return {!proto.io.bisq.protobuffer.MailboxMessageList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxMessageList.prototype.setMailboxItemList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.MailboxItem=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.MailboxItem}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxMessageList.prototype.addMailboxItem = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.MailboxItem, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.MailboxMessageList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxMessageList.prototype.clearMailboxItemList = function() {
|
|
return this.setMailboxItemList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.RemovedPayloadsMap.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.RemovedPayloadsMap.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.RemovedPayloadsMap} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RemovedPayloadsMap.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
dateByHashesMap: (f = msg.getDateByHashesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
};
|
|
|
|
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.RemovedPayloadsMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemovedPayloadsMap.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.RemovedPayloadsMap;
|
|
return proto.io.bisq.protobuffer.RemovedPayloadsMap.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.RemovedPayloadsMap} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.RemovedPayloadsMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemovedPayloadsMap.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = msg.getDateByHashesMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readUint64, null, "", 0);
|
|
});
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemovedPayloadsMap.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.RemovedPayloadsMap.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.RemovedPayloadsMap} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RemovedPayloadsMap.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getDateByHashesMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeUint64);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, uint64> date_by_hashes = 1;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,number>}
|
|
*/
|
|
proto.io.bisq.protobuffer.RemovedPayloadsMap.prototype.getDateByHashesMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,number>} */ (
|
|
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.RemovedPayloadsMap} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RemovedPayloadsMap.prototype.clearDateByHashesMap = function() {
|
|
this.getDateByHashesMap().clear();
|
|
return this;};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.IgnoredMailboxMap.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.IgnoredMailboxMap.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.IgnoredMailboxMap} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.IgnoredMailboxMap.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
dataMap: (f = msg.getDataMap()) ? f.toObject(includeInstance, undefined) : []
|
|
};
|
|
|
|
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.IgnoredMailboxMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.IgnoredMailboxMap.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.IgnoredMailboxMap;
|
|
return proto.io.bisq.protobuffer.IgnoredMailboxMap.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.IgnoredMailboxMap} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.IgnoredMailboxMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.IgnoredMailboxMap.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = msg.getDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readUint64, null, "", 0);
|
|
});
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.IgnoredMailboxMap.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.IgnoredMailboxMap.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.IgnoredMailboxMap} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.IgnoredMailboxMap.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeUint64);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, uint64> data = 1;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,number>}
|
|
*/
|
|
proto.io.bisq.protobuffer.IgnoredMailboxMap.prototype.getDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,number>} */ (
|
|
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.IgnoredMailboxMap} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.IgnoredMailboxMap.prototype.clearDataMap = function() {
|
|
this.getDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.MailboxItem.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MailboxItem.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.MailboxItem} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
protectedMailboxStorageEntry: (f = msg.getProtectedMailboxStorageEntry()) && proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.toObject(includeInstance, f),
|
|
decryptedMessageWithPubKey: (f = msg.getDecryptedMessageWithPubKey()) && proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.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.MailboxItem}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MailboxItem;
|
|
return proto.io.bisq.protobuffer.MailboxItem.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MailboxItem} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MailboxItem}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.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.ProtectedMailboxStorageEntry;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.deserializeBinaryFromReader);
|
|
msg.setProtectedMailboxStorageEntry(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.DecryptedMessageWithPubKey;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.deserializeBinaryFromReader);
|
|
msg.setDecryptedMessageWithPubKey(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MailboxItem.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.MailboxItem} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getProtectedMailboxStorageEntry();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDecryptedMessageWithPubKey();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ProtectedMailboxStorageEntry protected_mailbox_storage_entry = 1;
|
|
* @return {?proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.prototype.getProtectedMailboxStorageEntry = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ProtectedMailboxStorageEntry|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.MailboxItem} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.prototype.setProtectedMailboxStorageEntry = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.MailboxItem} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.prototype.clearProtectedMailboxStorageEntry = function() {
|
|
return this.setProtectedMailboxStorageEntry(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.prototype.hasProtectedMailboxStorageEntry = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DecryptedMessageWithPubKey decrypted_message_with_pub_key = 2;
|
|
* @return {?proto.io.bisq.protobuffer.DecryptedMessageWithPubKey}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.prototype.getDecryptedMessageWithPubKey = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DecryptedMessageWithPubKey} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DecryptedMessageWithPubKey, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DecryptedMessageWithPubKey|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.MailboxItem} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.prototype.setDecryptedMessageWithPubKey = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.MailboxItem} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.prototype.clearDecryptedMessageWithPubKey = function() {
|
|
return this.setDecryptedMessageWithPubKey(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxItem.prototype.hasDecryptedMessageWithPubKey = 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_<name>, 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.DecryptedMessageWithPubKey.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.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.DecryptedMessageWithPubKey} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
networkEnvelope: (f = msg.getNetworkEnvelope()) && proto.io.bisq.protobuffer.NetworkEnvelope.toObject(includeInstance, f),
|
|
signaturePubKeyBytes: msg.getSignaturePubKeyBytes_asB64()
|
|
};
|
|
|
|
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.DecryptedMessageWithPubKey}
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DecryptedMessageWithPubKey;
|
|
return proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DecryptedMessageWithPubKey} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DecryptedMessageWithPubKey}
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.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.NetworkEnvelope;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NetworkEnvelope.deserializeBinaryFromReader);
|
|
msg.setNetworkEnvelope(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSignaturePubKeyBytes(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.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.DecryptedMessageWithPubKey} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getNetworkEnvelope();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.NetworkEnvelope.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSignaturePubKeyBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NetworkEnvelope network_envelope = 1;
|
|
* @return {?proto.io.bisq.protobuffer.NetworkEnvelope}
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.prototype.getNetworkEnvelope = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NetworkEnvelope} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NetworkEnvelope, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NetworkEnvelope|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DecryptedMessageWithPubKey} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.prototype.setNetworkEnvelope = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DecryptedMessageWithPubKey} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.prototype.clearNetworkEnvelope = function() {
|
|
return this.setNetworkEnvelope(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.prototype.hasNetworkEnvelope = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature_pub_key_bytes = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.prototype.getSignaturePubKeyBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature_pub_key_bytes = 2;
|
|
* This is a type-conversion wrapper around `getSignaturePubKeyBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.prototype.getSignaturePubKeyBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSignaturePubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature_pub_key_bytes = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSignaturePubKeyBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.prototype.getSignaturePubKeyBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSignaturePubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DecryptedMessageWithPubKey} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DecryptedMessageWithPubKey.prototype.setSignaturePubKeyBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(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_<name>, 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.PrivateNotificationPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PrivateNotificationPayload.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.PrivateNotificationPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
message: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
signatureAsBase64: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
sigPublicKeyBytes: msg.getSigPublicKeyBytes_asB64()
|
|
};
|
|
|
|
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.PrivateNotificationPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PrivateNotificationPayload;
|
|
return proto.io.bisq.protobuffer.PrivateNotificationPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PrivateNotificationPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PrivateNotificationPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.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.setMessage(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSignatureAsBase64(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSigPublicKeyBytes(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.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.PrivateNotificationPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMessage();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSignatureAsBase64();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSigPublicKeyBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string message = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.prototype.getMessage = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PrivateNotificationPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.prototype.setMessage = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string signature_as_base64 = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.prototype.getSignatureAsBase64 = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PrivateNotificationPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.prototype.setSignatureAsBase64 = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes sig_public_key_bytes = 3;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.prototype.getSigPublicKeyBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes sig_public_key_bytes = 3;
|
|
* This is a type-conversion wrapper around `getSigPublicKeyBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.prototype.getSigPublicKeyBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSigPublicKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes sig_public_key_bytes = 3;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSigPublicKeyBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.prototype.getSigPublicKeyBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSigPublicKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.PrivateNotificationPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PrivateNotificationPayload.prototype.setSigPublicKeyBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(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_<name>, 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.PaymentAccountFilter.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PaymentAccountFilter.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.PaymentAccountFilter} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
paymentMethodId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
getMethodName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
value: 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.PaymentAccountFilter}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PaymentAccountFilter;
|
|
return proto.io.bisq.protobuffer.PaymentAccountFilter.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccountFilter} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFilter}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.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;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setGetMethodName(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setValue(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.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.PaymentAccountFilter} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPaymentMethodId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getGetMethodName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getValue();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payment_method_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.prototype.getPaymentMethodId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.prototype.setPaymentMethodId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string get_method_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.prototype.getGetMethodName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.prototype.setGetMethodName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string value = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.prototype.getValue = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.prototype.setValue = 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_<name>, 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.Alert.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Alert.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.Alert} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
message: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
isUpdateInfo: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
signatureAsBase64: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
ownerPubKeyBytes: msg.getOwnerPubKeyBytes_asB64(),
|
|
extraDataMap: (f = msg.getExtraDataMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
isPreReleaseInfo: jspb.Message.getBooleanFieldWithDefault(msg, 7, 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.Alert}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Alert;
|
|
return proto.io.bisq.protobuffer.Alert.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Alert} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Alert}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.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.setMessage(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setVersion(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsUpdateInfo(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSignatureAsBase64(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setOwnerPubKeyBytes(value);
|
|
break;
|
|
case 6:
|
|
var value = msg.getExtraDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
case 7:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsPreReleaseInfo(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Alert.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.Alert} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMessage();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getVersion();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIsUpdateInfo();
|
|
if (f) {
|
|
writer.writeBool(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSignatureAsBase64();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOwnerPubKeyBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
f = message.getIsPreReleaseInfo();
|
|
if (f) {
|
|
writer.writeBool(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string message = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.getMessage = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Alert} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.setMessage = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string version = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.getVersion = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Alert} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.setVersion = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_update_info = 3;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.getIsUpdateInfo = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Alert} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.setIsUpdateInfo = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string signature_as_base64 = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.getSignatureAsBase64 = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Alert} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.setSignatureAsBase64 = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 5;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.getOwnerPubKeyBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 5;
|
|
* This is a type-conversion wrapper around `getOwnerPubKeyBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.getOwnerPubKeyBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getOwnerPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 5;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getOwnerPubKeyBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.getOwnerPubKeyBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getOwnerPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.Alert} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.setOwnerPubKeyBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> extra_data = 6;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.getExtraDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 6, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Alert} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.clearExtraDataMap = function() {
|
|
this.getExtraDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
/**
|
|
* optional bool is_pre_release_info = 7;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.getIsPreReleaseInfo = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Alert} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Alert.prototype.setIsPreReleaseInfo = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.repeatedFields_ = [2];
|
|
|
|
|
|
|
|
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_<name>, 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.Arbitrator.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Arbitrator.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.Arbitrator} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
nodeAddress: (f = msg.getNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
registrationDate: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
registrationSignature: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
registrationPubKey: msg.getRegistrationPubKey_asB64(),
|
|
pubKeyRing: (f = msg.getPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
xmrAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
emailAddress: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
info: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
extraDataMap: (f = msg.getExtraDataMap()) ? f.toObject(includeInstance, undefined) : []
|
|
};
|
|
|
|
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.Arbitrator}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Arbitrator;
|
|
return proto.io.bisq.protobuffer.Arbitrator.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Arbitrator} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.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.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setNodeAddress(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addLanguageCodes(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setRegistrationDate(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setRegistrationSignature(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setRegistrationPubKey(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setPubKeyRing(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setXmrAddress(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setEmailAddress(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setInfo(value);
|
|
break;
|
|
case 10:
|
|
var value = msg.getExtraDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Arbitrator.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.Arbitrator} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getLanguageCodesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRegistrationDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRegistrationSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRegistrationPubKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getXmrAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEmailAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getInfo();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress node_address = 1;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.setNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.clearNodeAddress = function() {
|
|
return this.setNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.hasNodeAddress = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string language_codes = 2;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getLanguageCodesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.setLanguageCodesList = function(value) {
|
|
return jspb.Message.setField(this, 2, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.addLanguageCodes = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.clearLanguageCodesList = function() {
|
|
return this.setLanguageCodesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 registration_date = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getRegistrationDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.setRegistrationDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string registration_signature = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getRegistrationSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.setRegistrationSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes registration_pub_key = 5;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getRegistrationPubKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes registration_pub_key = 5;
|
|
* This is a type-conversion wrapper around `getRegistrationPubKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getRegistrationPubKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getRegistrationPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes registration_pub_key = 5;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getRegistrationPubKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getRegistrationPubKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getRegistrationPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.setRegistrationPubKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing pub_key_ring = 6;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.setPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.clearPubKeyRing = function() {
|
|
return this.setPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.hasPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string xmr_address = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getXmrAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.setXmrAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email_address = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getEmailAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.setEmailAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string info = 9;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getInfo = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.setInfo = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> extra_data = 10;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.getExtraDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 10, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Arbitrator.prototype.clearExtraDataMap = function() {
|
|
this.getExtraDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.repeatedFields_ = [2];
|
|
|
|
|
|
|
|
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_<name>, 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.Mediator.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Mediator.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.Mediator} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
nodeAddress: (f = msg.getNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
registrationDate: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
registrationSignature: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
registrationPubKey: msg.getRegistrationPubKey_asB64(),
|
|
pubKeyRing: (f = msg.getPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
emailAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
info: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
extraDataMap: (f = msg.getExtraDataMap()) ? f.toObject(includeInstance, undefined) : []
|
|
};
|
|
|
|
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.Mediator}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Mediator;
|
|
return proto.io.bisq.protobuffer.Mediator.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Mediator} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Mediator}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.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.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setNodeAddress(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addLanguageCodes(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setRegistrationDate(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setRegistrationSignature(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setRegistrationPubKey(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setPubKeyRing(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setEmailAddress(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setInfo(value);
|
|
break;
|
|
case 9:
|
|
var value = msg.getExtraDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Mediator.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.Mediator} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getLanguageCodesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRegistrationDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRegistrationSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRegistrationPubKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getEmailAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getInfo();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress node_address = 1;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.getNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.setNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.clearNodeAddress = function() {
|
|
return this.setNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.hasNodeAddress = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string language_codes = 2;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.getLanguageCodesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.setLanguageCodesList = function(value) {
|
|
return jspb.Message.setField(this, 2, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.addLanguageCodes = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.clearLanguageCodesList = function() {
|
|
return this.setLanguageCodesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 registration_date = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.getRegistrationDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.setRegistrationDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string registration_signature = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.getRegistrationSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.setRegistrationSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes registration_pub_key = 5;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.getRegistrationPubKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes registration_pub_key = 5;
|
|
* This is a type-conversion wrapper around `getRegistrationPubKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.getRegistrationPubKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getRegistrationPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes registration_pub_key = 5;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getRegistrationPubKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.getRegistrationPubKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getRegistrationPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.setRegistrationPubKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing pub_key_ring = 6;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.getPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.setPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.clearPubKeyRing = function() {
|
|
return this.setPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.hasPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email_address = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.getEmailAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.setEmailAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string info = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.getInfo = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.setInfo = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> extra_data = 9;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.getExtraDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 9, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Mediator} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Mediator.prototype.clearExtraDataMap = function() {
|
|
this.getExtraDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.repeatedFields_ = [2];
|
|
|
|
|
|
|
|
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_<name>, 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.RefundAgent.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.RefundAgent.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.RefundAgent} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
nodeAddress: (f = msg.getNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
registrationDate: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
registrationSignature: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
registrationPubKey: msg.getRegistrationPubKey_asB64(),
|
|
pubKeyRing: (f = msg.getPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
emailAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
info: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
extraDataMap: (f = msg.getExtraDataMap()) ? f.toObject(includeInstance, undefined) : []
|
|
};
|
|
|
|
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.RefundAgent}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.RefundAgent;
|
|
return proto.io.bisq.protobuffer.RefundAgent.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.RefundAgent} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.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.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setNodeAddress(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addLanguageCodes(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setRegistrationDate(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setRegistrationSignature(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setRegistrationPubKey(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setPubKeyRing(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setEmailAddress(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setInfo(value);
|
|
break;
|
|
case 9:
|
|
var value = msg.getExtraDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.RefundAgent.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.RefundAgent} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getLanguageCodesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRegistrationDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRegistrationSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRegistrationPubKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getEmailAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getInfo();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress node_address = 1;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.getNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.setNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.clearNodeAddress = function() {
|
|
return this.setNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.hasNodeAddress = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string language_codes = 2;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.getLanguageCodesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.setLanguageCodesList = function(value) {
|
|
return jspb.Message.setField(this, 2, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.addLanguageCodes = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.clearLanguageCodesList = function() {
|
|
return this.setLanguageCodesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 registration_date = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.getRegistrationDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.setRegistrationDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string registration_signature = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.getRegistrationSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.setRegistrationSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes registration_pub_key = 5;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.getRegistrationPubKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes registration_pub_key = 5;
|
|
* This is a type-conversion wrapper around `getRegistrationPubKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.getRegistrationPubKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getRegistrationPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes registration_pub_key = 5;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getRegistrationPubKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.getRegistrationPubKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getRegistrationPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.setRegistrationPubKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing pub_key_ring = 6;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.getPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.setPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.clearPubKeyRing = function() {
|
|
return this.setPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.hasPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email_address = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.getEmailAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.setEmailAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string info = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.getInfo = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.setInfo = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> extra_data = 9;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.getExtraDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 9, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundAgent.prototype.clearExtraDataMap = function() {
|
|
this.getExtraDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.repeatedFields_ = [1,2,3,7,8,9,10,11,13,15,16,17,18,21,23,24];
|
|
|
|
|
|
|
|
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_<name>, 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.Filter.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Filter.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.Filter} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
nodeAddressesBannedFromTradingList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
bannedOfferIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
bannedPaymentAccountsList: jspb.Message.toObjectList(msg.getBannedPaymentAccountsList(),
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.toObject, includeInstance),
|
|
signatureAsBase64: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
ownerPubKeyBytes: msg.getOwnerPubKeyBytes_asB64(),
|
|
extraDataMap: (f = msg.getExtraDataMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
bannedCurrenciesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
bannedPaymentMethodsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
arbitratorsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
seedNodesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
|
|
priceRelayNodesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
preventPublicBtcNetwork: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
btcNodesList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
|
|
disableTradeBelowVersion: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
mediatorsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
|
|
refundagentsList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f,
|
|
bannedsignerpubkeysList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
|
|
btcFeeReceiverAddressesList: (f = jspb.Message.getRepeatedField(msg, 18)) == null ? undefined : f,
|
|
creationDate: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
signerPubKeyAsHex: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
bannedprivilegeddevpubkeysList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f,
|
|
disableAutoConf: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
bannedAutoConfExplorersList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f,
|
|
nodeAddressesBannedFromNetworkList: (f = jspb.Message.getRepeatedField(msg, 24)) == null ? undefined : f,
|
|
disableApi: jspb.Message.getBooleanFieldWithDefault(msg, 25, false),
|
|
disableMempoolValidation: jspb.Message.getBooleanFieldWithDefault(msg, 26, 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.Filter}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Filter;
|
|
return proto.io.bisq.protobuffer.Filter.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Filter} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Filter}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.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.addNodeAddressesBannedFromTrading(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addBannedOfferIds(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.PaymentAccountFilter;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccountFilter.deserializeBinaryFromReader);
|
|
msg.addBannedPaymentAccounts(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSignatureAsBase64(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setOwnerPubKeyBytes(value);
|
|
break;
|
|
case 6:
|
|
var value = msg.getExtraDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addBannedCurrencies(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addBannedPaymentMethods(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addArbitrators(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addSeedNodes(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addPriceRelayNodes(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setPreventPublicBtcNetwork(value);
|
|
break;
|
|
case 13:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addBtcNodes(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDisableTradeBelowVersion(value);
|
|
break;
|
|
case 15:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addMediators(value);
|
|
break;
|
|
case 16:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addRefundagents(value);
|
|
break;
|
|
case 17:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addBannedsignerpubkeys(value);
|
|
break;
|
|
case 18:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addBtcFeeReceiverAddresses(value);
|
|
break;
|
|
case 19:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCreationDate(value);
|
|
break;
|
|
case 20:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSignerPubKeyAsHex(value);
|
|
break;
|
|
case 21:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addBannedprivilegeddevpubkeys(value);
|
|
break;
|
|
case 22:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setDisableAutoConf(value);
|
|
break;
|
|
case 23:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addBannedAutoConfExplorers(value);
|
|
break;
|
|
case 24:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addNodeAddressesBannedFromNetwork(value);
|
|
break;
|
|
case 25:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setDisableApi(value);
|
|
break;
|
|
case 26:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setDisableMempoolValidation(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Filter.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.Filter} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getNodeAddressesBannedFromTradingList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBannedOfferIdsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBannedPaymentAccountsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccountFilter.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSignatureAsBase64();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOwnerPubKeyBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
f = message.getBannedCurrenciesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBannedPaymentMethodsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getArbitratorsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSeedNodesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPriceRelayNodesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPreventPublicBtcNetwork();
|
|
if (f) {
|
|
writer.writeBool(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBtcNodesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
13,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDisableTradeBelowVersion();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMediatorsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
15,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRefundagentsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
16,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBannedsignerpubkeysList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
17,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBtcFeeReceiverAddressesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
18,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCreationDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
19,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSignerPubKeyAsHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
20,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBannedprivilegeddevpubkeysList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
21,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDisableAutoConf();
|
|
if (f) {
|
|
writer.writeBool(
|
|
22,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBannedAutoConfExplorersList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
23,
|
|
f
|
|
);
|
|
}
|
|
f = message.getNodeAddressesBannedFromNetworkList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
24,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDisableApi();
|
|
if (f) {
|
|
writer.writeBool(
|
|
25,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDisableMempoolValidation();
|
|
if (f) {
|
|
writer.writeBool(
|
|
26,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string node_addresses_banned_from_trading = 1;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getNodeAddressesBannedFromTradingList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setNodeAddressesBannedFromTradingList = function(value) {
|
|
return jspb.Message.setField(this, 1, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addNodeAddressesBannedFromTrading = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearNodeAddressesBannedFromTradingList = function() {
|
|
return this.setNodeAddressesBannedFromTradingList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string banned_offer_ids = 2;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getBannedOfferIdsList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setBannedOfferIdsList = function(value) {
|
|
return jspb.Message.setField(this, 2, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addBannedOfferIds = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearBannedOfferIdsList = function() {
|
|
return this.setBannedOfferIdsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated PaymentAccountFilter banned_payment_accounts = 3;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.PaymentAccountFilter>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getBannedPaymentAccountsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.PaymentAccountFilter>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.PaymentAccountFilter, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.PaymentAccountFilter>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setBannedPaymentAccountsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccountFilter=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFilter}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addBannedPaymentAccounts = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.io.bisq.protobuffer.PaymentAccountFilter, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearBannedPaymentAccountsList = function() {
|
|
return this.setBannedPaymentAccountsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string signature_as_base64 = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getSignatureAsBase64 = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setSignatureAsBase64 = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 5;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getOwnerPubKeyBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 5;
|
|
* This is a type-conversion wrapper around `getOwnerPubKeyBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getOwnerPubKeyBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getOwnerPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 5;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getOwnerPubKeyBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getOwnerPubKeyBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getOwnerPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setOwnerPubKeyBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> extra_data = 6;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getExtraDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 6, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearExtraDataMap = function() {
|
|
this.getExtraDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
/**
|
|
* repeated string banned_currencies = 7;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getBannedCurrenciesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setBannedCurrenciesList = function(value) {
|
|
return jspb.Message.setField(this, 7, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addBannedCurrencies = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearBannedCurrenciesList = function() {
|
|
return this.setBannedCurrenciesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string banned_payment_methods = 8;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getBannedPaymentMethodsList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setBannedPaymentMethodsList = function(value) {
|
|
return jspb.Message.setField(this, 8, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addBannedPaymentMethods = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearBannedPaymentMethodsList = function() {
|
|
return this.setBannedPaymentMethodsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string arbitrators = 9;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getArbitratorsList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setArbitratorsList = function(value) {
|
|
return jspb.Message.setField(this, 9, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addArbitrators = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearArbitratorsList = function() {
|
|
return this.setArbitratorsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string seed_nodes = 10;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getSeedNodesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setSeedNodesList = function(value) {
|
|
return jspb.Message.setField(this, 10, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addSeedNodes = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearSeedNodesList = function() {
|
|
return this.setSeedNodesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string price_relay_nodes = 11;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getPriceRelayNodesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setPriceRelayNodesList = function(value) {
|
|
return jspb.Message.setField(this, 11, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addPriceRelayNodes = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearPriceRelayNodesList = function() {
|
|
return this.setPriceRelayNodesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool prevent_public_btc_network = 12;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getPreventPublicBtcNetwork = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setPreventPublicBtcNetwork = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string btc_nodes = 13;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getBtcNodesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setBtcNodesList = function(value) {
|
|
return jspb.Message.setField(this, 13, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addBtcNodes = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearBtcNodesList = function() {
|
|
return this.setBtcNodesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string disable_trade_below_version = 14;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getDisableTradeBelowVersion = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setDisableTradeBelowVersion = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string mediators = 15;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getMediatorsList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 15));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setMediatorsList = function(value) {
|
|
return jspb.Message.setField(this, 15, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addMediators = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 15, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearMediatorsList = function() {
|
|
return this.setMediatorsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string refundAgents = 16;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getRefundagentsList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 16));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setRefundagentsList = function(value) {
|
|
return jspb.Message.setField(this, 16, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addRefundagents = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 16, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearRefundagentsList = function() {
|
|
return this.setRefundagentsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string bannedSignerPubKeys = 17;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getBannedsignerpubkeysList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 17));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setBannedsignerpubkeysList = function(value) {
|
|
return jspb.Message.setField(this, 17, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addBannedsignerpubkeys = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 17, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearBannedsignerpubkeysList = function() {
|
|
return this.setBannedsignerpubkeysList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string btc_fee_receiver_addresses = 18;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getBtcFeeReceiverAddressesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 18));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setBtcFeeReceiverAddressesList = function(value) {
|
|
return jspb.Message.setField(this, 18, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addBtcFeeReceiverAddresses = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 18, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearBtcFeeReceiverAddressesList = function() {
|
|
return this.setBtcFeeReceiverAddressesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 creation_date = 19;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getCreationDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setCreationDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 19, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string signer_pub_key_as_hex = 20;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getSignerPubKeyAsHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setSignerPubKeyAsHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 20, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string bannedPrivilegedDevPubKeys = 21;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getBannedprivilegeddevpubkeysList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 21));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setBannedprivilegeddevpubkeysList = function(value) {
|
|
return jspb.Message.setField(this, 21, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addBannedprivilegeddevpubkeys = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 21, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearBannedprivilegeddevpubkeysList = function() {
|
|
return this.setBannedprivilegeddevpubkeysList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool disable_auto_conf = 22;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getDisableAutoConf = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setDisableAutoConf = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 22, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string banned_auto_conf_explorers = 23;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getBannedAutoConfExplorersList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 23));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setBannedAutoConfExplorersList = function(value) {
|
|
return jspb.Message.setField(this, 23, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addBannedAutoConfExplorers = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 23, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearBannedAutoConfExplorersList = function() {
|
|
return this.setBannedAutoConfExplorersList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string node_addresses_banned_from_network = 24;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getNodeAddressesBannedFromNetworkList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 24));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setNodeAddressesBannedFromNetworkList = function(value) {
|
|
return jspb.Message.setField(this, 24, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.addNodeAddressesBannedFromNetwork = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 24, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.clearNodeAddressesBannedFromNetworkList = function() {
|
|
return this.setNodeAddressesBannedFromNetworkList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool disable_api = 25;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getDisableApi = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 25, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setDisableApi = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 25, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool disable_mempool_validation = 26;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.getDisableMempoolValidation = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 26, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Filter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Filter.prototype.setDisableMempoolValidation = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 26, 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_<name>, 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.TradeStatistics2.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.TradeStatistics2.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.TradeStatistics2} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
baseCurrency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
counterCurrency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
direction: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
tradePrice: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
tradeAmount: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
tradeDate: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
paymentMethodId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
offerDate: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
offerUseMarketBasedPrice: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
offerMarketPriceMargin: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
offerAmount: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
offerMinAmount: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
offerId: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
depositTxId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
hash: msg.getHash_asB64(),
|
|
extraDataMap: (f = msg.getExtraDataMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
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.TradeStatistics2}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.TradeStatistics2;
|
|
return proto.io.bisq.protobuffer.TradeStatistics2.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.TradeStatistics2} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.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.setBaseCurrency(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCounterCurrency(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.OfferDirection} */ (reader.readEnum());
|
|
msg.setDirection(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradePrice(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradeAmount(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradeDate(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPaymentMethodId(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setOfferDate(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setOfferUseMarketBasedPrice(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {number} */ (reader.readDouble());
|
|
msg.setOfferMarketPriceMargin(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setOfferAmount(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setOfferMinAmount(value);
|
|
break;
|
|
case 13:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setOfferId(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDepositTxId(value);
|
|
break;
|
|
case 15:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setHash(value);
|
|
break;
|
|
case 16:
|
|
var value = msg.getExtraDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
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.TradeStatistics2.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.TradeStatistics2.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.TradeStatistics2} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getBaseCurrency();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCounterCurrency();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDirection();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradePrice();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentMethodId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOfferDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOfferUseMarketBasedPrice();
|
|
if (f) {
|
|
writer.writeBool(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOfferMarketPriceMargin();
|
|
if (f !== 0.0) {
|
|
writer.writeDouble(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOfferAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOfferMinAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOfferId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
13,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
15,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(16, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
f = message.getMakerDepositTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
100,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerDepositTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
101,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string base_currency = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getBaseCurrency = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setBaseCurrency = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string counter_currency = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getCounterCurrency = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setCounterCurrency = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional OfferDirection direction = 3;
|
|
* @return {!proto.io.bisq.protobuffer.OfferDirection}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getDirection = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.OfferDirection} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.OfferDirection} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setDirection = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_price = 4;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getTradePrice = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setTradePrice = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_amount = 5;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getTradeAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setTradeAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_date = 6;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getTradeDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setTradeDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payment_method_id = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getPaymentMethodId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setPaymentMethodId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 offer_date = 8;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getOfferDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setOfferDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool offer_use_market_based_price = 9;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getOfferUseMarketBasedPrice = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setOfferUseMarketBasedPrice = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional double offer_market_price_margin = 10;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getOfferMarketPriceMargin = function() {
|
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setOfferMarketPriceMargin = function(value) {
|
|
return jspb.Message.setProto3FloatField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 offer_amount = 11;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getOfferAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setOfferAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 offer_min_amount = 12;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getOfferMinAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setOfferMinAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string offer_id = 13;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getOfferId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setOfferId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string deposit_tx_id = 14;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getDepositTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setDepositTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash = 15;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash = 15;
|
|
* This is a type-conversion wrapper around `getHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash = 15;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> extra_data = 16;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getExtraDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 16, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.clearExtraDataMap = function() {
|
|
this.getExtraDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
/**
|
|
* optional string maker_deposit_tx_id = 100;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getMakerDepositTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 100, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.setMakerDepositTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 100, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string taker_deposit_tx_id = 101;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.prototype.getTakerDepositTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 101, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2.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_<name>, 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.TradeStatistics3.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.TradeStatistics3.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.TradeStatistics3} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
price: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
amount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
paymentMethod: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
date: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
hash: msg.getHash_asB64(),
|
|
extraDataMap: (f = msg.getExtraDataMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
arbitrator: jspb.Message.getFieldWithDefault(msg, 100, ""),
|
|
makerDepositTxId: jspb.Message.getFieldWithDefault(msg, 101, ""),
|
|
takerDepositTxId: jspb.Message.getFieldWithDefault(msg, 102, "")
|
|
};
|
|
|
|
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.TradeStatistics3}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.TradeStatistics3;
|
|
return proto.io.bisq.protobuffer.TradeStatistics3.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.TradeStatistics3} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.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.setCurrency(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setPrice(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setAmount(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPaymentMethod(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setDate(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setHash(value);
|
|
break;
|
|
case 9:
|
|
var value = msg.getExtraDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
case 100:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setArbitrator(value);
|
|
break;
|
|
case 101:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerDepositTxId(value);
|
|
break;
|
|
case 102:
|
|
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.TradeStatistics3.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.TradeStatistics3.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.TradeStatistics3} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getCurrency();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPrice();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentMethod();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
f = message.getArbitrator();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
100,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerDepositTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
101,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerDepositTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
102,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string currency = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getCurrency = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.setCurrency = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 price = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getPrice = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.setPrice = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 amount = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.setAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payment_method = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getPaymentMethod = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.setPaymentMethod = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 date = 5;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.setDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash = 8;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash = 8;
|
|
* This is a type-conversion wrapper around `getHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash = 8;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.setHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> extra_data = 9;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getExtraDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 9, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.clearExtraDataMap = function() {
|
|
this.getExtraDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
/**
|
|
* optional string arbitrator = 100;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getArbitrator = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 100, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.setArbitrator = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 100, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_deposit_tx_id = 101;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getMakerDepositTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 101, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.setMakerDepositTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 101, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string taker_deposit_tx_id = 102;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.getTakerDepositTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 102, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3.prototype.setTakerDepositTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 102, 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_<name>, 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.MailboxStoragePayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MailboxStoragePayload.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.MailboxStoragePayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
prefixedSealedAndSignedMessage: (f = msg.getPrefixedSealedAndSignedMessage()) && proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.toObject(includeInstance, f),
|
|
senderPubKeyForAddOperationBytes: msg.getSenderPubKeyForAddOperationBytes_asB64(),
|
|
ownerPubKeyBytes: msg.getOwnerPubKeyBytes_asB64(),
|
|
extraDataMap: (f = msg.getExtraDataMap()) ? f.toObject(includeInstance, undefined) : []
|
|
};
|
|
|
|
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.MailboxStoragePayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MailboxStoragePayload;
|
|
return proto.io.bisq.protobuffer.MailboxStoragePayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MailboxStoragePayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MailboxStoragePayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.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.PrefixedSealedAndSignedMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.deserializeBinaryFromReader);
|
|
msg.setPrefixedSealedAndSignedMessage(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSenderPubKeyForAddOperationBytes(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setOwnerPubKeyBytes(value);
|
|
break;
|
|
case 4:
|
|
var value = msg.getExtraDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.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.MailboxStoragePayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPrefixedSealedAndSignedMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSenderPubKeyForAddOperationBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOwnerPubKeyBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PrefixedSealedAndSignedMessage prefixed_sealed_and_signed_message = 1;
|
|
* @return {?proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.getPrefixedSealedAndSignedMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PrefixedSealedAndSignedMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.MailboxStoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.setPrefixedSealedAndSignedMessage = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.MailboxStoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.clearPrefixedSealedAndSignedMessage = function() {
|
|
return this.setPrefixedSealedAndSignedMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.hasPrefixedSealedAndSignedMessage = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes sender_pub_key_for_add_operation_bytes = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.getSenderPubKeyForAddOperationBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes sender_pub_key_for_add_operation_bytes = 2;
|
|
* This is a type-conversion wrapper around `getSenderPubKeyForAddOperationBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.getSenderPubKeyForAddOperationBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSenderPubKeyForAddOperationBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes sender_pub_key_for_add_operation_bytes = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSenderPubKeyForAddOperationBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.getSenderPubKeyForAddOperationBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSenderPubKeyForAddOperationBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.MailboxStoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.setSenderPubKeyForAddOperationBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 3;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.getOwnerPubKeyBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 3;
|
|
* This is a type-conversion wrapper around `getOwnerPubKeyBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.getOwnerPubKeyBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getOwnerPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes owner_pub_key_bytes = 3;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getOwnerPubKeyBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.getOwnerPubKeyBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getOwnerPubKeyBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.MailboxStoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.setOwnerPubKeyBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> extra_data = 4;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.getExtraDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.MailboxStoragePayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MailboxStoragePayload.prototype.clearExtraDataMap = function() {
|
|
this.getExtraDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.repeatedFields_ = [17,19,1003];
|
|
|
|
|
|
|
|
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_<name>, 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.OfferPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.OfferPayload.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.OfferPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
date: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
ownerNodeAddress: (f = msg.getOwnerNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
pubKeyRing: (f = msg.getPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
direction: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
price: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
marketPriceMarginPct: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
useMarketBasedPrice: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
amount: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
minAmount: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
baseCurrencyCode: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
counterCurrencyCode: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
paymentMethodId: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
makerPaymentAccountId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
offerFeePaymentTxId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
countryCode: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
acceptedCountryCodesList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
|
|
bankId: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
acceptedBankIdsList: (f = jspb.Message.getRepeatedField(msg, 19)) == null ? undefined : f,
|
|
versionNr: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
blockHeightAtOfferCreation: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
|
makerFee: jspb.Message.getFieldWithDefault(msg, 22, 0),
|
|
buyerSecurityDeposit: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
sellerSecurityDeposit: jspb.Message.getFieldWithDefault(msg, 24, 0),
|
|
maxTradeLimit: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
maxTradePeriod: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
|
useAutoClose: jspb.Message.getBooleanFieldWithDefault(msg, 27, false),
|
|
useReOpenAfterAutoClose: jspb.Message.getBooleanFieldWithDefault(msg, 28, false),
|
|
lowerClosePrice: jspb.Message.getFieldWithDefault(msg, 29, 0),
|
|
upperClosePrice: jspb.Message.getFieldWithDefault(msg, 30, 0),
|
|
isPrivateOffer: jspb.Message.getBooleanFieldWithDefault(msg, 31, false),
|
|
hashOfChallenge: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
extraDataMap: (f = msg.getExtraDataMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
protocolVersion: jspb.Message.getFieldWithDefault(msg, 34, 0),
|
|
arbitratorSigner: (f = msg.getArbitratorSigner()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
arbitratorSignature: jspb.Message.getFieldWithDefault(msg, 1002, ""),
|
|
reserveTxKeyImagesList: (f = jspb.Message.getRepeatedField(msg, 1003)) == null ? undefined : 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.OfferPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.OfferPayload;
|
|
return proto.io.bisq.protobuffer.OfferPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.OfferPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.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 {number} */ (reader.readInt64());
|
|
msg.setDate(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setOwnerNodeAddress(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setPubKeyRing(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.OfferDirection} */ (reader.readEnum());
|
|
msg.setDirection(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setPrice(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {number} */ (reader.readDouble());
|
|
msg.setMarketPriceMarginPct(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUseMarketBasedPrice(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setAmount(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setMinAmount(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBaseCurrencyCode(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCounterCurrencyCode(value);
|
|
break;
|
|
case 13:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPaymentMethodId(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerPaymentAccountId(value);
|
|
break;
|
|
case 15:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setOfferFeePaymentTxId(value);
|
|
break;
|
|
case 16:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCountryCode(value);
|
|
break;
|
|
case 17:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addAcceptedCountryCodes(value);
|
|
break;
|
|
case 18:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankId(value);
|
|
break;
|
|
case 19:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addAcceptedBankIds(value);
|
|
break;
|
|
case 20:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setVersionNr(value);
|
|
break;
|
|
case 21:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setBlockHeightAtOfferCreation(value);
|
|
break;
|
|
case 22:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setMakerFee(value);
|
|
break;
|
|
case 23:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setBuyerSecurityDeposit(value);
|
|
break;
|
|
case 24:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setSellerSecurityDeposit(value);
|
|
break;
|
|
case 25:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setMaxTradeLimit(value);
|
|
break;
|
|
case 26:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setMaxTradePeriod(value);
|
|
break;
|
|
case 27:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUseAutoClose(value);
|
|
break;
|
|
case 28:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUseReOpenAfterAutoClose(value);
|
|
break;
|
|
case 29:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setLowerClosePrice(value);
|
|
break;
|
|
case 30:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setUpperClosePrice(value);
|
|
break;
|
|
case 31:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsPrivateOffer(value);
|
|
break;
|
|
case 32:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHashOfChallenge(value);
|
|
break;
|
|
case 33:
|
|
var value = msg.getExtraDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
case 34:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setProtocolVersion(value);
|
|
break;
|
|
case 1001:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setArbitratorSigner(value);
|
|
break;
|
|
case 1002:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setArbitratorSignature(value);
|
|
break;
|
|
case 1003:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addReserveTxKeyImages(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.OfferPayload.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.OfferPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOwnerNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDirection();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPrice();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMarketPriceMarginPct();
|
|
if (f !== 0.0) {
|
|
writer.writeDouble(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUseMarketBasedPrice();
|
|
if (f) {
|
|
writer.writeBool(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMinAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBaseCurrencyCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCounterCurrencyCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentMethodId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
13,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerPaymentAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOfferFeePaymentTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
15,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCountryCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
16,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAcceptedCountryCodesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
17,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
18,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAcceptedBankIdsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
19,
|
|
f
|
|
);
|
|
}
|
|
f = message.getVersionNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
20,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBlockHeightAtOfferCreation();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
21,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerFee();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
22,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBuyerSecurityDeposit();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
23,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSellerSecurityDeposit();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
24,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMaxTradeLimit();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
25,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMaxTradePeriod();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
26,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUseAutoClose();
|
|
if (f) {
|
|
writer.writeBool(
|
|
27,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUseReOpenAfterAutoClose();
|
|
if (f) {
|
|
writer.writeBool(
|
|
28,
|
|
f
|
|
);
|
|
}
|
|
f = message.getLowerClosePrice();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
29,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUpperClosePrice();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
30,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIsPrivateOffer();
|
|
if (f) {
|
|
writer.writeBool(
|
|
31,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHashOfChallenge();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
32,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(33, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
f = message.getProtocolVersion();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
34,
|
|
f
|
|
);
|
|
}
|
|
f = message.getArbitratorSigner();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1001,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getArbitratorSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1002,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxKeyImagesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
1003,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 date = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress owner_node_address = 3;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getOwnerNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setOwnerNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.clearOwnerNodeAddress = function() {
|
|
return this.setOwnerNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.hasOwnerNodeAddress = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing pub_key_ring = 4;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.clearPubKeyRing = function() {
|
|
return this.setPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.hasPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 4) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional OfferDirection direction = 5;
|
|
* @return {!proto.io.bisq.protobuffer.OfferDirection}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getDirection = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.OfferDirection} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.OfferDirection} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setDirection = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 price = 6;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getPrice = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setPrice = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional double market_price_margin_pct = 7;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getMarketPriceMarginPct = function() {
|
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setMarketPriceMarginPct = function(value) {
|
|
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_market_based_price = 8;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getUseMarketBasedPrice = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setUseMarketBasedPrice = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 amount = 9;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 min_amount = 10;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getMinAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setMinAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string base_currency_code = 11;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getBaseCurrencyCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setBaseCurrencyCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string counter_currency_code = 12;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getCounterCurrencyCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setCounterCurrencyCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payment_method_id = 13;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getPaymentMethodId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setPaymentMethodId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_payment_account_id = 14;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getMakerPaymentAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setMakerPaymentAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string offer_fee_payment_tx_id = 15;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getOfferFeePaymentTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setOfferFeePaymentTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string country_code = 16;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getCountryCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setCountryCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 16, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string accepted_country_codes = 17;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getAcceptedCountryCodesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 17));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setAcceptedCountryCodesList = function(value) {
|
|
return jspb.Message.setField(this, 17, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.addAcceptedCountryCodes = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 17, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.clearAcceptedCountryCodesList = function() {
|
|
return this.setAcceptedCountryCodesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_id = 18;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getBankId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setBankId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 18, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string accepted_bank_ids = 19;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getAcceptedBankIdsList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 19));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setAcceptedBankIdsList = function(value) {
|
|
return jspb.Message.setField(this, 19, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.addAcceptedBankIds = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 19, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.clearAcceptedBankIdsList = function() {
|
|
return this.setAcceptedBankIdsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string version_nr = 20;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getVersionNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setVersionNr = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 20, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 block_height_at_offer_creation = 21;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getBlockHeightAtOfferCreation = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setBlockHeightAtOfferCreation = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 21, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 maker_fee = 22;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getMakerFee = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 22, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setMakerFee = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 22, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 buyer_security_deposit = 23;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getBuyerSecurityDeposit = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setBuyerSecurityDeposit = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 23, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 seller_security_deposit = 24;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getSellerSecurityDeposit = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setSellerSecurityDeposit = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 24, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 max_trade_limit = 25;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getMaxTradeLimit = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setMaxTradeLimit = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 25, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 max_trade_period = 26;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getMaxTradePeriod = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 26, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setMaxTradePeriod = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 26, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_auto_close = 27;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getUseAutoClose = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 27, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setUseAutoClose = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 27, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_re_open_after_auto_close = 28;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getUseReOpenAfterAutoClose = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 28, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setUseReOpenAfterAutoClose = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 28, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 lower_close_price = 29;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getLowerClosePrice = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 29, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setLowerClosePrice = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 29, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 upper_close_price = 30;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getUpperClosePrice = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 30, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setUpperClosePrice = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 30, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_private_offer = 31;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getIsPrivateOffer = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 31, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setIsPrivateOffer = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 31, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string hash_of_challenge = 32;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getHashOfChallenge = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setHashOfChallenge = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 32, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> extra_data = 33;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getExtraDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 33, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.clearExtraDataMap = function() {
|
|
this.getExtraDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
/**
|
|
* optional int32 protocol_version = 34;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getProtocolVersion = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 34, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setProtocolVersion = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 34, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress arbitrator_signer = 1001;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getArbitratorSigner = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 1001));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setArbitratorSigner = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1001, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.clearArbitratorSigner = function() {
|
|
return this.setArbitratorSigner(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.hasArbitratorSigner = function() {
|
|
return jspb.Message.getField(this, 1001) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string arbitrator_signature = 1002;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getArbitratorSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1002, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setArbitratorSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1002, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string reserve_tx_key_images = 1003;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.getReserveTxKeyImagesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1003));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.setReserveTxKeyImagesList = function(value) {
|
|
return jspb.Message.setField(this, 1003, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.addReserveTxKeyImages = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 1003, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.OfferPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferPayload.prototype.clearReserveTxKeyImagesList = function() {
|
|
return this.setReserveTxKeyImagesList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.AccountAgeWitness.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AccountAgeWitness.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.AccountAgeWitness} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
hash: msg.getHash_asB64(),
|
|
date: 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.AccountAgeWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AccountAgeWitness;
|
|
return proto.io.bisq.protobuffer.AccountAgeWitness.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AccountAgeWitness} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AccountAgeWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setHash(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setDate(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.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.AccountAgeWitness} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash = 1;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.prototype.getHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash = 1;
|
|
* This is a type-conversion wrapper around `getHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.prototype.getHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes hash = 1;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.prototype.getHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.AccountAgeWitness} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.prototype.setHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 date = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.prototype.getDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.AccountAgeWitness} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.prototype.setDate = 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_<name>, 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.SignedWitness.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SignedWitness.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.SignedWitness} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
verificationMethod: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
accountAgeWitnessHash: msg.getAccountAgeWitnessHash_asB64(),
|
|
signature: msg.getSignature_asB64(),
|
|
signerPubKey: msg.getSignerPubKey_asB64(),
|
|
witnessOwnerPubKey: msg.getWitnessOwnerPubKey_asB64(),
|
|
date: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
tradeAmount: jspb.Message.getFieldWithDefault(msg, 7, 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.SignedWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SignedWitness;
|
|
return proto.io.bisq.protobuffer.SignedWitness.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SignedWitness} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.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.SignedWitness.VerificationMethod} */ (reader.readEnum());
|
|
msg.setVerificationMethod(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setAccountAgeWitnessHash(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSignature(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSignerPubKey(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setWitnessOwnerPubKey(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setDate(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradeAmount(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SignedWitness.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.SignedWitness} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getVerificationMethod();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountAgeWitnessHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSignerPubKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getWitnessOwnerPubKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.VerificationMethod = {
|
|
PB_ERROR: 0,
|
|
ARBITRATOR: 1,
|
|
TRADE: 2
|
|
};
|
|
|
|
/**
|
|
* optional VerificationMethod verification_method = 1;
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitness.VerificationMethod}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getVerificationMethod = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.SignedWitness.VerificationMethod} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.SignedWitness.VerificationMethod} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitness} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.setVerificationMethod = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_hash = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getAccountAgeWitnessHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_hash = 2;
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getAccountAgeWitnessHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getAccountAgeWitnessHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_hash = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getAccountAgeWitnessHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getAccountAgeWitnessHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitness} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.setAccountAgeWitnessHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 3;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 3;
|
|
* This is a type-conversion wrapper around `getSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 3;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitness} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.setSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signer_pub_key = 4;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getSignerPubKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signer_pub_key = 4;
|
|
* This is a type-conversion wrapper around `getSignerPubKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getSignerPubKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSignerPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signer_pub_key = 4;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSignerPubKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getSignerPubKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSignerPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitness} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.setSignerPubKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes witness_owner_pub_key = 5;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getWitnessOwnerPubKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes witness_owner_pub_key = 5;
|
|
* This is a type-conversion wrapper around `getWitnessOwnerPubKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getWitnessOwnerPubKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getWitnessOwnerPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes witness_owner_pub_key = 5;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getWitnessOwnerPubKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getWitnessOwnerPubKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getWitnessOwnerPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitness} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.setWitnessOwnerPubKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 date = 6;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitness} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.setDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_amount = 7;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.getTradeAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitness} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitness.prototype.setTradeAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.repeatedFields_ = [23];
|
|
|
|
|
|
|
|
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_<name>, 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.Dispute.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Dispute.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.Dispute} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
id: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
traderId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
isOpener: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
disputeOpenerIsBuyer: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
disputeOpenerIsMaker: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
openingDate: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
traderPubKeyRing: (f = msg.getTraderPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
tradeDate: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
contract: (f = msg.getContract()) && proto.io.bisq.protobuffer.Contract.toObject(includeInstance, f),
|
|
contractHash: msg.getContractHash_asB64(),
|
|
depositTxSerialized: msg.getDepositTxSerialized_asB64(),
|
|
payoutTxSerialized: msg.getPayoutTxSerialized_asB64(),
|
|
depositTxId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
payoutTxId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
contractAsJson: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
makerContractSignature: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
takerContractSignature: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
makerPaymentAccountPayload: (f = msg.getMakerPaymentAccountPayload()) && proto.io.bisq.protobuffer.PaymentAccountPayload.toObject(includeInstance, f),
|
|
takerPaymentAccountPayload: (f = msg.getTakerPaymentAccountPayload()) && proto.io.bisq.protobuffer.PaymentAccountPayload.toObject(includeInstance, f),
|
|
agentPubKeyRing: (f = msg.getAgentPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
isSupportTicket: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
chatMessageList: jspb.Message.toObjectList(msg.getChatMessageList(),
|
|
proto.io.bisq.protobuffer.ChatMessage.toObject, includeInstance),
|
|
isClosed: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
|
disputeResult: (f = msg.getDisputeResult()) && proto.io.bisq.protobuffer.DisputeResult.toObject(includeInstance, f),
|
|
disputePayoutTxId: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
supportType: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
mediatorsDisputeResult: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
delayedPayoutTxId: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
donationAddressOfDelayedPayoutTx: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
state: jspb.Message.getFieldWithDefault(msg, 31, 0),
|
|
tradePeriodEnd: jspb.Message.getFieldWithDefault(msg, 32, 0),
|
|
extraDataMap: (f = msg.getExtraDataMap()) ? f.toObject(includeInstance, undefined) : []
|
|
};
|
|
|
|
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.Dispute}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Dispute;
|
|
return proto.io.bisq.protobuffer.Dispute.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Dispute} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Dispute}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.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.setId(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setTraderId(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsOpener(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setDisputeOpenerIsBuyer(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setDisputeOpenerIsMaker(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setOpeningDate(value);
|
|
break;
|
|
case 8:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setTraderPubKeyRing(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradeDate(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.Contract;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Contract.deserializeBinaryFromReader);
|
|
msg.setContract(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setContractHash(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setDepositTxSerialized(value);
|
|
break;
|
|
case 13:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setPayoutTxSerialized(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDepositTxId(value);
|
|
break;
|
|
case 15:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPayoutTxId(value);
|
|
break;
|
|
case 16:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setContractAsJson(value);
|
|
break;
|
|
case 17:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerContractSignature(value);
|
|
break;
|
|
case 18:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTakerContractSignature(value);
|
|
break;
|
|
case 19:
|
|
var value = new proto.io.bisq.protobuffer.PaymentAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccountPayload.deserializeBinaryFromReader);
|
|
msg.setMakerPaymentAccountPayload(value);
|
|
break;
|
|
case 20:
|
|
var value = new proto.io.bisq.protobuffer.PaymentAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccountPayload.deserializeBinaryFromReader);
|
|
msg.setTakerPaymentAccountPayload(value);
|
|
break;
|
|
case 21:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setAgentPubKeyRing(value);
|
|
break;
|
|
case 22:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsSupportTicket(value);
|
|
break;
|
|
case 23:
|
|
var value = new proto.io.bisq.protobuffer.ChatMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ChatMessage.deserializeBinaryFromReader);
|
|
msg.addChatMessage(value);
|
|
break;
|
|
case 24:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsClosed(value);
|
|
break;
|
|
case 25:
|
|
var value = new proto.io.bisq.protobuffer.DisputeResult;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DisputeResult.deserializeBinaryFromReader);
|
|
msg.setDisputeResult(value);
|
|
break;
|
|
case 26:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDisputePayoutTxId(value);
|
|
break;
|
|
case 27:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.SupportType} */ (reader.readEnum());
|
|
msg.setSupportType(value);
|
|
break;
|
|
case 28:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMediatorsDisputeResult(value);
|
|
break;
|
|
case 29:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDelayedPayoutTxId(value);
|
|
break;
|
|
case 30:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDonationAddressOfDelayedPayoutTx(value);
|
|
break;
|
|
case 31:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.Dispute.State} */ (reader.readEnum());
|
|
msg.setState(value);
|
|
break;
|
|
case 32:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradePeriodEnd(value);
|
|
break;
|
|
case 33:
|
|
var value = msg.getExtraDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Dispute.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.Dispute} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTraderId();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIsOpener();
|
|
if (f) {
|
|
writer.writeBool(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDisputeOpenerIsBuyer();
|
|
if (f) {
|
|
writer.writeBool(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDisputeOpenerIsMaker();
|
|
if (f) {
|
|
writer.writeBool(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOpeningDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTraderPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
8,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTradeDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContract();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.Contract.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getContractHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositTxSerialized_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayoutTxSerialized_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
13,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayoutTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
15,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContractAsJson();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
16,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerContractSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
17,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerContractSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
18,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerPaymentAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
19,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTakerPaymentAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
20,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAgentPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
21,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getIsSupportTicket();
|
|
if (f) {
|
|
writer.writeBool(
|
|
22,
|
|
f
|
|
);
|
|
}
|
|
f = message.getChatMessageList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
23,
|
|
f,
|
|
proto.io.bisq.protobuffer.ChatMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getIsClosed();
|
|
if (f) {
|
|
writer.writeBool(
|
|
24,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDisputeResult();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
25,
|
|
f,
|
|
proto.io.bisq.protobuffer.DisputeResult.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDisputePayoutTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
26,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSupportType();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
27,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMediatorsDisputeResult();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
28,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDelayedPayoutTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
29,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDonationAddressOfDelayedPayoutTx();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
30,
|
|
f
|
|
);
|
|
}
|
|
f = message.getState();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
31,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradePeriodEnd();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
32,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(33, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.State = {
|
|
NEEDS_UPGRADE: 0,
|
|
NEW: 1,
|
|
OPEN: 2,
|
|
REOPENED: 3,
|
|
CLOSED: 4
|
|
};
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string id = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 trader_id = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getTraderId = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setTraderId = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_opener = 4;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getIsOpener = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setIsOpener = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool dispute_opener_is_buyer = 5;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getDisputeOpenerIsBuyer = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setDisputeOpenerIsBuyer = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool dispute_opener_is_maker = 6;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getDisputeOpenerIsMaker = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setDisputeOpenerIsMaker = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 opening_date = 7;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getOpeningDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setOpeningDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing trader_pub_key_ring = 8;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getTraderPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setTraderPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.clearTraderPubKeyRing = function() {
|
|
return this.setTraderPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.hasTraderPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 8) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_date = 9;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getTradeDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setTradeDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Contract contract = 10;
|
|
* @return {?proto.io.bisq.protobuffer.Contract}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getContract = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Contract} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Contract, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Contract|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setContract = function(value) {
|
|
return jspb.Message.setWrapperField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.clearContract = function() {
|
|
return this.setContract(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.hasContract = function() {
|
|
return jspb.Message.getField(this, 10) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes contract_hash = 11;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getContractHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes contract_hash = 11;
|
|
* This is a type-conversion wrapper around `getContractHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getContractHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getContractHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes contract_hash = 11;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getContractHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getContractHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getContractHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setContractHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx_serialized = 12;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getDepositTxSerialized = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx_serialized = 12;
|
|
* This is a type-conversion wrapper around `getDepositTxSerialized()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getDepositTxSerialized_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getDepositTxSerialized()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes deposit_tx_serialized = 12;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getDepositTxSerialized()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getDepositTxSerialized_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getDepositTxSerialized()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setDepositTxSerialized = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payout_tx_serialized = 13;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getPayoutTxSerialized = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payout_tx_serialized = 13;
|
|
* This is a type-conversion wrapper around `getPayoutTxSerialized()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getPayoutTxSerialized_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getPayoutTxSerialized()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payout_tx_serialized = 13;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getPayoutTxSerialized()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getPayoutTxSerialized_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getPayoutTxSerialized()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setPayoutTxSerialized = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string deposit_tx_id = 14;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getDepositTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setDepositTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payout_tx_id = 15;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getPayoutTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setPayoutTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string contract_as_json = 16;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getContractAsJson = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setContractAsJson = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 16, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_contract_signature = 17;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getMakerContractSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setMakerContractSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 17, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string taker_contract_signature = 18;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getTakerContractSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setTakerContractSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 18, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentAccountPayload maker_payment_account_payload = 19;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getMakerPaymentAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccountPayload, 19));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setMakerPaymentAccountPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 19, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.clearMakerPaymentAccountPayload = function() {
|
|
return this.setMakerPaymentAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.hasMakerPaymentAccountPayload = function() {
|
|
return jspb.Message.getField(this, 19) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentAccountPayload taker_payment_account_payload = 20;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getTakerPaymentAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccountPayload, 20));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setTakerPaymentAccountPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 20, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.clearTakerPaymentAccountPayload = function() {
|
|
return this.setTakerPaymentAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.hasTakerPaymentAccountPayload = function() {
|
|
return jspb.Message.getField(this, 20) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing agent_pub_key_ring = 21;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getAgentPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 21));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setAgentPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 21, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.clearAgentPubKeyRing = function() {
|
|
return this.setAgentPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.hasAgentPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 21) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_support_ticket = 22;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getIsSupportTicket = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setIsSupportTicket = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 22, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated ChatMessage chat_message = 23;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.ChatMessage>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getChatMessageList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.ChatMessage>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.ChatMessage, 23));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.ChatMessage>} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setChatMessageList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 23, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.ChatMessage=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.addChatMessage = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 23, opt_value, proto.io.bisq.protobuffer.ChatMessage, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.clearChatMessageList = function() {
|
|
return this.setChatMessageList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_closed = 24;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getIsClosed = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 24, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setIsClosed = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 24, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DisputeResult dispute_result = 25;
|
|
* @return {?proto.io.bisq.protobuffer.DisputeResult}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getDisputeResult = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DisputeResult} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DisputeResult, 25));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DisputeResult|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setDisputeResult = function(value) {
|
|
return jspb.Message.setWrapperField(this, 25, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.clearDisputeResult = function() {
|
|
return this.setDisputeResult(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.hasDisputeResult = function() {
|
|
return jspb.Message.getField(this, 25) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string dispute_payout_tx_id = 26;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getDisputePayoutTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setDisputePayoutTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 26, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SupportType support_type = 27;
|
|
* @return {!proto.io.bisq.protobuffer.SupportType}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getSupportType = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.SupportType} */ (jspb.Message.getFieldWithDefault(this, 27, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.SupportType} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setSupportType = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 27, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string mediators_dispute_result = 28;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getMediatorsDisputeResult = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setMediatorsDisputeResult = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 28, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string delayed_payout_tx_id = 29;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getDelayedPayoutTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setDelayedPayoutTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 29, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string donation_address_of_delayed_payout_tx = 30;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getDonationAddressOfDelayedPayoutTx = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setDonationAddressOfDelayedPayoutTx = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 30, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional State state = 31;
|
|
* @return {!proto.io.bisq.protobuffer.Dispute.State}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getState = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.Dispute.State} */ (jspb.Message.getFieldWithDefault(this, 31, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Dispute.State} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setState = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 31, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_period_end = 32;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getTradePeriodEnd = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 32, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.setTradePeriodEnd = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 32, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> extra_data = 33;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.getExtraDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 33, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Dispute} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Dispute.prototype.clearExtraDataMap = function() {
|
|
this.getExtraDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.Attachment.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Attachment.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.Attachment} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
fileName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
bytes: msg.getBytes_asB64()
|
|
};
|
|
|
|
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.Attachment}
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Attachment;
|
|
return proto.io.bisq.protobuffer.Attachment.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Attachment} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Attachment}
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.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.setFileName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setBytes(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Attachment.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.Attachment} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getFileName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string file_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.prototype.getFileName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Attachment} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.prototype.setFileName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes bytes = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.prototype.getBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes bytes = 2;
|
|
* This is a type-conversion wrapper around `getBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.prototype.getBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes bytes = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.prototype.getBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.Attachment} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Attachment.prototype.setBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(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_<name>, 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.DisputeResult.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DisputeResult.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.DisputeResult} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
traderId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
winner: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
reasonOrdinal: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
tamperProofEvidence: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
idVerification: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
screenCast: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
summaryNotes: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
chatMessage: (f = msg.getChatMessage()) && proto.io.bisq.protobuffer.ChatMessage.toObject(includeInstance, f),
|
|
arbitratorSignature: msg.getArbitratorSignature_asB64(),
|
|
buyerPayoutAmount: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
sellerPayoutAmount: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
arbitratorPubKey: msg.getArbitratorPubKey_asB64(),
|
|
closeDate: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
isLoserPublisher: jspb.Message.getBooleanFieldWithDefault(msg, 15, 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.DisputeResult}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DisputeResult;
|
|
return proto.io.bisq.protobuffer.DisputeResult.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DisputeResult} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.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 {number} */ (reader.readInt32());
|
|
msg.setTraderId(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.DisputeResult.Winner} */ (reader.readEnum());
|
|
msg.setWinner(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setReasonOrdinal(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setTamperProofEvidence(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIdVerification(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setScreenCast(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSummaryNotes(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.io.bisq.protobuffer.ChatMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ChatMessage.deserializeBinaryFromReader);
|
|
msg.setChatMessage(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setArbitratorSignature(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setBuyerPayoutAmount(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setSellerPayoutAmount(value);
|
|
break;
|
|
case 13:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setArbitratorPubKey(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCloseDate(value);
|
|
break;
|
|
case 15:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsLoserPublisher(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DisputeResult.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.DisputeResult} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradeId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTraderId();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getWinner();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReasonOrdinal();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTamperProofEvidence();
|
|
if (f) {
|
|
writer.writeBool(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIdVerification();
|
|
if (f) {
|
|
writer.writeBool(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getScreenCast();
|
|
if (f) {
|
|
writer.writeBool(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSummaryNotes();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getChatMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
9,
|
|
f,
|
|
proto.io.bisq.protobuffer.ChatMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getArbitratorSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBuyerPayoutAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSellerPayoutAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getArbitratorPubKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
13,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCloseDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIsLoserPublisher();
|
|
if (f) {
|
|
writer.writeBool(
|
|
15,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.Winner = {
|
|
PB_ERROR_WINNER: 0,
|
|
BUYER: 1,
|
|
SELLER: 2
|
|
};
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.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
|
|
};
|
|
|
|
/**
|
|
* optional string trade_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getTradeId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setTradeId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 trader_id = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getTraderId = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setTraderId = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Winner winner = 3;
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult.Winner}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getWinner = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.DisputeResult.Winner} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.DisputeResult.Winner} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setWinner = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 reason_ordinal = 4;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getReasonOrdinal = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setReasonOrdinal = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool tamper_proof_evidence = 5;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getTamperProofEvidence = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setTamperProofEvidence = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool id_verification = 6;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getIdVerification = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setIdVerification = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool screen_cast = 7;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getScreenCast = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setScreenCast = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string summary_notes = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getSummaryNotes = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setSummaryNotes = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ChatMessage chat_message = 9;
|
|
* @return {?proto.io.bisq.protobuffer.ChatMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getChatMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ChatMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ChatMessage, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ChatMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setChatMessage = function(value) {
|
|
return jspb.Message.setWrapperField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.clearChatMessage = function() {
|
|
return this.setChatMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.hasChatMessage = function() {
|
|
return jspb.Message.getField(this, 9) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes arbitrator_signature = 10;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getArbitratorSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes arbitrator_signature = 10;
|
|
* This is a type-conversion wrapper around `getArbitratorSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getArbitratorSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getArbitratorSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes arbitrator_signature = 10;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getArbitratorSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getArbitratorSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getArbitratorSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setArbitratorSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 buyer_payout_amount = 11;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getBuyerPayoutAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setBuyerPayoutAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 seller_payout_amount = 12;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getSellerPayoutAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setSellerPayoutAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes arbitrator_pub_key = 13;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getArbitratorPubKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes arbitrator_pub_key = 13;
|
|
* This is a type-conversion wrapper around `getArbitratorPubKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getArbitratorPubKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getArbitratorPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes arbitrator_pub_key = 13;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getArbitratorPubKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getArbitratorPubKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getArbitratorPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setArbitratorPubKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 close_date = 14;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getCloseDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setCloseDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_loser_publisher = 15;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.getIsLoserPublisher = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.DisputeResult} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DisputeResult.prototype.setIsLoserPublisher = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 15, 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_<name>, 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.Contract.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Contract.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.Contract} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
offerPayload: (f = msg.getOfferPayload()) && proto.io.bisq.protobuffer.OfferPayload.toObject(includeInstance, f),
|
|
tradeAmount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
tradePrice: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
isBuyerMakerAndSellerTaker: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
makerAccountId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
takerAccountId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
makerPaymentMethodId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
takerPaymentMethodId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
makerPaymentAccountPayloadHash: msg.getMakerPaymentAccountPayloadHash_asB64(),
|
|
takerPaymentAccountPayloadHash: msg.getTakerPaymentAccountPayloadHash_asB64(),
|
|
makerPubKeyRing: (f = msg.getMakerPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
takerPubKeyRing: (f = msg.getTakerPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
buyerNodeAddress: (f = msg.getBuyerNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
sellerNodeAddress: (f = msg.getSellerNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
makerPayoutAddressString: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
takerPayoutAddressString: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
arbitratorNodeAddress: (f = msg.getArbitratorNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
lockTime: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
makerDepositTxHash: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
takerDepositTxHash: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
};
|
|
|
|
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.Contract}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Contract;
|
|
return proto.io.bisq.protobuffer.Contract.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Contract} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Contract}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.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.OfferPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.OfferPayload.deserializeBinaryFromReader);
|
|
msg.setOfferPayload(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradeAmount(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradePrice(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsBuyerMakerAndSellerTaker(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerAccountId(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTakerAccountId(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerPaymentMethodId(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTakerPaymentMethodId(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setMakerPaymentAccountPayloadHash(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setTakerPaymentAccountPayloadHash(value);
|
|
break;
|
|
case 13:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setMakerPubKeyRing(value);
|
|
break;
|
|
case 14:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setTakerPubKeyRing(value);
|
|
break;
|
|
case 15:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setBuyerNodeAddress(value);
|
|
break;
|
|
case 16:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSellerNodeAddress(value);
|
|
break;
|
|
case 17:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerPayoutAddressString(value);
|
|
break;
|
|
case 18:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTakerPayoutAddressString(value);
|
|
break;
|
|
case 19:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setArbitratorNodeAddress(value);
|
|
break;
|
|
case 20:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setLockTime(value);
|
|
break;
|
|
case 21:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerDepositTxHash(value);
|
|
break;
|
|
case 22:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTakerDepositTxHash(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Contract.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.Contract} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getOfferPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.OfferPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTradeAmount();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradePrice();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIsBuyerMakerAndSellerTaker();
|
|
if (f) {
|
|
writer.writeBool(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerPaymentMethodId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerPaymentMethodId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerPaymentAccountPayloadHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerPaymentAccountPayloadHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
13,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTakerPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
14,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBuyerNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
15,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSellerNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
16,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMakerPayoutAddressString();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
17,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerPayoutAddressString();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
18,
|
|
f
|
|
);
|
|
}
|
|
f = message.getArbitratorNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
19,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getLockTime();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
20,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerDepositTxHash();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
21,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerDepositTxHash();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
22,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional OfferPayload offer_payload = 1;
|
|
* @return {?proto.io.bisq.protobuffer.OfferPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getOfferPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.OfferPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OfferPayload, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.OfferPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setOfferPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.clearOfferPayload = function() {
|
|
return this.setOfferPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.hasOfferPayload = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_amount = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getTradeAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setTradeAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_price = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getTradePrice = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setTradePrice = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_buyer_maker_and_seller_taker = 6;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getIsBuyerMakerAndSellerTaker = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setIsBuyerMakerAndSellerTaker = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_account_id = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getMakerAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setMakerAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string taker_account_id = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getTakerAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setTakerAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_payment_method_id = 9;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getMakerPaymentMethodId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setMakerPaymentMethodId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string taker_payment_method_id = 10;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getTakerPaymentMethodId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setTakerPaymentMethodId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes maker_payment_account_payload_hash = 11;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getMakerPaymentAccountPayloadHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes maker_payment_account_payload_hash = 11;
|
|
* This is a type-conversion wrapper around `getMakerPaymentAccountPayloadHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getMakerPaymentAccountPayloadHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getMakerPaymentAccountPayloadHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes maker_payment_account_payload_hash = 11;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getMakerPaymentAccountPayloadHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getMakerPaymentAccountPayloadHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getMakerPaymentAccountPayloadHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setMakerPaymentAccountPayloadHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes taker_payment_account_payload_hash = 12;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getTakerPaymentAccountPayloadHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes taker_payment_account_payload_hash = 12;
|
|
* This is a type-conversion wrapper around `getTakerPaymentAccountPayloadHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getTakerPaymentAccountPayloadHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getTakerPaymentAccountPayloadHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes taker_payment_account_payload_hash = 12;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getTakerPaymentAccountPayloadHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getTakerPaymentAccountPayloadHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getTakerPaymentAccountPayloadHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setTakerPaymentAccountPayloadHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing maker_pub_key_ring = 13;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getMakerPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 13));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setMakerPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.clearMakerPubKeyRing = function() {
|
|
return this.setMakerPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.hasMakerPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 13) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing taker_pub_key_ring = 14;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getTakerPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 14));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setTakerPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.clearTakerPubKeyRing = function() {
|
|
return this.setTakerPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.hasTakerPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 14) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress buyer_node_address = 15;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getBuyerNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 15));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setBuyerNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.clearBuyerNodeAddress = function() {
|
|
return this.setBuyerNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.hasBuyerNodeAddress = function() {
|
|
return jspb.Message.getField(this, 15) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress seller_node_address = 16;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getSellerNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 16));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setSellerNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 16, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.clearSellerNodeAddress = function() {
|
|
return this.setSellerNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.hasSellerNodeAddress = function() {
|
|
return jspb.Message.getField(this, 16) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_payout_address_string = 17;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getMakerPayoutAddressString = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setMakerPayoutAddressString = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 17, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string taker_payout_address_string = 18;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getTakerPayoutAddressString = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setTakerPayoutAddressString = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 18, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress arbitrator_node_address = 19;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getArbitratorNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 19));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setArbitratorNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 19, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.clearArbitratorNodeAddress = function() {
|
|
return this.setArbitratorNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.hasArbitratorNodeAddress = function() {
|
|
return jspb.Message.getField(this, 19) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 lock_time = 20;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getLockTime = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setLockTime = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 20, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_deposit_tx_hash = 21;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getMakerDepositTxHash = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setMakerDepositTxHash = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 21, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string taker_deposit_tx_hash = 22;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.getTakerDepositTxHash = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Contract} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Contract.prototype.setTakerDepositTxHash = function(value) {
|
|
return jspb.Message.setProto3StringField(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_<name>, 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.RawTransactionInput.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.RawTransactionInput.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.RawTransactionInput} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
index: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
parentTransaction: msg.getParentTransaction_asB64(),
|
|
value: jspb.Message.getFieldWithDefault(msg, 3, 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.RawTransactionInput}
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.RawTransactionInput;
|
|
return proto.io.bisq.protobuffer.RawTransactionInput.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.RawTransactionInput} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.RawTransactionInput}
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setIndex(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setParentTransaction(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setValue(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.RawTransactionInput.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.RawTransactionInput} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getIndex();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getParentTransaction_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getValue();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 index = 1;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.prototype.getIndex = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.RawTransactionInput} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.prototype.setIndex = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes parent_transaction = 2;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.prototype.getParentTransaction = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes parent_transaction = 2;
|
|
* This is a type-conversion wrapper around `getParentTransaction()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.prototype.getParentTransaction_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getParentTransaction()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes parent_transaction = 2;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getParentTransaction()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.prototype.getParentTransaction_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getParentTransaction()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.RawTransactionInput} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.prototype.setParentTransaction = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 value = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.prototype.getValue = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.RawTransactionInput} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RawTransactionInput.prototype.setValue = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* Oneof group definitions for this message. Each group defines the field
|
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
* @private {!Array<!Array<number>>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_ = [[4,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39]];
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.MessageCase = {
|
|
MESSAGE_NOT_SET: 0,
|
|
ALI_PAY_ACCOUNT_PAYLOAD: 4,
|
|
CHASE_QUICK_PAY_ACCOUNT_PAYLOAD: 5,
|
|
CLEAR_XCHANGE_ACCOUNT_PAYLOAD: 6,
|
|
COUNTRY_BASED_PAYMENT_ACCOUNT_PAYLOAD: 7,
|
|
CRYPTO_CURRENCY_ACCOUNT_PAYLOAD: 8,
|
|
FASTER_PAYMENTS_ACCOUNT_PAYLOAD: 9,
|
|
INTERAC_E_TRANSFER_ACCOUNT_PAYLOAD: 10,
|
|
O_K_PAY_ACCOUNT_PAYLOAD: 11,
|
|
PERFECT_MONEY_ACCOUNT_PAYLOAD: 12,
|
|
SWISH_ACCOUNT_PAYLOAD: 13,
|
|
U_S_POSTAL_MONEY_ORDER_ACCOUNT_PAYLOAD: 14,
|
|
UPHOLD_ACCOUNT_PAYLOAD: 16,
|
|
CASH_APP_ACCOUNT_PAYLOAD: 17,
|
|
MONEY_BEAM_ACCOUNT_PAYLOAD: 18,
|
|
VENMO_ACCOUNT_PAYLOAD: 19,
|
|
POPMONEY_ACCOUNT_PAYLOAD: 20,
|
|
REVOLUT_ACCOUNT_PAYLOAD: 21,
|
|
WE_CHAT_PAY_ACCOUNT_PAYLOAD: 22,
|
|
MONEY_GRAM_ACCOUNT_PAYLOAD: 23,
|
|
HAL_CASH_ACCOUNT_PAYLOAD: 24,
|
|
PROMPT_PAY_ACCOUNT_PAYLOAD: 25,
|
|
ADVANCED_CASH_ACCOUNT_PAYLOAD: 26,
|
|
INSTANT_CRYPTO_CURRENCY_ACCOUNT_PAYLOAD: 27,
|
|
JAPAN_BANK_ACCOUNT_PAYLOAD: 28,
|
|
TRANSFERWISE_ACCOUNT_PAYLOAD: 29,
|
|
AUSTRALIA_PAYID_PAYLOAD: 30,
|
|
AMAZON_GIFT_CARD_ACCOUNT_PAYLOAD: 31,
|
|
CASH_BY_MAIL_ACCOUNT_PAYLOAD: 32,
|
|
CAPITUAL_ACCOUNT_PAYLOAD: 33,
|
|
PAYSERA_ACCOUNT_PAYLOAD: 34,
|
|
PAXUM_ACCOUNT_PAYLOAD: 35,
|
|
SWIFT_ACCOUNT_PAYLOAD: 36,
|
|
CEL_PAY_ACCOUNT_PAYLOAD: 37,
|
|
MONESE_ACCOUNT_PAYLOAD: 38,
|
|
VERSE_ACCOUNT_PAYLOAD: 39
|
|
};
|
|
|
|
/**
|
|
* @return {proto.io.bisq.protobuffer.PaymentAccountPayload.MessageCase}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getMessageCase = function() {
|
|
return /** @type {proto.io.bisq.protobuffer.PaymentAccountPayload.MessageCase} */(jspb.Message.computeOneofCase(this, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0]));
|
|
};
|
|
|
|
|
|
|
|
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_<name>, 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.PaymentAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PaymentAccountPayload.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.PaymentAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
paymentMethodId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
maxTradePeriod: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
aliPayAccountPayload: (f = msg.getAliPayAccountPayload()) && proto.io.bisq.protobuffer.AliPayAccountPayload.toObject(includeInstance, f),
|
|
chaseQuickPayAccountPayload: (f = msg.getChaseQuickPayAccountPayload()) && proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.toObject(includeInstance, f),
|
|
clearXchangeAccountPayload: (f = msg.getClearXchangeAccountPayload()) && proto.io.bisq.protobuffer.ClearXchangeAccountPayload.toObject(includeInstance, f),
|
|
countryBasedPaymentAccountPayload: (f = msg.getCountryBasedPaymentAccountPayload()) && proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.toObject(includeInstance, f),
|
|
cryptoCurrencyAccountPayload: (f = msg.getCryptoCurrencyAccountPayload()) && proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.toObject(includeInstance, f),
|
|
fasterPaymentsAccountPayload: (f = msg.getFasterPaymentsAccountPayload()) && proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.toObject(includeInstance, f),
|
|
interacETransferAccountPayload: (f = msg.getInteracETransferAccountPayload()) && proto.io.bisq.protobuffer.InteracETransferAccountPayload.toObject(includeInstance, f),
|
|
oKPayAccountPayload: (f = msg.getOKPayAccountPayload()) && proto.io.bisq.protobuffer.OKPayAccountPayload.toObject(includeInstance, f),
|
|
perfectMoneyAccountPayload: (f = msg.getPerfectMoneyAccountPayload()) && proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.toObject(includeInstance, f),
|
|
swishAccountPayload: (f = msg.getSwishAccountPayload()) && proto.io.bisq.protobuffer.SwishAccountPayload.toObject(includeInstance, f),
|
|
uSPostalMoneyOrderAccountPayload: (f = msg.getUSPostalMoneyOrderAccountPayload()) && proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.toObject(includeInstance, f),
|
|
upholdAccountPayload: (f = msg.getUpholdAccountPayload()) && proto.io.bisq.protobuffer.UpholdAccountPayload.toObject(includeInstance, f),
|
|
cashAppAccountPayload: (f = msg.getCashAppAccountPayload()) && proto.io.bisq.protobuffer.CashAppAccountPayload.toObject(includeInstance, f),
|
|
moneyBeamAccountPayload: (f = msg.getMoneyBeamAccountPayload()) && proto.io.bisq.protobuffer.MoneyBeamAccountPayload.toObject(includeInstance, f),
|
|
venmoAccountPayload: (f = msg.getVenmoAccountPayload()) && proto.io.bisq.protobuffer.VenmoAccountPayload.toObject(includeInstance, f),
|
|
popmoneyAccountPayload: (f = msg.getPopmoneyAccountPayload()) && proto.io.bisq.protobuffer.PopmoneyAccountPayload.toObject(includeInstance, f),
|
|
revolutAccountPayload: (f = msg.getRevolutAccountPayload()) && proto.io.bisq.protobuffer.RevolutAccountPayload.toObject(includeInstance, f),
|
|
weChatPayAccountPayload: (f = msg.getWeChatPayAccountPayload()) && proto.io.bisq.protobuffer.WeChatPayAccountPayload.toObject(includeInstance, f),
|
|
moneyGramAccountPayload: (f = msg.getMoneyGramAccountPayload()) && proto.io.bisq.protobuffer.MoneyGramAccountPayload.toObject(includeInstance, f),
|
|
halCashAccountPayload: (f = msg.getHalCashAccountPayload()) && proto.io.bisq.protobuffer.HalCashAccountPayload.toObject(includeInstance, f),
|
|
promptPayAccountPayload: (f = msg.getPromptPayAccountPayload()) && proto.io.bisq.protobuffer.PromptPayAccountPayload.toObject(includeInstance, f),
|
|
advancedCashAccountPayload: (f = msg.getAdvancedCashAccountPayload()) && proto.io.bisq.protobuffer.AdvancedCashAccountPayload.toObject(includeInstance, f),
|
|
instantCryptoCurrencyAccountPayload: (f = msg.getInstantCryptoCurrencyAccountPayload()) && proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.toObject(includeInstance, f),
|
|
japanBankAccountPayload: (f = msg.getJapanBankAccountPayload()) && proto.io.bisq.protobuffer.JapanBankAccountPayload.toObject(includeInstance, f),
|
|
transferwiseAccountPayload: (f = msg.getTransferwiseAccountPayload()) && proto.io.bisq.protobuffer.TransferwiseAccountPayload.toObject(includeInstance, f),
|
|
australiaPayidPayload: (f = msg.getAustraliaPayidPayload()) && proto.io.bisq.protobuffer.AustraliaPayidPayload.toObject(includeInstance, f),
|
|
amazonGiftCardAccountPayload: (f = msg.getAmazonGiftCardAccountPayload()) && proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.toObject(includeInstance, f),
|
|
cashByMailAccountPayload: (f = msg.getCashByMailAccountPayload()) && proto.io.bisq.protobuffer.CashByMailAccountPayload.toObject(includeInstance, f),
|
|
capitualAccountPayload: (f = msg.getCapitualAccountPayload()) && proto.io.bisq.protobuffer.CapitualAccountPayload.toObject(includeInstance, f),
|
|
payseraAccountPayload: (f = msg.getPayseraAccountPayload()) && proto.io.bisq.protobuffer.PayseraAccountPayload.toObject(includeInstance, f),
|
|
paxumAccountPayload: (f = msg.getPaxumAccountPayload()) && proto.io.bisq.protobuffer.PaxumAccountPayload.toObject(includeInstance, f),
|
|
swiftAccountPayload: (f = msg.getSwiftAccountPayload()) && proto.io.bisq.protobuffer.SwiftAccountPayload.toObject(includeInstance, f),
|
|
celPayAccountPayload: (f = msg.getCelPayAccountPayload()) && proto.io.bisq.protobuffer.CelPayAccountPayload.toObject(includeInstance, f),
|
|
moneseAccountPayload: (f = msg.getMoneseAccountPayload()) && proto.io.bisq.protobuffer.MoneseAccountPayload.toObject(includeInstance, f),
|
|
verseAccountPayload: (f = msg.getVerseAccountPayload()) && proto.io.bisq.protobuffer.VerseAccountPayload.toObject(includeInstance, f),
|
|
excludeFromJsonDataMap: (f = msg.getExcludeFromJsonDataMap()) ? f.toObject(includeInstance, undefined) : []
|
|
};
|
|
|
|
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.PaymentAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PaymentAccountPayload;
|
|
return proto.io.bisq.protobuffer.PaymentAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.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 {number} */ (reader.readInt64());
|
|
msg.setMaxTradePeriod(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.AliPayAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AliPayAccountPayload.deserializeBinaryFromReader);
|
|
msg.setAliPayAccountPayload(value);
|
|
break;
|
|
case 5:
|
|
var value = new proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.deserializeBinaryFromReader);
|
|
msg.setChaseQuickPayAccountPayload(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.ClearXchangeAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ClearXchangeAccountPayload.deserializeBinaryFromReader);
|
|
msg.setClearXchangeAccountPayload(value);
|
|
break;
|
|
case 7:
|
|
var value = new proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.deserializeBinaryFromReader);
|
|
msg.setCountryBasedPaymentAccountPayload(value);
|
|
break;
|
|
case 8:
|
|
var value = new proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.deserializeBinaryFromReader);
|
|
msg.setCryptoCurrencyAccountPayload(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.io.bisq.protobuffer.FasterPaymentsAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.deserializeBinaryFromReader);
|
|
msg.setFasterPaymentsAccountPayload(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.InteracETransferAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.InteracETransferAccountPayload.deserializeBinaryFromReader);
|
|
msg.setInteracETransferAccountPayload(value);
|
|
break;
|
|
case 11:
|
|
var value = new proto.io.bisq.protobuffer.OKPayAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.OKPayAccountPayload.deserializeBinaryFromReader);
|
|
msg.setOKPayAccountPayload(value);
|
|
break;
|
|
case 12:
|
|
var value = new proto.io.bisq.protobuffer.PerfectMoneyAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.deserializeBinaryFromReader);
|
|
msg.setPerfectMoneyAccountPayload(value);
|
|
break;
|
|
case 13:
|
|
var value = new proto.io.bisq.protobuffer.SwishAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SwishAccountPayload.deserializeBinaryFromReader);
|
|
msg.setSwishAccountPayload(value);
|
|
break;
|
|
case 14:
|
|
var value = new proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.deserializeBinaryFromReader);
|
|
msg.setUSPostalMoneyOrderAccountPayload(value);
|
|
break;
|
|
case 16:
|
|
var value = new proto.io.bisq.protobuffer.UpholdAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.UpholdAccountPayload.deserializeBinaryFromReader);
|
|
msg.setUpholdAccountPayload(value);
|
|
break;
|
|
case 17:
|
|
var value = new proto.io.bisq.protobuffer.CashAppAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.CashAppAccountPayload.deserializeBinaryFromReader);
|
|
msg.setCashAppAccountPayload(value);
|
|
break;
|
|
case 18:
|
|
var value = new proto.io.bisq.protobuffer.MoneyBeamAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MoneyBeamAccountPayload.deserializeBinaryFromReader);
|
|
msg.setMoneyBeamAccountPayload(value);
|
|
break;
|
|
case 19:
|
|
var value = new proto.io.bisq.protobuffer.VenmoAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.VenmoAccountPayload.deserializeBinaryFromReader);
|
|
msg.setVenmoAccountPayload(value);
|
|
break;
|
|
case 20:
|
|
var value = new proto.io.bisq.protobuffer.PopmoneyAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PopmoneyAccountPayload.deserializeBinaryFromReader);
|
|
msg.setPopmoneyAccountPayload(value);
|
|
break;
|
|
case 21:
|
|
var value = new proto.io.bisq.protobuffer.RevolutAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RevolutAccountPayload.deserializeBinaryFromReader);
|
|
msg.setRevolutAccountPayload(value);
|
|
break;
|
|
case 22:
|
|
var value = new proto.io.bisq.protobuffer.WeChatPayAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.WeChatPayAccountPayload.deserializeBinaryFromReader);
|
|
msg.setWeChatPayAccountPayload(value);
|
|
break;
|
|
case 23:
|
|
var value = new proto.io.bisq.protobuffer.MoneyGramAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MoneyGramAccountPayload.deserializeBinaryFromReader);
|
|
msg.setMoneyGramAccountPayload(value);
|
|
break;
|
|
case 24:
|
|
var value = new proto.io.bisq.protobuffer.HalCashAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.HalCashAccountPayload.deserializeBinaryFromReader);
|
|
msg.setHalCashAccountPayload(value);
|
|
break;
|
|
case 25:
|
|
var value = new proto.io.bisq.protobuffer.PromptPayAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PromptPayAccountPayload.deserializeBinaryFromReader);
|
|
msg.setPromptPayAccountPayload(value);
|
|
break;
|
|
case 26:
|
|
var value = new proto.io.bisq.protobuffer.AdvancedCashAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AdvancedCashAccountPayload.deserializeBinaryFromReader);
|
|
msg.setAdvancedCashAccountPayload(value);
|
|
break;
|
|
case 27:
|
|
var value = new proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.deserializeBinaryFromReader);
|
|
msg.setInstantCryptoCurrencyAccountPayload(value);
|
|
break;
|
|
case 28:
|
|
var value = new proto.io.bisq.protobuffer.JapanBankAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.JapanBankAccountPayload.deserializeBinaryFromReader);
|
|
msg.setJapanBankAccountPayload(value);
|
|
break;
|
|
case 29:
|
|
var value = new proto.io.bisq.protobuffer.TransferwiseAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TransferwiseAccountPayload.deserializeBinaryFromReader);
|
|
msg.setTransferwiseAccountPayload(value);
|
|
break;
|
|
case 30:
|
|
var value = new proto.io.bisq.protobuffer.AustraliaPayidPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AustraliaPayidPayload.deserializeBinaryFromReader);
|
|
msg.setAustraliaPayidPayload(value);
|
|
break;
|
|
case 31:
|
|
var value = new proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.deserializeBinaryFromReader);
|
|
msg.setAmazonGiftCardAccountPayload(value);
|
|
break;
|
|
case 32:
|
|
var value = new proto.io.bisq.protobuffer.CashByMailAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.CashByMailAccountPayload.deserializeBinaryFromReader);
|
|
msg.setCashByMailAccountPayload(value);
|
|
break;
|
|
case 33:
|
|
var value = new proto.io.bisq.protobuffer.CapitualAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.CapitualAccountPayload.deserializeBinaryFromReader);
|
|
msg.setCapitualAccountPayload(value);
|
|
break;
|
|
case 34:
|
|
var value = new proto.io.bisq.protobuffer.PayseraAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PayseraAccountPayload.deserializeBinaryFromReader);
|
|
msg.setPayseraAccountPayload(value);
|
|
break;
|
|
case 35:
|
|
var value = new proto.io.bisq.protobuffer.PaxumAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaxumAccountPayload.deserializeBinaryFromReader);
|
|
msg.setPaxumAccountPayload(value);
|
|
break;
|
|
case 36:
|
|
var value = new proto.io.bisq.protobuffer.SwiftAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SwiftAccountPayload.deserializeBinaryFromReader);
|
|
msg.setSwiftAccountPayload(value);
|
|
break;
|
|
case 37:
|
|
var value = new proto.io.bisq.protobuffer.CelPayAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.CelPayAccountPayload.deserializeBinaryFromReader);
|
|
msg.setCelPayAccountPayload(value);
|
|
break;
|
|
case 38:
|
|
var value = new proto.io.bisq.protobuffer.MoneseAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MoneseAccountPayload.deserializeBinaryFromReader);
|
|
msg.setMoneseAccountPayload(value);
|
|
break;
|
|
case 39:
|
|
var value = new proto.io.bisq.protobuffer.VerseAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.VerseAccountPayload.deserializeBinaryFromReader);
|
|
msg.setVerseAccountPayload(value);
|
|
break;
|
|
case 15:
|
|
var value = msg.getExcludeFromJsonDataMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.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.PaymentAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.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.getMaxTradePeriod();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAliPayAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.AliPayAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getChaseQuickPayAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
5,
|
|
f,
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getClearXchangeAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCountryBasedPaymentAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
7,
|
|
f,
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCryptoCurrencyAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
8,
|
|
f,
|
|
proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getFasterPaymentsAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
9,
|
|
f,
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getInteracETransferAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getOKPayAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
11,
|
|
f,
|
|
proto.io.bisq.protobuffer.OKPayAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPerfectMoneyAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
12,
|
|
f,
|
|
proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSwishAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
13,
|
|
f,
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUSPostalMoneyOrderAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
14,
|
|
f,
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUpholdAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
16,
|
|
f,
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCashAppAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
17,
|
|
f,
|
|
proto.io.bisq.protobuffer.CashAppAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMoneyBeamAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
18,
|
|
f,
|
|
proto.io.bisq.protobuffer.MoneyBeamAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getVenmoAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
19,
|
|
f,
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPopmoneyAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
20,
|
|
f,
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRevolutAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
21,
|
|
f,
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getWeChatPayAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
22,
|
|
f,
|
|
proto.io.bisq.protobuffer.WeChatPayAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMoneyGramAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
23,
|
|
f,
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getHalCashAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
24,
|
|
f,
|
|
proto.io.bisq.protobuffer.HalCashAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPromptPayAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
25,
|
|
f,
|
|
proto.io.bisq.protobuffer.PromptPayAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAdvancedCashAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
26,
|
|
f,
|
|
proto.io.bisq.protobuffer.AdvancedCashAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getInstantCryptoCurrencyAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
27,
|
|
f,
|
|
proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getJapanBankAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
28,
|
|
f,
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTransferwiseAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
29,
|
|
f,
|
|
proto.io.bisq.protobuffer.TransferwiseAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAustraliaPayidPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
30,
|
|
f,
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAmazonGiftCardAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
31,
|
|
f,
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCashByMailAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
32,
|
|
f,
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCapitualAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
33,
|
|
f,
|
|
proto.io.bisq.protobuffer.CapitualAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPayseraAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
34,
|
|
f,
|
|
proto.io.bisq.protobuffer.PayseraAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPaxumAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
35,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaxumAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSwiftAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
36,
|
|
f,
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCelPayAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
37,
|
|
f,
|
|
proto.io.bisq.protobuffer.CelPayAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMoneseAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
38,
|
|
f,
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getVerseAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
39,
|
|
f,
|
|
proto.io.bisq.protobuffer.VerseAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getExcludeFromJsonDataMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payment_method_id = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getPaymentMethodId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setPaymentMethodId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 max_trade_period = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getMaxTradePeriod = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setMaxTradePeriod = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AliPayAccountPayload ali_pay_account_payload = 4;
|
|
* @return {?proto.io.bisq.protobuffer.AliPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getAliPayAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AliPayAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AliPayAccountPayload, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AliPayAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setAliPayAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 4, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearAliPayAccountPayload = function() {
|
|
return this.setAliPayAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasAliPayAccountPayload = function() {
|
|
return jspb.Message.getField(this, 4) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ChaseQuickPayAccountPayload chase_quick_pay_account_payload = 5;
|
|
* @return {?proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getChaseQuickPayAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setChaseQuickPayAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 5, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearChaseQuickPayAccountPayload = function() {
|
|
return this.setChaseQuickPayAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasChaseQuickPayAccountPayload = function() {
|
|
return jspb.Message.getField(this, 5) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ClearXchangeAccountPayload clear_xchange_account_payload = 6;
|
|
* @return {?proto.io.bisq.protobuffer.ClearXchangeAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getClearXchangeAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ClearXchangeAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ClearXchangeAccountPayload, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ClearXchangeAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setClearXchangeAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 6, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearClearXchangeAccountPayload = function() {
|
|
return this.setClearXchangeAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasClearXchangeAccountPayload = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional CountryBasedPaymentAccountPayload country_based_payment_account_payload = 7;
|
|
* @return {?proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getCountryBasedPaymentAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload, 7));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setCountryBasedPaymentAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 7, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearCountryBasedPaymentAccountPayload = function() {
|
|
return this.setCountryBasedPaymentAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasCountryBasedPaymentAccountPayload = function() {
|
|
return jspb.Message.getField(this, 7) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional CryptoCurrencyAccountPayload crypto_currency_account_payload = 8;
|
|
* @return {?proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getCryptoCurrencyAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setCryptoCurrencyAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 8, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearCryptoCurrencyAccountPayload = function() {
|
|
return this.setCryptoCurrencyAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasCryptoCurrencyAccountPayload = function() {
|
|
return jspb.Message.getField(this, 8) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional FasterPaymentsAccountPayload faster_payments_account_payload = 9;
|
|
* @return {?proto.io.bisq.protobuffer.FasterPaymentsAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getFasterPaymentsAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.FasterPaymentsAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.FasterPaymentsAccountPayload, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.FasterPaymentsAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setFasterPaymentsAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 9, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearFasterPaymentsAccountPayload = function() {
|
|
return this.setFasterPaymentsAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasFasterPaymentsAccountPayload = function() {
|
|
return jspb.Message.getField(this, 9) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional InteracETransferAccountPayload interac_e_transfer_account_payload = 10;
|
|
* @return {?proto.io.bisq.protobuffer.InteracETransferAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getInteracETransferAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.InteracETransferAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.InteracETransferAccountPayload, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.InteracETransferAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setInteracETransferAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 10, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearInteracETransferAccountPayload = function() {
|
|
return this.setInteracETransferAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasInteracETransferAccountPayload = function() {
|
|
return jspb.Message.getField(this, 10) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional OKPayAccountPayload o_k_pay_account_payload = 11;
|
|
* @return {?proto.io.bisq.protobuffer.OKPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getOKPayAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.OKPayAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OKPayAccountPayload, 11));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.OKPayAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setOKPayAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 11, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearOKPayAccountPayload = function() {
|
|
return this.setOKPayAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasOKPayAccountPayload = function() {
|
|
return jspb.Message.getField(this, 11) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PerfectMoneyAccountPayload perfect_money_account_payload = 12;
|
|
* @return {?proto.io.bisq.protobuffer.PerfectMoneyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getPerfectMoneyAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PerfectMoneyAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PerfectMoneyAccountPayload, 12));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PerfectMoneyAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setPerfectMoneyAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 12, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearPerfectMoneyAccountPayload = function() {
|
|
return this.setPerfectMoneyAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasPerfectMoneyAccountPayload = function() {
|
|
return jspb.Message.getField(this, 12) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SwishAccountPayload swish_account_payload = 13;
|
|
* @return {?proto.io.bisq.protobuffer.SwishAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getSwishAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SwishAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SwishAccountPayload, 13));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SwishAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setSwishAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 13, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearSwishAccountPayload = function() {
|
|
return this.setSwishAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasSwishAccountPayload = function() {
|
|
return jspb.Message.getField(this, 13) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional USPostalMoneyOrderAccountPayload u_s_postal_money_order_account_payload = 14;
|
|
* @return {?proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getUSPostalMoneyOrderAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload, 14));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setUSPostalMoneyOrderAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 14, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearUSPostalMoneyOrderAccountPayload = function() {
|
|
return this.setUSPostalMoneyOrderAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasUSPostalMoneyOrderAccountPayload = function() {
|
|
return jspb.Message.getField(this, 14) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional UpholdAccountPayload uphold_account_payload = 16;
|
|
* @return {?proto.io.bisq.protobuffer.UpholdAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getUpholdAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.UpholdAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.UpholdAccountPayload, 16));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.UpholdAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setUpholdAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 16, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearUpholdAccountPayload = function() {
|
|
return this.setUpholdAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasUpholdAccountPayload = function() {
|
|
return jspb.Message.getField(this, 16) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional CashAppAccountPayload cash_app_account_payload = 17;
|
|
* @return {?proto.io.bisq.protobuffer.CashAppAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getCashAppAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.CashAppAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.CashAppAccountPayload, 17));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.CashAppAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setCashAppAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 17, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearCashAppAccountPayload = function() {
|
|
return this.setCashAppAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasCashAppAccountPayload = function() {
|
|
return jspb.Message.getField(this, 17) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional MoneyBeamAccountPayload money_beam_account_payload = 18;
|
|
* @return {?proto.io.bisq.protobuffer.MoneyBeamAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getMoneyBeamAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.MoneyBeamAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.MoneyBeamAccountPayload, 18));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.MoneyBeamAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setMoneyBeamAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 18, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearMoneyBeamAccountPayload = function() {
|
|
return this.setMoneyBeamAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasMoneyBeamAccountPayload = function() {
|
|
return jspb.Message.getField(this, 18) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional VenmoAccountPayload venmo_account_payload = 19;
|
|
* @return {?proto.io.bisq.protobuffer.VenmoAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getVenmoAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.VenmoAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.VenmoAccountPayload, 19));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.VenmoAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setVenmoAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 19, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearVenmoAccountPayload = function() {
|
|
return this.setVenmoAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasVenmoAccountPayload = function() {
|
|
return jspb.Message.getField(this, 19) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PopmoneyAccountPayload popmoney_account_payload = 20;
|
|
* @return {?proto.io.bisq.protobuffer.PopmoneyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getPopmoneyAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PopmoneyAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PopmoneyAccountPayload, 20));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PopmoneyAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setPopmoneyAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 20, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearPopmoneyAccountPayload = function() {
|
|
return this.setPopmoneyAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasPopmoneyAccountPayload = function() {
|
|
return jspb.Message.getField(this, 20) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional RevolutAccountPayload revolut_account_payload = 21;
|
|
* @return {?proto.io.bisq.protobuffer.RevolutAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getRevolutAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.RevolutAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.RevolutAccountPayload, 21));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.RevolutAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setRevolutAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 21, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearRevolutAccountPayload = function() {
|
|
return this.setRevolutAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasRevolutAccountPayload = function() {
|
|
return jspb.Message.getField(this, 21) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional WeChatPayAccountPayload we_chat_pay_account_payload = 22;
|
|
* @return {?proto.io.bisq.protobuffer.WeChatPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getWeChatPayAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.WeChatPayAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.WeChatPayAccountPayload, 22));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.WeChatPayAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setWeChatPayAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 22, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearWeChatPayAccountPayload = function() {
|
|
return this.setWeChatPayAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasWeChatPayAccountPayload = function() {
|
|
return jspb.Message.getField(this, 22) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional MoneyGramAccountPayload money_gram_account_payload = 23;
|
|
* @return {?proto.io.bisq.protobuffer.MoneyGramAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getMoneyGramAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.MoneyGramAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.MoneyGramAccountPayload, 23));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.MoneyGramAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setMoneyGramAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 23, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearMoneyGramAccountPayload = function() {
|
|
return this.setMoneyGramAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasMoneyGramAccountPayload = function() {
|
|
return jspb.Message.getField(this, 23) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional HalCashAccountPayload hal_cash_account_payload = 24;
|
|
* @return {?proto.io.bisq.protobuffer.HalCashAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getHalCashAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.HalCashAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.HalCashAccountPayload, 24));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.HalCashAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setHalCashAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 24, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearHalCashAccountPayload = function() {
|
|
return this.setHalCashAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasHalCashAccountPayload = function() {
|
|
return jspb.Message.getField(this, 24) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PromptPayAccountPayload prompt_pay_account_payload = 25;
|
|
* @return {?proto.io.bisq.protobuffer.PromptPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getPromptPayAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PromptPayAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PromptPayAccountPayload, 25));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PromptPayAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setPromptPayAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 25, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearPromptPayAccountPayload = function() {
|
|
return this.setPromptPayAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasPromptPayAccountPayload = function() {
|
|
return jspb.Message.getField(this, 25) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AdvancedCashAccountPayload advanced_cash_account_payload = 26;
|
|
* @return {?proto.io.bisq.protobuffer.AdvancedCashAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getAdvancedCashAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AdvancedCashAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AdvancedCashAccountPayload, 26));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AdvancedCashAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setAdvancedCashAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 26, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearAdvancedCashAccountPayload = function() {
|
|
return this.setAdvancedCashAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasAdvancedCashAccountPayload = function() {
|
|
return jspb.Message.getField(this, 26) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional InstantCryptoCurrencyAccountPayload instant_crypto_currency_account_payload = 27;
|
|
* @return {?proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getInstantCryptoCurrencyAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload, 27));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setInstantCryptoCurrencyAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 27, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearInstantCryptoCurrencyAccountPayload = function() {
|
|
return this.setInstantCryptoCurrencyAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasInstantCryptoCurrencyAccountPayload = function() {
|
|
return jspb.Message.getField(this, 27) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional JapanBankAccountPayload japan_bank_account_payload = 28;
|
|
* @return {?proto.io.bisq.protobuffer.JapanBankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getJapanBankAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.JapanBankAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.JapanBankAccountPayload, 28));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.JapanBankAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setJapanBankAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 28, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearJapanBankAccountPayload = function() {
|
|
return this.setJapanBankAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasJapanBankAccountPayload = function() {
|
|
return jspb.Message.getField(this, 28) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TransferwiseAccountPayload Transferwise_account_payload = 29;
|
|
* @return {?proto.io.bisq.protobuffer.TransferwiseAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getTransferwiseAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TransferwiseAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TransferwiseAccountPayload, 29));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TransferwiseAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setTransferwiseAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 29, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearTransferwiseAccountPayload = function() {
|
|
return this.setTransferwiseAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasTransferwiseAccountPayload = function() {
|
|
return jspb.Message.getField(this, 29) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AustraliaPayidPayload australia_payid_payload = 30;
|
|
* @return {?proto.io.bisq.protobuffer.AustraliaPayidPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getAustraliaPayidPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AustraliaPayidPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AustraliaPayidPayload, 30));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AustraliaPayidPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setAustraliaPayidPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 30, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearAustraliaPayidPayload = function() {
|
|
return this.setAustraliaPayidPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasAustraliaPayidPayload = function() {
|
|
return jspb.Message.getField(this, 30) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AmazonGiftCardAccountPayload amazon_gift_card_account_payload = 31;
|
|
* @return {?proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getAmazonGiftCardAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload, 31));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setAmazonGiftCardAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 31, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearAmazonGiftCardAccountPayload = function() {
|
|
return this.setAmazonGiftCardAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasAmazonGiftCardAccountPayload = function() {
|
|
return jspb.Message.getField(this, 31) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional CashByMailAccountPayload cash_by_mail_account_payload = 32;
|
|
* @return {?proto.io.bisq.protobuffer.CashByMailAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getCashByMailAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.CashByMailAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.CashByMailAccountPayload, 32));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.CashByMailAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setCashByMailAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 32, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearCashByMailAccountPayload = function() {
|
|
return this.setCashByMailAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasCashByMailAccountPayload = function() {
|
|
return jspb.Message.getField(this, 32) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional CapitualAccountPayload capitual_account_payload = 33;
|
|
* @return {?proto.io.bisq.protobuffer.CapitualAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getCapitualAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.CapitualAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.CapitualAccountPayload, 33));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.CapitualAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setCapitualAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 33, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearCapitualAccountPayload = function() {
|
|
return this.setCapitualAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasCapitualAccountPayload = function() {
|
|
return jspb.Message.getField(this, 33) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PayseraAccountPayload Paysera_account_payload = 34;
|
|
* @return {?proto.io.bisq.protobuffer.PayseraAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getPayseraAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PayseraAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PayseraAccountPayload, 34));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PayseraAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setPayseraAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 34, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearPayseraAccountPayload = function() {
|
|
return this.setPayseraAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasPayseraAccountPayload = function() {
|
|
return jspb.Message.getField(this, 34) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaxumAccountPayload Paxum_account_payload = 35;
|
|
* @return {?proto.io.bisq.protobuffer.PaxumAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getPaxumAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaxumAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaxumAccountPayload, 35));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaxumAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setPaxumAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 35, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearPaxumAccountPayload = function() {
|
|
return this.setPaxumAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasPaxumAccountPayload = function() {
|
|
return jspb.Message.getField(this, 35) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SwiftAccountPayload swift_account_payload = 36;
|
|
* @return {?proto.io.bisq.protobuffer.SwiftAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getSwiftAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SwiftAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SwiftAccountPayload, 36));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SwiftAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setSwiftAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 36, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearSwiftAccountPayload = function() {
|
|
return this.setSwiftAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasSwiftAccountPayload = function() {
|
|
return jspb.Message.getField(this, 36) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional CelPayAccountPayload cel_pay_account_payload = 37;
|
|
* @return {?proto.io.bisq.protobuffer.CelPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getCelPayAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.CelPayAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.CelPayAccountPayload, 37));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.CelPayAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setCelPayAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 37, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearCelPayAccountPayload = function() {
|
|
return this.setCelPayAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasCelPayAccountPayload = function() {
|
|
return jspb.Message.getField(this, 37) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional MoneseAccountPayload monese_account_payload = 38;
|
|
* @return {?proto.io.bisq.protobuffer.MoneseAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getMoneseAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.MoneseAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.MoneseAccountPayload, 38));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.MoneseAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setMoneseAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 38, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearMoneseAccountPayload = function() {
|
|
return this.setMoneseAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasMoneseAccountPayload = function() {
|
|
return jspb.Message.getField(this, 38) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional VerseAccountPayload verse_account_payload = 39;
|
|
* @return {?proto.io.bisq.protobuffer.VerseAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getVerseAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.VerseAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.VerseAccountPayload, 39));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.VerseAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.setVerseAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 39, proto.io.bisq.protobuffer.PaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearVerseAccountPayload = function() {
|
|
return this.setVerseAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.hasVerseAccountPayload = function() {
|
|
return jspb.Message.getField(this, 39) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> exclude_from_json_data = 15;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.getExcludeFromJsonDataMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 15, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.prototype.clearExcludeFromJsonDataMap = function() {
|
|
this.getExcludeFromJsonDataMap().clear();
|
|
return this;};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.AliPayAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AliPayAccountPayload.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.AliPayAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AliPayAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountNr: 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.AliPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.AliPayAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AliPayAccountPayload;
|
|
return proto.io.bisq.protobuffer.AliPayAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AliPayAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AliPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.AliPayAccountPayload.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.setAccountNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AliPayAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AliPayAccountPayload.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.AliPayAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AliPayAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AliPayAccountPayload.prototype.getAccountNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AliPayAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AliPayAccountPayload.prototype.setAccountNr = 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_<name>, 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.WeChatPayAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.WeChatPayAccountPayload.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.WeChatPayAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.WeChatPayAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountNr: 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.WeChatPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.WeChatPayAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.WeChatPayAccountPayload;
|
|
return proto.io.bisq.protobuffer.WeChatPayAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.WeChatPayAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.WeChatPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.WeChatPayAccountPayload.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.setAccountNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.WeChatPayAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.WeChatPayAccountPayload.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.WeChatPayAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.WeChatPayAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.WeChatPayAccountPayload.prototype.getAccountNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.WeChatPayAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.WeChatPayAccountPayload.prototype.setAccountNr = 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_<name>, 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.ChaseQuickPayAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.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.ChaseQuickPayAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
email: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
holderName: 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.ChaseQuickPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload;
|
|
return proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.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.setEmail(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderName(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.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.ChaseQuickPayAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.prototype.getEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.prototype.setEmail = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ChaseQuickPayAccountPayload.prototype.setHolderName = 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_<name>, 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.ClearXchangeAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.ClearXchangeAccountPayload.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.ClearXchangeAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
emailOrMobileNr: 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.ClearXchangeAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.ClearXchangeAccountPayload;
|
|
return proto.io.bisq.protobuffer.ClearXchangeAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.ClearXchangeAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.ClearXchangeAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.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.setHolderName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setEmailOrMobileNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.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.ClearXchangeAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEmailOrMobileNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ClearXchangeAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.prototype.setHolderName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email_or_mobile_nr = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.prototype.getEmailOrMobileNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ClearXchangeAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ClearXchangeAccountPayload.prototype.setEmailOrMobileNr = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.repeatedFields_ = [2];
|
|
|
|
/**
|
|
* Oneof group definitions for this message. Each group defines the field
|
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
* @private {!Array<!Array<number>>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_ = [[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]];
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.MessageCase = {
|
|
MESSAGE_NOT_SET: 0,
|
|
BANK_ACCOUNT_PAYLOAD: 3,
|
|
CASH_DEPOSIT_ACCOUNT_PAYLOAD: 4,
|
|
SEPA_ACCOUNT_PAYLOAD: 5,
|
|
WESTERN_UNION_ACCOUNT_PAYLOAD: 6,
|
|
SEPA_INSTANT_ACCOUNT_PAYLOAD: 7,
|
|
F2F_ACCOUNT_PAYLOAD: 8,
|
|
UPI_ACCOUNT_PAYLOAD: 9,
|
|
PAYTM_ACCOUNT_PAYLOAD: 10,
|
|
IFSC_BASED_ACCOUNT_PAYLOAD: 11,
|
|
NEQUI_ACCOUNT_PAYLOAD: 12,
|
|
BIZUM_ACCOUNT_PAYLOAD: 13,
|
|
PIX_ACCOUNT_PAYLOAD: 14,
|
|
SATISPAY_ACCOUNT_PAYLOAD: 15,
|
|
STRIKE_ACCOUNT_PAYLOAD: 16,
|
|
TIKKIE_ACCOUNT_PAYLOAD: 17,
|
|
TRANSFERWISE_USD_ACCOUNT_PAYLOAD: 18,
|
|
SWIFT_ACCOUNT_PAYLOAD: 19
|
|
};
|
|
|
|
/**
|
|
* @return {proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.MessageCase}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getMessageCase = function() {
|
|
return /** @type {proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.MessageCase} */(jspb.Message.computeOneofCase(this, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0]));
|
|
};
|
|
|
|
|
|
|
|
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_<name>, 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.CountryBasedPaymentAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.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.CountryBasedPaymentAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
countryCode: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
acceptedCountryCodesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
bankAccountPayload: (f = msg.getBankAccountPayload()) && proto.io.bisq.protobuffer.BankAccountPayload.toObject(includeInstance, f),
|
|
cashDepositAccountPayload: (f = msg.getCashDepositAccountPayload()) && proto.io.bisq.protobuffer.CashDepositAccountPayload.toObject(includeInstance, f),
|
|
sepaAccountPayload: (f = msg.getSepaAccountPayload()) && proto.io.bisq.protobuffer.SepaAccountPayload.toObject(includeInstance, f),
|
|
westernUnionAccountPayload: (f = msg.getWesternUnionAccountPayload()) && proto.io.bisq.protobuffer.WesternUnionAccountPayload.toObject(includeInstance, f),
|
|
sepaInstantAccountPayload: (f = msg.getSepaInstantAccountPayload()) && proto.io.bisq.protobuffer.SepaInstantAccountPayload.toObject(includeInstance, f),
|
|
f2fAccountPayload: (f = msg.getF2fAccountPayload()) && proto.io.bisq.protobuffer.F2FAccountPayload.toObject(includeInstance, f),
|
|
upiAccountPayload: (f = msg.getUpiAccountPayload()) && proto.io.bisq.protobuffer.UpiAccountPayload.toObject(includeInstance, f),
|
|
paytmAccountPayload: (f = msg.getPaytmAccountPayload()) && proto.io.bisq.protobuffer.PaytmAccountPayload.toObject(includeInstance, f),
|
|
ifscBasedAccountPayload: (f = msg.getIfscBasedAccountPayload()) && proto.io.bisq.protobuffer.IfscBasedAccountPayload.toObject(includeInstance, f),
|
|
nequiAccountPayload: (f = msg.getNequiAccountPayload()) && proto.io.bisq.protobuffer.NequiAccountPayload.toObject(includeInstance, f),
|
|
bizumAccountPayload: (f = msg.getBizumAccountPayload()) && proto.io.bisq.protobuffer.BizumAccountPayload.toObject(includeInstance, f),
|
|
pixAccountPayload: (f = msg.getPixAccountPayload()) && proto.io.bisq.protobuffer.PixAccountPayload.toObject(includeInstance, f),
|
|
satispayAccountPayload: (f = msg.getSatispayAccountPayload()) && proto.io.bisq.protobuffer.SatispayAccountPayload.toObject(includeInstance, f),
|
|
strikeAccountPayload: (f = msg.getStrikeAccountPayload()) && proto.io.bisq.protobuffer.StrikeAccountPayload.toObject(includeInstance, f),
|
|
tikkieAccountPayload: (f = msg.getTikkieAccountPayload()) && proto.io.bisq.protobuffer.TikkieAccountPayload.toObject(includeInstance, f),
|
|
transferwiseUsdAccountPayload: (f = msg.getTransferwiseUsdAccountPayload()) && proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.toObject(includeInstance, f),
|
|
swiftAccountPayload: (f = msg.getSwiftAccountPayload()) && proto.io.bisq.protobuffer.SwiftAccountPayload.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.CountryBasedPaymentAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload;
|
|
return proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.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.setCountryCode(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addAcceptedCountryCodes(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.BankAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.BankAccountPayload.deserializeBinaryFromReader);
|
|
msg.setBankAccountPayload(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.CashDepositAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.CashDepositAccountPayload.deserializeBinaryFromReader);
|
|
msg.setCashDepositAccountPayload(value);
|
|
break;
|
|
case 5:
|
|
var value = new proto.io.bisq.protobuffer.SepaAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SepaAccountPayload.deserializeBinaryFromReader);
|
|
msg.setSepaAccountPayload(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.WesternUnionAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.WesternUnionAccountPayload.deserializeBinaryFromReader);
|
|
msg.setWesternUnionAccountPayload(value);
|
|
break;
|
|
case 7:
|
|
var value = new proto.io.bisq.protobuffer.SepaInstantAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SepaInstantAccountPayload.deserializeBinaryFromReader);
|
|
msg.setSepaInstantAccountPayload(value);
|
|
break;
|
|
case 8:
|
|
var value = new proto.io.bisq.protobuffer.F2FAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.F2FAccountPayload.deserializeBinaryFromReader);
|
|
msg.setF2fAccountPayload(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.io.bisq.protobuffer.UpiAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.UpiAccountPayload.deserializeBinaryFromReader);
|
|
msg.setUpiAccountPayload(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.PaytmAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaytmAccountPayload.deserializeBinaryFromReader);
|
|
msg.setPaytmAccountPayload(value);
|
|
break;
|
|
case 11:
|
|
var value = new proto.io.bisq.protobuffer.IfscBasedAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.IfscBasedAccountPayload.deserializeBinaryFromReader);
|
|
msg.setIfscBasedAccountPayload(value);
|
|
break;
|
|
case 12:
|
|
var value = new proto.io.bisq.protobuffer.NequiAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NequiAccountPayload.deserializeBinaryFromReader);
|
|
msg.setNequiAccountPayload(value);
|
|
break;
|
|
case 13:
|
|
var value = new proto.io.bisq.protobuffer.BizumAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.BizumAccountPayload.deserializeBinaryFromReader);
|
|
msg.setBizumAccountPayload(value);
|
|
break;
|
|
case 14:
|
|
var value = new proto.io.bisq.protobuffer.PixAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PixAccountPayload.deserializeBinaryFromReader);
|
|
msg.setPixAccountPayload(value);
|
|
break;
|
|
case 15:
|
|
var value = new proto.io.bisq.protobuffer.SatispayAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SatispayAccountPayload.deserializeBinaryFromReader);
|
|
msg.setSatispayAccountPayload(value);
|
|
break;
|
|
case 16:
|
|
var value = new proto.io.bisq.protobuffer.StrikeAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.StrikeAccountPayload.deserializeBinaryFromReader);
|
|
msg.setStrikeAccountPayload(value);
|
|
break;
|
|
case 17:
|
|
var value = new proto.io.bisq.protobuffer.TikkieAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TikkieAccountPayload.deserializeBinaryFromReader);
|
|
msg.setTikkieAccountPayload(value);
|
|
break;
|
|
case 18:
|
|
var value = new proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.deserializeBinaryFromReader);
|
|
msg.setTransferwiseUsdAccountPayload(value);
|
|
break;
|
|
case 19:
|
|
var value = new proto.io.bisq.protobuffer.SwiftAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SwiftAccountPayload.deserializeBinaryFromReader);
|
|
msg.setSwiftAccountPayload(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.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.CountryBasedPaymentAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getCountryCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAcceptedCountryCodesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.BankAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCashDepositAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSepaAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
5,
|
|
f,
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getWesternUnionAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSepaInstantAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
7,
|
|
f,
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getF2fAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
8,
|
|
f,
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUpiAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
9,
|
|
f,
|
|
proto.io.bisq.protobuffer.UpiAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPaytmAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaytmAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getIfscBasedAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
11,
|
|
f,
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getNequiAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
12,
|
|
f,
|
|
proto.io.bisq.protobuffer.NequiAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBizumAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
13,
|
|
f,
|
|
proto.io.bisq.protobuffer.BizumAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPixAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
14,
|
|
f,
|
|
proto.io.bisq.protobuffer.PixAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSatispayAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
15,
|
|
f,
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getStrikeAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
16,
|
|
f,
|
|
proto.io.bisq.protobuffer.StrikeAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTikkieAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
17,
|
|
f,
|
|
proto.io.bisq.protobuffer.TikkieAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTransferwiseUsdAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
18,
|
|
f,
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSwiftAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
19,
|
|
f,
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string country_code = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getCountryCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setCountryCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string accepted_country_codes = 2;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getAcceptedCountryCodesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setAcceptedCountryCodesList = function(value) {
|
|
return jspb.Message.setField(this, 2, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.addAcceptedCountryCodes = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearAcceptedCountryCodesList = function() {
|
|
return this.setAcceptedCountryCodesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional BankAccountPayload bank_account_payload = 3;
|
|
* @return {?proto.io.bisq.protobuffer.BankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getBankAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.BankAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.BankAccountPayload, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.BankAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setBankAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 3, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearBankAccountPayload = function() {
|
|
return this.setBankAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasBankAccountPayload = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional CashDepositAccountPayload cash_deposit_account_payload = 4;
|
|
* @return {?proto.io.bisq.protobuffer.CashDepositAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getCashDepositAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.CashDepositAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.CashDepositAccountPayload, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.CashDepositAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setCashDepositAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 4, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearCashDepositAccountPayload = function() {
|
|
return this.setCashDepositAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasCashDepositAccountPayload = function() {
|
|
return jspb.Message.getField(this, 4) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SepaAccountPayload sepa_account_payload = 5;
|
|
* @return {?proto.io.bisq.protobuffer.SepaAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getSepaAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SepaAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SepaAccountPayload, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SepaAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setSepaAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 5, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearSepaAccountPayload = function() {
|
|
return this.setSepaAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasSepaAccountPayload = function() {
|
|
return jspb.Message.getField(this, 5) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional WesternUnionAccountPayload western_union_account_payload = 6;
|
|
* @return {?proto.io.bisq.protobuffer.WesternUnionAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getWesternUnionAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.WesternUnionAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.WesternUnionAccountPayload, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.WesternUnionAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setWesternUnionAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 6, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearWesternUnionAccountPayload = function() {
|
|
return this.setWesternUnionAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasWesternUnionAccountPayload = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SepaInstantAccountPayload sepa_instant_account_payload = 7;
|
|
* @return {?proto.io.bisq.protobuffer.SepaInstantAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getSepaInstantAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SepaInstantAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SepaInstantAccountPayload, 7));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SepaInstantAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setSepaInstantAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 7, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearSepaInstantAccountPayload = function() {
|
|
return this.setSepaInstantAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasSepaInstantAccountPayload = function() {
|
|
return jspb.Message.getField(this, 7) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional F2FAccountPayload f2f_account_payload = 8;
|
|
* @return {?proto.io.bisq.protobuffer.F2FAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getF2fAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.F2FAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.F2FAccountPayload, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.F2FAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setF2fAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 8, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearF2fAccountPayload = function() {
|
|
return this.setF2fAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasF2fAccountPayload = function() {
|
|
return jspb.Message.getField(this, 8) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional UpiAccountPayload upi_account_payload = 9;
|
|
* @return {?proto.io.bisq.protobuffer.UpiAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getUpiAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.UpiAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.UpiAccountPayload, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.UpiAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setUpiAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 9, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearUpiAccountPayload = function() {
|
|
return this.setUpiAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasUpiAccountPayload = function() {
|
|
return jspb.Message.getField(this, 9) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaytmAccountPayload paytm_account_payload = 10;
|
|
* @return {?proto.io.bisq.protobuffer.PaytmAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getPaytmAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaytmAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaytmAccountPayload, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaytmAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setPaytmAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 10, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearPaytmAccountPayload = function() {
|
|
return this.setPaytmAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasPaytmAccountPayload = function() {
|
|
return jspb.Message.getField(this, 10) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional IfscBasedAccountPayload ifsc_based_account_payload = 11;
|
|
* @return {?proto.io.bisq.protobuffer.IfscBasedAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getIfscBasedAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.IfscBasedAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.IfscBasedAccountPayload, 11));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.IfscBasedAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setIfscBasedAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 11, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearIfscBasedAccountPayload = function() {
|
|
return this.setIfscBasedAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasIfscBasedAccountPayload = function() {
|
|
return jspb.Message.getField(this, 11) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NequiAccountPayload nequi_account_payload = 12;
|
|
* @return {?proto.io.bisq.protobuffer.NequiAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getNequiAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NequiAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NequiAccountPayload, 12));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NequiAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setNequiAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 12, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearNequiAccountPayload = function() {
|
|
return this.setNequiAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasNequiAccountPayload = function() {
|
|
return jspb.Message.getField(this, 12) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional BizumAccountPayload bizum_account_payload = 13;
|
|
* @return {?proto.io.bisq.protobuffer.BizumAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getBizumAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.BizumAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.BizumAccountPayload, 13));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.BizumAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setBizumAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 13, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearBizumAccountPayload = function() {
|
|
return this.setBizumAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasBizumAccountPayload = function() {
|
|
return jspb.Message.getField(this, 13) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PixAccountPayload pix_account_payload = 14;
|
|
* @return {?proto.io.bisq.protobuffer.PixAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getPixAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PixAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PixAccountPayload, 14));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PixAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setPixAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 14, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearPixAccountPayload = function() {
|
|
return this.setPixAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasPixAccountPayload = function() {
|
|
return jspb.Message.getField(this, 14) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SatispayAccountPayload satispay_account_payload = 15;
|
|
* @return {?proto.io.bisq.protobuffer.SatispayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getSatispayAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SatispayAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SatispayAccountPayload, 15));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SatispayAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setSatispayAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 15, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearSatispayAccountPayload = function() {
|
|
return this.setSatispayAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasSatispayAccountPayload = function() {
|
|
return jspb.Message.getField(this, 15) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional StrikeAccountPayload strike_account_payload = 16;
|
|
* @return {?proto.io.bisq.protobuffer.StrikeAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getStrikeAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.StrikeAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.StrikeAccountPayload, 16));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.StrikeAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setStrikeAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 16, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearStrikeAccountPayload = function() {
|
|
return this.setStrikeAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasStrikeAccountPayload = function() {
|
|
return jspb.Message.getField(this, 16) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TikkieAccountPayload tikkie_account_payload = 17;
|
|
* @return {?proto.io.bisq.protobuffer.TikkieAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getTikkieAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TikkieAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TikkieAccountPayload, 17));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TikkieAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setTikkieAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 17, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearTikkieAccountPayload = function() {
|
|
return this.setTikkieAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasTikkieAccountPayload = function() {
|
|
return jspb.Message.getField(this, 17) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TransferwiseUsdAccountPayload transferwise_usd_account_payload = 18;
|
|
* @return {?proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getTransferwiseUsdAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload, 18));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setTransferwiseUsdAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 18, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearTransferwiseUsdAccountPayload = function() {
|
|
return this.setTransferwiseUsdAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasTransferwiseUsdAccountPayload = function() {
|
|
return jspb.Message.getField(this, 18) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SwiftAccountPayload swift_account_payload = 19;
|
|
* @return {?proto.io.bisq.protobuffer.SwiftAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.getSwiftAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SwiftAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SwiftAccountPayload, 19));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SwiftAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.setSwiftAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 19, proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.clearSwiftAccountPayload = function() {
|
|
return this.setSwiftAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CountryBasedPaymentAccountPayload.prototype.hasSwiftAccountPayload = function() {
|
|
return jspb.Message.getField(this, 19) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* Oneof group definitions for this message. Each group defines the field
|
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
* @private {!Array<!Array<number>>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.oneofGroups_ = [[9,10,11,13,14]];
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.MessageCase = {
|
|
MESSAGE_NOT_SET: 0,
|
|
NATIONAL_BANK_ACCOUNT_PAYLOAD: 9,
|
|
SAME_BANK_ACCONT_PAYLOAD: 10,
|
|
SPECIFIC_BANKS_ACCOUNT_PAYLOAD: 11,
|
|
ACH_TRANSFER_ACCOUNT_PAYLOAD: 13,
|
|
DOMESTIC_WIRE_TRANSFER_ACCOUNT_PAYLOAD: 14
|
|
};
|
|
|
|
/**
|
|
* @return {proto.io.bisq.protobuffer.BankAccountPayload.MessageCase}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getMessageCase = function() {
|
|
return /** @type {proto.io.bisq.protobuffer.BankAccountPayload.MessageCase} */(jspb.Message.computeOneofCase(this, proto.io.bisq.protobuffer.BankAccountPayload.oneofGroups_[0]));
|
|
};
|
|
|
|
|
|
|
|
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_<name>, 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.BankAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.BankAccountPayload.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.BankAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
bankName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
bankId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
branchId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
accountNr: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
accountType: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
holderTaxId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
email: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
nationalBankAccountPayload: (f = msg.getNationalBankAccountPayload()) && proto.io.bisq.protobuffer.NationalBankAccountPayload.toObject(includeInstance, f),
|
|
sameBankAccontPayload: (f = msg.getSameBankAccontPayload()) && proto.io.bisq.protobuffer.SameBankAccountPayload.toObject(includeInstance, f),
|
|
specificBanksAccountPayload: (f = msg.getSpecificBanksAccountPayload()) && proto.io.bisq.protobuffer.SpecificBanksAccountPayload.toObject(includeInstance, f),
|
|
achTransferAccountPayload: (f = msg.getAchTransferAccountPayload()) && proto.io.bisq.protobuffer.AchTransferAccountPayload.toObject(includeInstance, f),
|
|
domesticWireTransferAccountPayload: (f = msg.getDomesticWireTransferAccountPayload()) && proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.toObject(includeInstance, f),
|
|
nationalAccountId: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
};
|
|
|
|
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.BankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.BankAccountPayload;
|
|
return proto.io.bisq.protobuffer.BankAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.BankAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.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.setHolderName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankName(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankId(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBranchId(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountNr(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountType(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderTaxId(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setEmail(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.io.bisq.protobuffer.NationalBankAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NationalBankAccountPayload.deserializeBinaryFromReader);
|
|
msg.setNationalBankAccountPayload(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.SameBankAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SameBankAccountPayload.deserializeBinaryFromReader);
|
|
msg.setSameBankAccontPayload(value);
|
|
break;
|
|
case 11:
|
|
var value = new proto.io.bisq.protobuffer.SpecificBanksAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SpecificBanksAccountPayload.deserializeBinaryFromReader);
|
|
msg.setSpecificBanksAccountPayload(value);
|
|
break;
|
|
case 13:
|
|
var value = new proto.io.bisq.protobuffer.AchTransferAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AchTransferAccountPayload.deserializeBinaryFromReader);
|
|
msg.setAchTransferAccountPayload(value);
|
|
break;
|
|
case 14:
|
|
var value = new proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.deserializeBinaryFromReader);
|
|
msg.setDomesticWireTransferAccountPayload(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setNationalAccountId(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.BankAccountPayload.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.BankAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBranchId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountType();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderTaxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getNationalBankAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
9,
|
|
f,
|
|
proto.io.bisq.protobuffer.NationalBankAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSameBankAccontPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.SameBankAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSpecificBanksAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
11,
|
|
f,
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAchTransferAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
13,
|
|
f,
|
|
proto.io.bisq.protobuffer.AchTransferAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDomesticWireTransferAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
14,
|
|
f,
|
|
proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getNationalAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setHolderName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getBankName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setBankName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_id = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getBankId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setBankId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string branch_id = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getBranchId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setBranchId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_nr = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getAccountNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setAccountNr = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_type = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getAccountType = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setAccountType = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_tax_id = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getHolderTaxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setHolderTaxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setEmail = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NationalBankAccountPayload national_bank_account_payload = 9;
|
|
* @return {?proto.io.bisq.protobuffer.NationalBankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getNationalBankAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NationalBankAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NationalBankAccountPayload, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NationalBankAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setNationalBankAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 9, proto.io.bisq.protobuffer.BankAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.clearNationalBankAccountPayload = function() {
|
|
return this.setNationalBankAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.hasNationalBankAccountPayload = function() {
|
|
return jspb.Message.getField(this, 9) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SameBankAccountPayload same_bank_accont_payload = 10;
|
|
* @return {?proto.io.bisq.protobuffer.SameBankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getSameBankAccontPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SameBankAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SameBankAccountPayload, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SameBankAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setSameBankAccontPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 10, proto.io.bisq.protobuffer.BankAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.clearSameBankAccontPayload = function() {
|
|
return this.setSameBankAccontPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.hasSameBankAccontPayload = function() {
|
|
return jspb.Message.getField(this, 10) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SpecificBanksAccountPayload specific_banks_account_payload = 11;
|
|
* @return {?proto.io.bisq.protobuffer.SpecificBanksAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getSpecificBanksAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SpecificBanksAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SpecificBanksAccountPayload, 11));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SpecificBanksAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setSpecificBanksAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 11, proto.io.bisq.protobuffer.BankAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.clearSpecificBanksAccountPayload = function() {
|
|
return this.setSpecificBanksAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.hasSpecificBanksAccountPayload = function() {
|
|
return jspb.Message.getField(this, 11) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AchTransferAccountPayload ach_transfer_account_payload = 13;
|
|
* @return {?proto.io.bisq.protobuffer.AchTransferAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getAchTransferAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AchTransferAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AchTransferAccountPayload, 13));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AchTransferAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setAchTransferAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 13, proto.io.bisq.protobuffer.BankAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.clearAchTransferAccountPayload = function() {
|
|
return this.setAchTransferAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.hasAchTransferAccountPayload = function() {
|
|
return jspb.Message.getField(this, 13) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DomesticWireTransferAccountPayload domestic_wire_transfer_account_payload = 14;
|
|
* @return {?proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getDomesticWireTransferAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload, 14));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setDomesticWireTransferAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 14, proto.io.bisq.protobuffer.BankAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.clearDomesticWireTransferAccountPayload = function() {
|
|
return this.setDomesticWireTransferAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.hasDomesticWireTransferAccountPayload = function() {
|
|
return jspb.Message.getField(this, 14) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string national_account_id = 12;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.getNationalAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BankAccountPayload.prototype.setNationalAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 12, 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_<name>, 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.AchTransferAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AchTransferAccountPayload.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.AchTransferAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AchTransferAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderAddress: 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.AchTransferAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.AchTransferAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AchTransferAccountPayload;
|
|
return proto.io.bisq.protobuffer.AchTransferAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AchTransferAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AchTransferAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.AchTransferAccountPayload.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.setHolderAddress(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AchTransferAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AchTransferAccountPayload.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.AchTransferAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AchTransferAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_address = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AchTransferAccountPayload.prototype.getHolderAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AchTransferAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AchTransferAccountPayload.prototype.setHolderAddress = 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_<name>, 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.DomesticWireTransferAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.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.DomesticWireTransferAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderAddress: 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.DomesticWireTransferAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload;
|
|
return proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.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.setHolderAddress(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.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.DomesticWireTransferAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_address = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.prototype.getHolderAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.DomesticWireTransferAccountPayload.prototype.setHolderAddress = 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_<name>, 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.NationalBankAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.NationalBankAccountPayload.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.NationalBankAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NationalBankAccountPayload.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.NationalBankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.NationalBankAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.NationalBankAccountPayload;
|
|
return proto.io.bisq.protobuffer.NationalBankAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.NationalBankAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.NationalBankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.NationalBankAccountPayload.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.NationalBankAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.NationalBankAccountPayload.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.NationalBankAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NationalBankAccountPayload.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_<name>, 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.SameBankAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SameBankAccountPayload.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.SameBankAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SameBankAccountPayload.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.SameBankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SameBankAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SameBankAccountPayload;
|
|
return proto.io.bisq.protobuffer.SameBankAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SameBankAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SameBankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SameBankAccountPayload.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.SameBankAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SameBankAccountPayload.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.SameBankAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SameBankAccountPayload.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_<name>, 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.JapanBankAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.JapanBankAccountPayload.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.JapanBankAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
bankName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
bankCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
bankBranchName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
bankBranchCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
bankAccountType: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
bankAccountName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
bankAccountNumber: 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.JapanBankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.JapanBankAccountPayload;
|
|
return proto.io.bisq.protobuffer.JapanBankAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.JapanBankAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.JapanBankAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.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.setBankName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankCode(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankBranchName(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankBranchCode(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankAccountType(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankAccountName(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankAccountNumber(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.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.JapanBankAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getBankName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankBranchName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankBranchCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankAccountType();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankAccountName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankAccountNumber();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.getBankName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.JapanBankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.setBankName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_code = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.getBankCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.JapanBankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.setBankCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_branch_name = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.getBankBranchName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.JapanBankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.setBankBranchName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_branch_code = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.getBankBranchCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.JapanBankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.setBankBranchCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_account_type = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.getBankAccountType = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.JapanBankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.setBankAccountType = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_account_name = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.getBankAccountName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.JapanBankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.setBankAccountName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_account_number = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.getBankAccountNumber = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.JapanBankAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.JapanBankAccountPayload.prototype.setBankAccountNumber = 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_<name>, 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.AustraliaPayidPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AustraliaPayidPayload.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.AustraliaPayidPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
bankAccountName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
payid: 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.AustraliaPayidPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AustraliaPayidPayload;
|
|
return proto.io.bisq.protobuffer.AustraliaPayidPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AustraliaPayidPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AustraliaPayidPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.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.setBankAccountName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPayid(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.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.AustraliaPayidPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getBankAccountName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_account_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.prototype.getBankAccountName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AustraliaPayidPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.prototype.setBankAccountName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payid = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.prototype.getPayid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AustraliaPayidPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AustraliaPayidPayload.prototype.setPayid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.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_<name>, 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.SpecificBanksAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SpecificBanksAccountPayload.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.SpecificBanksAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
acceptedBanksList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : 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.SpecificBanksAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SpecificBanksAccountPayload;
|
|
return proto.io.bisq.protobuffer.SpecificBanksAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SpecificBanksAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SpecificBanksAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.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.addAcceptedBanks(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.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.SpecificBanksAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAcceptedBanksList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string accepted_banks = 1;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.prototype.getAcceptedBanksList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.SpecificBanksAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.prototype.setAcceptedBanksList = function(value) {
|
|
return jspb.Message.setField(this, 1, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.SpecificBanksAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.prototype.addAcceptedBanks = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.SpecificBanksAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SpecificBanksAccountPayload.prototype.clearAcceptedBanksList = function() {
|
|
return this.setAcceptedBanksList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.CashDepositAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.CashDepositAccountPayload.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.CashDepositAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
holderEmail: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
bankName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
bankId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
branchId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
accountNr: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
accountType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
requirements: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
holderTaxId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
nationalAccountId: 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.CashDepositAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.CashDepositAccountPayload;
|
|
return proto.io.bisq.protobuffer.CashDepositAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.CashDepositAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.CashDepositAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.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.setHolderName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderEmail(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankName(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankId(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBranchId(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountNr(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountType(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setRequirements(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderTaxId(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setNationalAccountId(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.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.CashDepositAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBranchId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountType();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRequirements();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderTaxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getNationalAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashDepositAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.setHolderName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_email = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.getHolderEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashDepositAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.setHolderEmail = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_name = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.getBankName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashDepositAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.setBankName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_id = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.getBankId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashDepositAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.setBankId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string branch_id = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.getBranchId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashDepositAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.setBranchId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_nr = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.getAccountNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashDepositAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.setAccountNr = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_type = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.getAccountType = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashDepositAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.setAccountType = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string requirements = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.getRequirements = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashDepositAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.setRequirements = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_tax_id = 9;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.getHolderTaxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashDepositAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.setHolderTaxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string national_account_id = 10;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.getNationalAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashDepositAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashDepositAccountPayload.prototype.setNationalAccountId = 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_<name>, 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.MoneyGramAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MoneyGramAccountPayload.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.MoneyGramAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
countryCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
state: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
email: 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.MoneyGramAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MoneyGramAccountPayload;
|
|
return proto.io.bisq.protobuffer.MoneyGramAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MoneyGramAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MoneyGramAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.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.setHolderName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCountryCode(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setState(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setEmail(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.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.MoneyGramAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCountryCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getState();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MoneyGramAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.prototype.setHolderName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string country_code = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.prototype.getCountryCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MoneyGramAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.prototype.setCountryCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string state = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.prototype.getState = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MoneyGramAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.prototype.setState = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.prototype.getEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MoneyGramAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyGramAccountPayload.prototype.setEmail = 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_<name>, 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.HalCashAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.HalCashAccountPayload.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.HalCashAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.HalCashAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
mobileNr: 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.HalCashAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.HalCashAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.HalCashAccountPayload;
|
|
return proto.io.bisq.protobuffer.HalCashAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.HalCashAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.HalCashAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.HalCashAccountPayload.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.setMobileNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.HalCashAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.HalCashAccountPayload.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.HalCashAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.HalCashAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMobileNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string mobile_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.HalCashAccountPayload.prototype.getMobileNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.HalCashAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.HalCashAccountPayload.prototype.setMobileNr = 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_<name>, 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.WesternUnionAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.WesternUnionAccountPayload.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.WesternUnionAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
city: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
state: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
email: 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.WesternUnionAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.WesternUnionAccountPayload;
|
|
return proto.io.bisq.protobuffer.WesternUnionAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.WesternUnionAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.WesternUnionAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.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.setHolderName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCity(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setState(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setEmail(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.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.WesternUnionAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCity();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getState();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.WesternUnionAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.prototype.setHolderName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string city = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.prototype.getCity = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.WesternUnionAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.prototype.setCity = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string state = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.prototype.getState = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.WesternUnionAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.prototype.setState = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.prototype.getEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.WesternUnionAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.WesternUnionAccountPayload.prototype.setEmail = 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_<name>, 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.AmazonGiftCardAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.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.AmazonGiftCardAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
emailOrMobileNr: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
countryCode: 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.AmazonGiftCardAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload;
|
|
return proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.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.setEmailOrMobileNr(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCountryCode(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.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.AmazonGiftCardAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEmailOrMobileNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCountryCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email_or_mobile_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.prototype.getEmailOrMobileNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.prototype.setEmailOrMobileNr = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string country_code = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.prototype.getCountryCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AmazonGiftCardAccountPayload.prototype.setCountryCode = 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_<name>, 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.SepaAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SepaAccountPayload.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.SepaAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
iban: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
bic: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
email: 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.SepaAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SepaAccountPayload;
|
|
return proto.io.bisq.protobuffer.SepaAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SepaAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SepaAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.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.setHolderName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setIban(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBic(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setEmail(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.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.SepaAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIban();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBic();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SepaAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.prototype.setHolderName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string iban = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.prototype.getIban = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SepaAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.prototype.setIban = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bic = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.prototype.getBic = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SepaAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.prototype.setBic = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.prototype.getEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SepaAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaAccountPayload.prototype.setEmail = 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_<name>, 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.SepaInstantAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SepaInstantAccountPayload.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.SepaInstantAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
iban: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
bic: 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.SepaInstantAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SepaInstantAccountPayload;
|
|
return proto.io.bisq.protobuffer.SepaInstantAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SepaInstantAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SepaInstantAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.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.setHolderName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setIban(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBic(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.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.SepaInstantAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIban();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBic();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SepaInstantAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.prototype.setHolderName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string iban = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.prototype.getIban = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SepaInstantAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.prototype.setIban = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bic = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.prototype.getBic = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SepaInstantAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SepaInstantAccountPayload.prototype.setBic = 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_<name>, 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.CryptoCurrencyAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.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.CryptoCurrencyAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.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.CryptoCurrencyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload;
|
|
return proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.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.CryptoCurrencyAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.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.CryptoCurrencyAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.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.CryptoCurrencyAccountPayload.prototype.getAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrencyAccountPayload.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_<name>, 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.InstantCryptoCurrencyAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.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.InstantCryptoCurrencyAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.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.InstantCryptoCurrencyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload;
|
|
return proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.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.InstantCryptoCurrencyAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.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.InstantCryptoCurrencyAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.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.InstantCryptoCurrencyAccountPayload.prototype.getAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InstantCryptoCurrencyAccountPayload.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_<name>, 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.FasterPaymentsAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.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.FasterPaymentsAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
sortCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
accountNr: 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.FasterPaymentsAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.FasterPaymentsAccountPayload;
|
|
return proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.FasterPaymentsAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.FasterPaymentsAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.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.setHolderName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSortCode(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.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.FasterPaymentsAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSortCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.FasterPaymentsAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.prototype.setHolderName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string sort_code = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.prototype.getSortCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.FasterPaymentsAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.prototype.setSortCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_nr = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.prototype.getAccountNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.FasterPaymentsAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.FasterPaymentsAccountPayload.prototype.setAccountNr = 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_<name>, 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.InteracETransferAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.InteracETransferAccountPayload.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.InteracETransferAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
email: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
holderName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
question: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
answer: 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.InteracETransferAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.InteracETransferAccountPayload;
|
|
return proto.io.bisq.protobuffer.InteracETransferAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.InteracETransferAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.InteracETransferAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.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.setEmail(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderName(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setQuestion(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAnswer(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.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.InteracETransferAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getQuestion();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAnswer();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.prototype.getEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InteracETransferAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.prototype.setEmail = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InteracETransferAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.prototype.setHolderName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string question = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.prototype.getQuestion = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InteracETransferAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.prototype.setQuestion = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string answer = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.prototype.getAnswer = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.InteracETransferAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.InteracETransferAccountPayload.prototype.setAnswer = 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_<name>, 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.OKPayAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.OKPayAccountPayload.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.OKPayAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.OKPayAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountNr: 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.OKPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.OKPayAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.OKPayAccountPayload;
|
|
return proto.io.bisq.protobuffer.OKPayAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.OKPayAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.OKPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.OKPayAccountPayload.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.setAccountNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.OKPayAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.OKPayAccountPayload.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.OKPayAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.OKPayAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OKPayAccountPayload.prototype.getAccountNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OKPayAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OKPayAccountPayload.prototype.setAccountNr = 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_<name>, 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.UpholdAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.UpholdAccountPayload.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.UpholdAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
accountOwner: 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.UpholdAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.UpholdAccountPayload;
|
|
return proto.io.bisq.protobuffer.UpholdAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.UpholdAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.UpholdAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.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.setAccountId(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountOwner(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.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.UpholdAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountOwner();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.prototype.getAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.UpholdAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.prototype.setAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_owner = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.prototype.getAccountOwner = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.UpholdAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UpholdAccountPayload.prototype.setAccountOwner = 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_<name>, 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.CashAppAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.CashAppAccountPayload.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.CashAppAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CashAppAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
cashTag: 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.CashAppAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashAppAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.CashAppAccountPayload;
|
|
return proto.io.bisq.protobuffer.CashAppAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.CashAppAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.CashAppAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashAppAccountPayload.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.setCashTag(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashAppAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.CashAppAccountPayload.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.CashAppAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CashAppAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getCashTag();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string cash_tag = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashAppAccountPayload.prototype.getCashTag = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashAppAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashAppAccountPayload.prototype.setCashTag = 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_<name>, 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.MoneyBeamAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MoneyBeamAccountPayload.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.MoneyBeamAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyBeamAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountId: 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.MoneyBeamAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyBeamAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MoneyBeamAccountPayload;
|
|
return proto.io.bisq.protobuffer.MoneyBeamAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MoneyBeamAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MoneyBeamAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyBeamAccountPayload.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.setAccountId(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyBeamAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MoneyBeamAccountPayload.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.MoneyBeamAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyBeamAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyBeamAccountPayload.prototype.getAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MoneyBeamAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneyBeamAccountPayload.prototype.setAccountId = 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_<name>, 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.VenmoAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.VenmoAccountPayload.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.VenmoAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
venmoUserName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
holderName: 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.VenmoAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.VenmoAccountPayload;
|
|
return proto.io.bisq.protobuffer.VenmoAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.VenmoAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.VenmoAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.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.setVenmoUserName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderName(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.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.VenmoAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getVenmoUserName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string venmo_user_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.prototype.getVenmoUserName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.VenmoAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.prototype.setVenmoUserName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.VenmoAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.VenmoAccountPayload.prototype.setHolderName = 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_<name>, 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.PopmoneyAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PopmoneyAccountPayload.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.PopmoneyAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
holderName: 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.PopmoneyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PopmoneyAccountPayload;
|
|
return proto.io.bisq.protobuffer.PopmoneyAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PopmoneyAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PopmoneyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.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.setAccountId(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderName(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.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.PopmoneyAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.prototype.getAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PopmoneyAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.prototype.setAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PopmoneyAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PopmoneyAccountPayload.prototype.setHolderName = 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_<name>, 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.RevolutAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.RevolutAccountPayload.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.RevolutAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
userName: 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.RevolutAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.RevolutAccountPayload;
|
|
return proto.io.bisq.protobuffer.RevolutAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.RevolutAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.RevolutAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.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.setAccountId(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUserName(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.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.RevolutAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUserName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.prototype.getAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.RevolutAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.prototype.setAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string user_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.prototype.getUserName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.RevolutAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RevolutAccountPayload.prototype.setUserName = 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_<name>, 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.PerfectMoneyAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.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.PerfectMoneyAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountNr: 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.PerfectMoneyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PerfectMoneyAccountPayload;
|
|
return proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PerfectMoneyAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PerfectMoneyAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.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.setAccountNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.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.PerfectMoneyAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.prototype.getAccountNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PerfectMoneyAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PerfectMoneyAccountPayload.prototype.setAccountNr = 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_<name>, 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.SwishAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SwishAccountPayload.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.SwishAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
mobileNr: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
holderName: 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.SwishAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SwishAccountPayload;
|
|
return proto.io.bisq.protobuffer.SwishAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SwishAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SwishAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.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.setMobileNr(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderName(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.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.SwishAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMobileNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string mobile_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.prototype.getMobileNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwishAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.prototype.setMobileNr = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwishAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwishAccountPayload.prototype.setHolderName = 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_<name>, 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.USPostalMoneyOrderAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.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.USPostalMoneyOrderAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
postalAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
holderName: 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.USPostalMoneyOrderAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload;
|
|
return proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.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.setPostalAddress(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderName(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.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.USPostalMoneyOrderAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPostalAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string postal_address = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.prototype.getPostalAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.prototype.setPostalAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.USPostalMoneyOrderAccountPayload.prototype.setHolderName = 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_<name>, 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.F2FAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.F2FAccountPayload.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.F2FAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
contact: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
city: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
extraInfo: 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.F2FAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.F2FAccountPayload;
|
|
return proto.io.bisq.protobuffer.F2FAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.F2FAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.F2FAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.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.setContact(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCity(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setExtraInfo(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.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.F2FAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getContact();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCity();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraInfo();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string contact = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.prototype.getContact = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.F2FAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.prototype.setContact = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string city = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.prototype.getCity = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.F2FAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.prototype.setCity = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string extra_info = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.prototype.getExtraInfo = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.F2FAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.F2FAccountPayload.prototype.setExtraInfo = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* Oneof group definitions for this message. Each group defines the field
|
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
* @private {!Array<!Array<number>>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.oneofGroups_ = [[4,5,6]];
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.MessageCase = {
|
|
MESSAGE_NOT_SET: 0,
|
|
NEFT_ACCOUNT_PAYLOAD: 4,
|
|
RTGS_ACCOUNT_PAYLOAD: 5,
|
|
IMPS_ACCOUNT_PAYLOAD: 6
|
|
};
|
|
|
|
/**
|
|
* @return {proto.io.bisq.protobuffer.IfscBasedAccountPayload.MessageCase}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.getMessageCase = function() {
|
|
return /** @type {proto.io.bisq.protobuffer.IfscBasedAccountPayload.MessageCase} */(jspb.Message.computeOneofCase(this, proto.io.bisq.protobuffer.IfscBasedAccountPayload.oneofGroups_[0]));
|
|
};
|
|
|
|
|
|
|
|
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_<name>, 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.IfscBasedAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.IfscBasedAccountPayload.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.IfscBasedAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
accountNr: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
ifsc: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
neftAccountPayload: (f = msg.getNeftAccountPayload()) && proto.io.bisq.protobuffer.NeftAccountPayload.toObject(includeInstance, f),
|
|
rtgsAccountPayload: (f = msg.getRtgsAccountPayload()) && proto.io.bisq.protobuffer.RtgsAccountPayload.toObject(includeInstance, f),
|
|
impsAccountPayload: (f = msg.getImpsAccountPayload()) && proto.io.bisq.protobuffer.ImpsAccountPayload.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.IfscBasedAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.IfscBasedAccountPayload;
|
|
return proto.io.bisq.protobuffer.IfscBasedAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.IfscBasedAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.IfscBasedAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.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.setHolderName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountNr(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setIfsc(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.NeftAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NeftAccountPayload.deserializeBinaryFromReader);
|
|
msg.setNeftAccountPayload(value);
|
|
break;
|
|
case 5:
|
|
var value = new proto.io.bisq.protobuffer.RtgsAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RtgsAccountPayload.deserializeBinaryFromReader);
|
|
msg.setRtgsAccountPayload(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.ImpsAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ImpsAccountPayload.deserializeBinaryFromReader);
|
|
msg.setImpsAccountPayload(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.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.IfscBasedAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIfsc();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getNeftAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.NeftAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRtgsAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
5,
|
|
f,
|
|
proto.io.bisq.protobuffer.RtgsAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getImpsAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.ImpsAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.IfscBasedAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.setHolderName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_nr = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.getAccountNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.IfscBasedAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.setAccountNr = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string ifsc = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.getIfsc = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.IfscBasedAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.setIfsc = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NeftAccountPayload neft_account_payload = 4;
|
|
* @return {?proto.io.bisq.protobuffer.NeftAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.getNeftAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NeftAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NeftAccountPayload, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NeftAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.IfscBasedAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.setNeftAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 4, proto.io.bisq.protobuffer.IfscBasedAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.IfscBasedAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.clearNeftAccountPayload = function() {
|
|
return this.setNeftAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.hasNeftAccountPayload = function() {
|
|
return jspb.Message.getField(this, 4) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional RtgsAccountPayload rtgs_account_payload = 5;
|
|
* @return {?proto.io.bisq.protobuffer.RtgsAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.getRtgsAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.RtgsAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.RtgsAccountPayload, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.RtgsAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.IfscBasedAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.setRtgsAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 5, proto.io.bisq.protobuffer.IfscBasedAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.IfscBasedAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.clearRtgsAccountPayload = function() {
|
|
return this.setRtgsAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.hasRtgsAccountPayload = function() {
|
|
return jspb.Message.getField(this, 5) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ImpsAccountPayload imps_account_payload = 6;
|
|
* @return {?proto.io.bisq.protobuffer.ImpsAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.getImpsAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ImpsAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ImpsAccountPayload, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ImpsAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.IfscBasedAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.setImpsAccountPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 6, proto.io.bisq.protobuffer.IfscBasedAccountPayload.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.IfscBasedAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.clearImpsAccountPayload = function() {
|
|
return this.setImpsAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.IfscBasedAccountPayload.prototype.hasImpsAccountPayload = function() {
|
|
return jspb.Message.getField(this, 6) != 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_<name>, 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.NeftAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.NeftAccountPayload.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.NeftAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NeftAccountPayload.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.NeftAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.NeftAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.NeftAccountPayload;
|
|
return proto.io.bisq.protobuffer.NeftAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.NeftAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.NeftAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.NeftAccountPayload.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.NeftAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.NeftAccountPayload.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.NeftAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NeftAccountPayload.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_<name>, 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.RtgsAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.RtgsAccountPayload.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.RtgsAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RtgsAccountPayload.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.RtgsAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.RtgsAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.RtgsAccountPayload;
|
|
return proto.io.bisq.protobuffer.RtgsAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.RtgsAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.RtgsAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.RtgsAccountPayload.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.RtgsAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.RtgsAccountPayload.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.RtgsAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RtgsAccountPayload.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_<name>, 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.ImpsAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.ImpsAccountPayload.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.ImpsAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ImpsAccountPayload.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.ImpsAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.ImpsAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.ImpsAccountPayload;
|
|
return proto.io.bisq.protobuffer.ImpsAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.ImpsAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.ImpsAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.ImpsAccountPayload.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.ImpsAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.ImpsAccountPayload.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.ImpsAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ImpsAccountPayload.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_<name>, 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.UpiAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.UpiAccountPayload.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.UpiAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.UpiAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
virtualPaymentAddress: 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.UpiAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.UpiAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.UpiAccountPayload;
|
|
return proto.io.bisq.protobuffer.UpiAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.UpiAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.UpiAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.UpiAccountPayload.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.setVirtualPaymentAddress(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.UpiAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.UpiAccountPayload.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.UpiAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.UpiAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getVirtualPaymentAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string virtual_payment_address = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.UpiAccountPayload.prototype.getVirtualPaymentAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.UpiAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UpiAccountPayload.prototype.setVirtualPaymentAddress = 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_<name>, 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.PaytmAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PaytmAccountPayload.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.PaytmAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaytmAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
emailOrMobileNr: 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.PaytmAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaytmAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PaytmAccountPayload;
|
|
return proto.io.bisq.protobuffer.PaytmAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PaytmAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PaytmAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaytmAccountPayload.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.setEmailOrMobileNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaytmAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PaytmAccountPayload.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.PaytmAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaytmAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEmailOrMobileNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email_or_mobile_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaytmAccountPayload.prototype.getEmailOrMobileNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaytmAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaytmAccountPayload.prototype.setEmailOrMobileNr = 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_<name>, 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.CashByMailAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.CashByMailAccountPayload.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.CashByMailAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
postalAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
contact: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
extraInfo: 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.CashByMailAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.CashByMailAccountPayload;
|
|
return proto.io.bisq.protobuffer.CashByMailAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.CashByMailAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.CashByMailAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.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.setPostalAddress(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setContact(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setExtraInfo(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.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.CashByMailAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPostalAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContact();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExtraInfo();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string postal_address = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.prototype.getPostalAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashByMailAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.prototype.setPostalAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string contact = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.prototype.getContact = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashByMailAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.prototype.setContact = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string extra_info = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.prototype.getExtraInfo = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CashByMailAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CashByMailAccountPayload.prototype.setExtraInfo = 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_<name>, 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.PromptPayAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PromptPayAccountPayload.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.PromptPayAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PromptPayAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
promptPayId: 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.PromptPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PromptPayAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PromptPayAccountPayload;
|
|
return proto.io.bisq.protobuffer.PromptPayAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PromptPayAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PromptPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PromptPayAccountPayload.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.setPromptPayId(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PromptPayAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PromptPayAccountPayload.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.PromptPayAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PromptPayAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPromptPayId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string prompt_pay_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PromptPayAccountPayload.prototype.getPromptPayId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PromptPayAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PromptPayAccountPayload.prototype.setPromptPayId = 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_<name>, 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.AdvancedCashAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AdvancedCashAccountPayload.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.AdvancedCashAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AdvancedCashAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountNr: 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.AdvancedCashAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.AdvancedCashAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AdvancedCashAccountPayload;
|
|
return proto.io.bisq.protobuffer.AdvancedCashAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AdvancedCashAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AdvancedCashAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.AdvancedCashAccountPayload.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.setAccountNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AdvancedCashAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AdvancedCashAccountPayload.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.AdvancedCashAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AdvancedCashAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AdvancedCashAccountPayload.prototype.getAccountNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AdvancedCashAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AdvancedCashAccountPayload.prototype.setAccountNr = 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_<name>, 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.TransferwiseAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.TransferwiseAccountPayload.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.TransferwiseAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
email: 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.TransferwiseAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.TransferwiseAccountPayload;
|
|
return proto.io.bisq.protobuffer.TransferwiseAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.TransferwiseAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.TransferwiseAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseAccountPayload.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.setEmail(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.TransferwiseAccountPayload.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.TransferwiseAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseAccountPayload.prototype.getEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TransferwiseAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseAccountPayload.prototype.setEmail = 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_<name>, 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.TransferwiseUsdAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.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.TransferwiseUsdAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
email: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
holderName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
beneficiaryAddress: 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.TransferwiseUsdAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload;
|
|
return proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.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.setEmail(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderName(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBeneficiaryAddress(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.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.TransferwiseUsdAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBeneficiaryAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.prototype.getEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.prototype.setEmail = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.prototype.setHolderName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string beneficiary_address = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.prototype.getBeneficiaryAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TransferwiseUsdAccountPayload.prototype.setBeneficiaryAddress = 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_<name>, 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.PayseraAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PayseraAccountPayload.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.PayseraAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PayseraAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
email: 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.PayseraAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PayseraAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PayseraAccountPayload;
|
|
return proto.io.bisq.protobuffer.PayseraAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PayseraAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PayseraAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PayseraAccountPayload.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.setEmail(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PayseraAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PayseraAccountPayload.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.PayseraAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PayseraAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PayseraAccountPayload.prototype.getEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PayseraAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PayseraAccountPayload.prototype.setEmail = 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_<name>, 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.PaxumAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PaxumAccountPayload.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.PaxumAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaxumAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
email: 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.PaxumAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaxumAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PaxumAccountPayload;
|
|
return proto.io.bisq.protobuffer.PaxumAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PaxumAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PaxumAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaxumAccountPayload.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.setEmail(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaxumAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PaxumAccountPayload.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.PaxumAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaxumAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaxumAccountPayload.prototype.getEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaxumAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaxumAccountPayload.prototype.setEmail = 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_<name>, 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.CapitualAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.CapitualAccountPayload.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.CapitualAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CapitualAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountNr: 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.CapitualAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CapitualAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.CapitualAccountPayload;
|
|
return proto.io.bisq.protobuffer.CapitualAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.CapitualAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.CapitualAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CapitualAccountPayload.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.setAccountNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.CapitualAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.CapitualAccountPayload.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.CapitualAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CapitualAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CapitualAccountPayload.prototype.getAccountNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CapitualAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CapitualAccountPayload.prototype.setAccountNr = 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_<name>, 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.CelPayAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.CelPayAccountPayload.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.CelPayAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CelPayAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
email: 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.CelPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CelPayAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.CelPayAccountPayload;
|
|
return proto.io.bisq.protobuffer.CelPayAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.CelPayAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.CelPayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.CelPayAccountPayload.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.setEmail(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.CelPayAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.CelPayAccountPayload.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.CelPayAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CelPayAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEmail();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string email = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.CelPayAccountPayload.prototype.getEmail = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.CelPayAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CelPayAccountPayload.prototype.setEmail = 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_<name>, 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.NequiAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.NequiAccountPayload.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.NequiAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NequiAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
mobileNr: 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.NequiAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.NequiAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.NequiAccountPayload;
|
|
return proto.io.bisq.protobuffer.NequiAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.NequiAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.NequiAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.NequiAccountPayload.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.setMobileNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.NequiAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.NequiAccountPayload.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.NequiAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NequiAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMobileNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string mobile_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.NequiAccountPayload.prototype.getMobileNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.NequiAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NequiAccountPayload.prototype.setMobileNr = 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_<name>, 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.BizumAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.BizumAccountPayload.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.BizumAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BizumAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
mobileNr: 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.BizumAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.BizumAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.BizumAccountPayload;
|
|
return proto.io.bisq.protobuffer.BizumAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.BizumAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.BizumAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.BizumAccountPayload.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.setMobileNr(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.BizumAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.BizumAccountPayload.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.BizumAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BizumAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMobileNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string mobile_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BizumAccountPayload.prototype.getMobileNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BizumAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BizumAccountPayload.prototype.setMobileNr = 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_<name>, 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.PixAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PixAccountPayload.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.PixAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PixAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
pixKey: 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.PixAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PixAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PixAccountPayload;
|
|
return proto.io.bisq.protobuffer.PixAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PixAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PixAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PixAccountPayload.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.setPixKey(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PixAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PixAccountPayload.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.PixAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PixAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPixKey();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string pix_key = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PixAccountPayload.prototype.getPixKey = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PixAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PixAccountPayload.prototype.setPixKey = 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_<name>, 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.MoneseAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MoneseAccountPayload.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.MoneseAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
mobileNr: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
holderName: 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.MoneseAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MoneseAccountPayload;
|
|
return proto.io.bisq.protobuffer.MoneseAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MoneseAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MoneseAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.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.setMobileNr(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderName(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.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.MoneseAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMobileNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string mobile_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.prototype.getMobileNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MoneseAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.prototype.setMobileNr = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MoneseAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneseAccountPayload.prototype.setHolderName = 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_<name>, 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.SatispayAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SatispayAccountPayload.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.SatispayAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
mobileNr: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
holderName: 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.SatispayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SatispayAccountPayload;
|
|
return proto.io.bisq.protobuffer.SatispayAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SatispayAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SatispayAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.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.setMobileNr(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setHolderName(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.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.SatispayAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMobileNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string mobile_nr = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.prototype.getMobileNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SatispayAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.prototype.setMobileNr = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SatispayAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SatispayAccountPayload.prototype.setHolderName = 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_<name>, 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.StrikeAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.StrikeAccountPayload.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.StrikeAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.StrikeAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderName: 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.StrikeAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.StrikeAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.StrikeAccountPayload;
|
|
return proto.io.bisq.protobuffer.StrikeAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.StrikeAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.StrikeAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.StrikeAccountPayload.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.setHolderName(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.StrikeAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.StrikeAccountPayload.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.StrikeAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.StrikeAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.StrikeAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.StrikeAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.StrikeAccountPayload.prototype.setHolderName = 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_<name>, 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.TikkieAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.TikkieAccountPayload.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.TikkieAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TikkieAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
iban: 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.TikkieAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.TikkieAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.TikkieAccountPayload;
|
|
return proto.io.bisq.protobuffer.TikkieAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.TikkieAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.TikkieAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.TikkieAccountPayload.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.setIban(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TikkieAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.TikkieAccountPayload.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.TikkieAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TikkieAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getIban();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string iban = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TikkieAccountPayload.prototype.getIban = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TikkieAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TikkieAccountPayload.prototype.setIban = 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_<name>, 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.VerseAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.VerseAccountPayload.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.VerseAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.VerseAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
holderName: 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.VerseAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.VerseAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.VerseAccountPayload;
|
|
return proto.io.bisq.protobuffer.VerseAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.VerseAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.VerseAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.VerseAccountPayload.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.setHolderName(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.VerseAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.VerseAccountPayload.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.VerseAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.VerseAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getHolderName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string holder_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.VerseAccountPayload.prototype.getHolderName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.VerseAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.VerseAccountPayload.prototype.setHolderName = 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_<name>, 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.SwiftAccountPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SwiftAccountPayload.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.SwiftAccountPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
beneficiaryName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
beneficiaryAccountNr: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
beneficiaryAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
beneficiaryCity: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
beneficiaryPhone: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
specialInstructions: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
bankSwiftCode: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
bankCountryCode: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
bankName: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
bankBranch: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
bankAddress: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
intermediarySwiftCode: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
intermediaryCountryCode: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
intermediaryName: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
intermediaryBranch: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
intermediaryAddress: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
};
|
|
|
|
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.SwiftAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SwiftAccountPayload;
|
|
return proto.io.bisq.protobuffer.SwiftAccountPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SwiftAccountPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.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.setBeneficiaryName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBeneficiaryAccountNr(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBeneficiaryAddress(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBeneficiaryCity(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBeneficiaryPhone(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSpecialInstructions(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankSwiftCode(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankCountryCode(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankName(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankBranch(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBankAddress(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setIntermediarySwiftCode(value);
|
|
break;
|
|
case 13:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setIntermediaryCountryCode(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setIntermediaryName(value);
|
|
break;
|
|
case 15:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setIntermediaryBranch(value);
|
|
break;
|
|
case 16:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setIntermediaryAddress(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.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.SwiftAccountPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getBeneficiaryName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBeneficiaryAccountNr();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBeneficiaryAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBeneficiaryCity();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBeneficiaryPhone();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSpecialInstructions();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankSwiftCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankCountryCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankBranch();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBankAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIntermediarySwiftCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIntermediaryCountryCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
13,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIntermediaryName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIntermediaryBranch();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
15,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIntermediaryAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
16,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string beneficiary_name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getBeneficiaryName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setBeneficiaryName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string beneficiary_account_nr = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getBeneficiaryAccountNr = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setBeneficiaryAccountNr = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string beneficiary_address = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getBeneficiaryAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setBeneficiaryAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string beneficiary_city = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getBeneficiaryCity = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setBeneficiaryCity = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string beneficiary_phone = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getBeneficiaryPhone = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setBeneficiaryPhone = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string special_instructions = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getSpecialInstructions = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setSpecialInstructions = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_swift_code = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getBankSwiftCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setBankSwiftCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_country_code = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getBankCountryCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setBankCountryCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_name = 9;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getBankName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setBankName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_branch = 10;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getBankBranch = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setBankBranch = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bank_address = 11;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getBankAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setBankAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string intermediary_swift_code = 12;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getIntermediarySwiftCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setIntermediarySwiftCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string intermediary_country_code = 13;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getIntermediaryCountryCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setIntermediaryCountryCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string intermediary_name = 14;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getIntermediaryName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setIntermediaryName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string intermediary_branch = 15;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getIntermediaryBranch = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setIntermediaryBranch = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string intermediary_address = 16;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.getIntermediaryAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SwiftAccountPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SwiftAccountPayload.prototype.setIntermediaryAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 16, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* Oneof group definitions for this message. Each group defines the field
|
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
* @private {!Array<!Array<number>>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_ = [[1,2,3,4,5,6,8,9,10,11,12,13,15,16,17,18,19,20,21,1001,1002,1003]];
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.MessageCase = {
|
|
MESSAGE_NOT_SET: 0,
|
|
SEQUENCE_NUMBER_MAP: 1,
|
|
PERSISTED_ENTRY_MAP: 2,
|
|
PEER_LIST: 3,
|
|
ADDRESS_ENTRY_LIST: 4,
|
|
NAVIGATION_PATH: 5,
|
|
TRADABLE_LIST: 6,
|
|
ARBITRATION_DISPUTE_LIST: 8,
|
|
PREFERENCES_PAYLOAD: 9,
|
|
USER_PAYLOAD: 10,
|
|
PAYMENT_ACCOUNT_LIST: 11,
|
|
ACCOUNT_AGE_WITNESS_STORE: 12,
|
|
TRADE_STATISTICS2_STORE: 13,
|
|
SIGNED_WITNESS_STORE: 15,
|
|
MEDIATION_DISPUTE_LIST: 16,
|
|
REFUND_DISPUTE_LIST: 17,
|
|
TRADE_STATISTICS3_STORE: 18,
|
|
MAILBOX_MESSAGE_LIST: 19,
|
|
IGNORED_MAILBOX_MAP: 20,
|
|
REMOVED_PAYLOADS_MAP: 21,
|
|
XMR_ADDRESS_ENTRY_LIST: 1001,
|
|
SIGNED_OFFER_LIST: 1002,
|
|
ENCRYPTED_CONNECTION_LIST: 1003
|
|
};
|
|
|
|
/**
|
|
* @return {proto.io.bisq.protobuffer.PersistableEnvelope.MessageCase}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getMessageCase = function() {
|
|
return /** @type {proto.io.bisq.protobuffer.PersistableEnvelope.MessageCase} */(jspb.Message.computeOneofCase(this, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0]));
|
|
};
|
|
|
|
|
|
|
|
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_<name>, 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.PersistableEnvelope.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PersistableEnvelope.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.PersistableEnvelope} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
sequenceNumberMap: (f = msg.getSequenceNumberMap()) && proto.io.bisq.protobuffer.SequenceNumberMap.toObject(includeInstance, f),
|
|
persistedEntryMap: (f = msg.getPersistedEntryMap()) && proto.io.bisq.protobuffer.PersistedEntryMap.toObject(includeInstance, f),
|
|
peerList: (f = msg.getPeerList()) && proto.io.bisq.protobuffer.PeerList.toObject(includeInstance, f),
|
|
addressEntryList: (f = msg.getAddressEntryList()) && proto.io.bisq.protobuffer.AddressEntryList.toObject(includeInstance, f),
|
|
navigationPath: (f = msg.getNavigationPath()) && proto.io.bisq.protobuffer.NavigationPath.toObject(includeInstance, f),
|
|
tradableList: (f = msg.getTradableList()) && proto.io.bisq.protobuffer.TradableList.toObject(includeInstance, f),
|
|
arbitrationDisputeList: (f = msg.getArbitrationDisputeList()) && proto.io.bisq.protobuffer.ArbitrationDisputeList.toObject(includeInstance, f),
|
|
preferencesPayload: (f = msg.getPreferencesPayload()) && proto.io.bisq.protobuffer.PreferencesPayload.toObject(includeInstance, f),
|
|
userPayload: (f = msg.getUserPayload()) && proto.io.bisq.protobuffer.UserPayload.toObject(includeInstance, f),
|
|
paymentAccountList: (f = msg.getPaymentAccountList()) && proto.io.bisq.protobuffer.PaymentAccountList.toObject(includeInstance, f),
|
|
accountAgeWitnessStore: (f = msg.getAccountAgeWitnessStore()) && proto.io.bisq.protobuffer.AccountAgeWitnessStore.toObject(includeInstance, f),
|
|
tradeStatistics2Store: (f = msg.getTradeStatistics2Store()) && proto.io.bisq.protobuffer.TradeStatistics2Store.toObject(includeInstance, f),
|
|
signedWitnessStore: (f = msg.getSignedWitnessStore()) && proto.io.bisq.protobuffer.SignedWitnessStore.toObject(includeInstance, f),
|
|
mediationDisputeList: (f = msg.getMediationDisputeList()) && proto.io.bisq.protobuffer.MediationDisputeList.toObject(includeInstance, f),
|
|
refundDisputeList: (f = msg.getRefundDisputeList()) && proto.io.bisq.protobuffer.RefundDisputeList.toObject(includeInstance, f),
|
|
tradeStatistics3Store: (f = msg.getTradeStatistics3Store()) && proto.io.bisq.protobuffer.TradeStatistics3Store.toObject(includeInstance, f),
|
|
mailboxMessageList: (f = msg.getMailboxMessageList()) && proto.io.bisq.protobuffer.MailboxMessageList.toObject(includeInstance, f),
|
|
ignoredMailboxMap: (f = msg.getIgnoredMailboxMap()) && proto.io.bisq.protobuffer.IgnoredMailboxMap.toObject(includeInstance, f),
|
|
removedPayloadsMap: (f = msg.getRemovedPayloadsMap()) && proto.io.bisq.protobuffer.RemovedPayloadsMap.toObject(includeInstance, f),
|
|
xmrAddressEntryList: (f = msg.getXmrAddressEntryList()) && proto.io.bisq.protobuffer.XmrAddressEntryList.toObject(includeInstance, f),
|
|
signedOfferList: (f = msg.getSignedOfferList()) && proto.io.bisq.protobuffer.SignedOfferList.toObject(includeInstance, f),
|
|
encryptedConnectionList: (f = msg.getEncryptedConnectionList()) && proto.io.bisq.protobuffer.EncryptedConnectionList.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.PersistableEnvelope}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PersistableEnvelope;
|
|
return proto.io.bisq.protobuffer.PersistableEnvelope.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PersistableEnvelope} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.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.SequenceNumberMap;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SequenceNumberMap.deserializeBinaryFromReader);
|
|
msg.setSequenceNumberMap(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.PersistedEntryMap;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PersistedEntryMap.deserializeBinaryFromReader);
|
|
msg.setPersistedEntryMap(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.PeerList;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PeerList.deserializeBinaryFromReader);
|
|
msg.setPeerList(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.AddressEntryList;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AddressEntryList.deserializeBinaryFromReader);
|
|
msg.setAddressEntryList(value);
|
|
break;
|
|
case 5:
|
|
var value = new proto.io.bisq.protobuffer.NavigationPath;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NavigationPath.deserializeBinaryFromReader);
|
|
msg.setNavigationPath(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.TradableList;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradableList.deserializeBinaryFromReader);
|
|
msg.setTradableList(value);
|
|
break;
|
|
case 8:
|
|
var value = new proto.io.bisq.protobuffer.ArbitrationDisputeList;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ArbitrationDisputeList.deserializeBinaryFromReader);
|
|
msg.setArbitrationDisputeList(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.io.bisq.protobuffer.PreferencesPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PreferencesPayload.deserializeBinaryFromReader);
|
|
msg.setPreferencesPayload(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.UserPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.UserPayload.deserializeBinaryFromReader);
|
|
msg.setUserPayload(value);
|
|
break;
|
|
case 11:
|
|
var value = new proto.io.bisq.protobuffer.PaymentAccountList;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccountList.deserializeBinaryFromReader);
|
|
msg.setPaymentAccountList(value);
|
|
break;
|
|
case 12:
|
|
var value = new proto.io.bisq.protobuffer.AccountAgeWitnessStore;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AccountAgeWitnessStore.deserializeBinaryFromReader);
|
|
msg.setAccountAgeWitnessStore(value);
|
|
break;
|
|
case 13:
|
|
var value = new proto.io.bisq.protobuffer.TradeStatistics2Store;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeStatistics2Store.deserializeBinaryFromReader);
|
|
msg.setTradeStatistics2Store(value);
|
|
break;
|
|
case 15:
|
|
var value = new proto.io.bisq.protobuffer.SignedWitnessStore;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SignedWitnessStore.deserializeBinaryFromReader);
|
|
msg.setSignedWitnessStore(value);
|
|
break;
|
|
case 16:
|
|
var value = new proto.io.bisq.protobuffer.MediationDisputeList;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MediationDisputeList.deserializeBinaryFromReader);
|
|
msg.setMediationDisputeList(value);
|
|
break;
|
|
case 17:
|
|
var value = new proto.io.bisq.protobuffer.RefundDisputeList;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RefundDisputeList.deserializeBinaryFromReader);
|
|
msg.setRefundDisputeList(value);
|
|
break;
|
|
case 18:
|
|
var value = new proto.io.bisq.protobuffer.TradeStatistics3Store;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeStatistics3Store.deserializeBinaryFromReader);
|
|
msg.setTradeStatistics3Store(value);
|
|
break;
|
|
case 19:
|
|
var value = new proto.io.bisq.protobuffer.MailboxMessageList;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MailboxMessageList.deserializeBinaryFromReader);
|
|
msg.setMailboxMessageList(value);
|
|
break;
|
|
case 20:
|
|
var value = new proto.io.bisq.protobuffer.IgnoredMailboxMap;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.IgnoredMailboxMap.deserializeBinaryFromReader);
|
|
msg.setIgnoredMailboxMap(value);
|
|
break;
|
|
case 21:
|
|
var value = new proto.io.bisq.protobuffer.RemovedPayloadsMap;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RemovedPayloadsMap.deserializeBinaryFromReader);
|
|
msg.setRemovedPayloadsMap(value);
|
|
break;
|
|
case 1001:
|
|
var value = new proto.io.bisq.protobuffer.XmrAddressEntryList;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.XmrAddressEntryList.deserializeBinaryFromReader);
|
|
msg.setXmrAddressEntryList(value);
|
|
break;
|
|
case 1002:
|
|
var value = new proto.io.bisq.protobuffer.SignedOfferList;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SignedOfferList.deserializeBinaryFromReader);
|
|
msg.setSignedOfferList(value);
|
|
break;
|
|
case 1003:
|
|
var value = new proto.io.bisq.protobuffer.EncryptedConnectionList;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.EncryptedConnectionList.deserializeBinaryFromReader);
|
|
msg.setEncryptedConnectionList(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.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.PersistableEnvelope} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getSequenceNumberMap();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPersistedEntryMap();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.PersistedEntryMap.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPeerList();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.PeerList.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAddressEntryList();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.AddressEntryList.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getNavigationPath();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
5,
|
|
f,
|
|
proto.io.bisq.protobuffer.NavigationPath.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTradableList();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradableList.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getArbitrationDisputeList();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
8,
|
|
f,
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPreferencesPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
9,
|
|
f,
|
|
proto.io.bisq.protobuffer.PreferencesPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUserPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.UserPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPaymentAccountList();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
11,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccountList.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAccountAgeWitnessStore();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
12,
|
|
f,
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTradeStatistics2Store();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
13,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSignedWitnessStore();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
15,
|
|
f,
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMediationDisputeList();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
16,
|
|
f,
|
|
proto.io.bisq.protobuffer.MediationDisputeList.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRefundDisputeList();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
17,
|
|
f,
|
|
proto.io.bisq.protobuffer.RefundDisputeList.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTradeStatistics3Store();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
18,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMailboxMessageList();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
19,
|
|
f,
|
|
proto.io.bisq.protobuffer.MailboxMessageList.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getIgnoredMailboxMap();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
20,
|
|
f,
|
|
proto.io.bisq.protobuffer.IgnoredMailboxMap.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRemovedPayloadsMap();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
21,
|
|
f,
|
|
proto.io.bisq.protobuffer.RemovedPayloadsMap.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getXmrAddressEntryList();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1001,
|
|
f,
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSignedOfferList();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1002,
|
|
f,
|
|
proto.io.bisq.protobuffer.SignedOfferList.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getEncryptedConnectionList();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1003,
|
|
f,
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SequenceNumberMap sequence_number_map = 1;
|
|
* @return {?proto.io.bisq.protobuffer.SequenceNumberMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getSequenceNumberMap = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SequenceNumberMap} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SequenceNumberMap, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SequenceNumberMap|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setSequenceNumberMap = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearSequenceNumberMap = function() {
|
|
return this.setSequenceNumberMap(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasSequenceNumberMap = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PersistedEntryMap persisted_entry_map = 2;
|
|
* @return {?proto.io.bisq.protobuffer.PersistedEntryMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getPersistedEntryMap = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PersistedEntryMap} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PersistedEntryMap, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PersistedEntryMap|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setPersistedEntryMap = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 2, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearPersistedEntryMap = function() {
|
|
return this.setPersistedEntryMap(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasPersistedEntryMap = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PeerList peer_list = 3;
|
|
* @return {?proto.io.bisq.protobuffer.PeerList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getPeerList = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PeerList} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PeerList, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PeerList|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setPeerList = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 3, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearPeerList = function() {
|
|
return this.setPeerList(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasPeerList = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AddressEntryList address_entry_list = 4;
|
|
* @return {?proto.io.bisq.protobuffer.AddressEntryList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getAddressEntryList = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AddressEntryList} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AddressEntryList, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AddressEntryList|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setAddressEntryList = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 4, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearAddressEntryList = function() {
|
|
return this.setAddressEntryList(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasAddressEntryList = function() {
|
|
return jspb.Message.getField(this, 4) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NavigationPath navigation_path = 5;
|
|
* @return {?proto.io.bisq.protobuffer.NavigationPath}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getNavigationPath = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NavigationPath} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NavigationPath, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NavigationPath|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setNavigationPath = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 5, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearNavigationPath = function() {
|
|
return this.setNavigationPath(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasNavigationPath = function() {
|
|
return jspb.Message.getField(this, 5) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TradableList tradable_list = 6;
|
|
* @return {?proto.io.bisq.protobuffer.TradableList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getTradableList = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TradableList} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradableList, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TradableList|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setTradableList = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 6, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearTradableList = function() {
|
|
return this.setTradableList(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasTradableList = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ArbitrationDisputeList arbitration_dispute_list = 8;
|
|
* @return {?proto.io.bisq.protobuffer.ArbitrationDisputeList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getArbitrationDisputeList = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ArbitrationDisputeList} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ArbitrationDisputeList, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ArbitrationDisputeList|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setArbitrationDisputeList = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 8, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearArbitrationDisputeList = function() {
|
|
return this.setArbitrationDisputeList(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasArbitrationDisputeList = function() {
|
|
return jspb.Message.getField(this, 8) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PreferencesPayload preferences_payload = 9;
|
|
* @return {?proto.io.bisq.protobuffer.PreferencesPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getPreferencesPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PreferencesPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PreferencesPayload, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PreferencesPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setPreferencesPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 9, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearPreferencesPayload = function() {
|
|
return this.setPreferencesPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasPreferencesPayload = function() {
|
|
return jspb.Message.getField(this, 9) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional UserPayload user_payload = 10;
|
|
* @return {?proto.io.bisq.protobuffer.UserPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getUserPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.UserPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.UserPayload, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.UserPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setUserPayload = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 10, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearUserPayload = function() {
|
|
return this.setUserPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasUserPayload = function() {
|
|
return jspb.Message.getField(this, 10) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentAccountList payment_account_list = 11;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentAccountList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getPaymentAccountList = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentAccountList} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccountList, 11));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentAccountList|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setPaymentAccountList = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 11, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearPaymentAccountList = function() {
|
|
return this.setPaymentAccountList(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasPaymentAccountList = function() {
|
|
return jspb.Message.getField(this, 11) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AccountAgeWitnessStore account_age_witness_store = 12;
|
|
* @return {?proto.io.bisq.protobuffer.AccountAgeWitnessStore}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getAccountAgeWitnessStore = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AccountAgeWitnessStore} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AccountAgeWitnessStore, 12));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AccountAgeWitnessStore|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setAccountAgeWitnessStore = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 12, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearAccountAgeWitnessStore = function() {
|
|
return this.setAccountAgeWitnessStore(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasAccountAgeWitnessStore = function() {
|
|
return jspb.Message.getField(this, 12) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TradeStatistics2Store trade_statistics2_store = 13;
|
|
* @return {?proto.io.bisq.protobuffer.TradeStatistics2Store}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getTradeStatistics2Store = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TradeStatistics2Store} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradeStatistics2Store, 13));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TradeStatistics2Store|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setTradeStatistics2Store = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 13, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearTradeStatistics2Store = function() {
|
|
return this.setTradeStatistics2Store(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasTradeStatistics2Store = function() {
|
|
return jspb.Message.getField(this, 13) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SignedWitnessStore signed_witness_store = 15;
|
|
* @return {?proto.io.bisq.protobuffer.SignedWitnessStore}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getSignedWitnessStore = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SignedWitnessStore} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SignedWitnessStore, 15));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SignedWitnessStore|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setSignedWitnessStore = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 15, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearSignedWitnessStore = function() {
|
|
return this.setSignedWitnessStore(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasSignedWitnessStore = function() {
|
|
return jspb.Message.getField(this, 15) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional MediationDisputeList mediation_dispute_list = 16;
|
|
* @return {?proto.io.bisq.protobuffer.MediationDisputeList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getMediationDisputeList = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.MediationDisputeList} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.MediationDisputeList, 16));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.MediationDisputeList|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setMediationDisputeList = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 16, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearMediationDisputeList = function() {
|
|
return this.setMediationDisputeList(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasMediationDisputeList = function() {
|
|
return jspb.Message.getField(this, 16) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional RefundDisputeList refund_dispute_list = 17;
|
|
* @return {?proto.io.bisq.protobuffer.RefundDisputeList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getRefundDisputeList = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.RefundDisputeList} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.RefundDisputeList, 17));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.RefundDisputeList|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setRefundDisputeList = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 17, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearRefundDisputeList = function() {
|
|
return this.setRefundDisputeList(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasRefundDisputeList = function() {
|
|
return jspb.Message.getField(this, 17) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TradeStatistics3Store trade_statistics3_store = 18;
|
|
* @return {?proto.io.bisq.protobuffer.TradeStatistics3Store}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getTradeStatistics3Store = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TradeStatistics3Store} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradeStatistics3Store, 18));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TradeStatistics3Store|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setTradeStatistics3Store = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 18, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearTradeStatistics3Store = function() {
|
|
return this.setTradeStatistics3Store(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasTradeStatistics3Store = function() {
|
|
return jspb.Message.getField(this, 18) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional MailboxMessageList mailbox_message_list = 19;
|
|
* @return {?proto.io.bisq.protobuffer.MailboxMessageList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getMailboxMessageList = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.MailboxMessageList} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.MailboxMessageList, 19));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.MailboxMessageList|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setMailboxMessageList = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 19, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearMailboxMessageList = function() {
|
|
return this.setMailboxMessageList(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasMailboxMessageList = function() {
|
|
return jspb.Message.getField(this, 19) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional IgnoredMailboxMap ignored_mailbox_map = 20;
|
|
* @return {?proto.io.bisq.protobuffer.IgnoredMailboxMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getIgnoredMailboxMap = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.IgnoredMailboxMap} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.IgnoredMailboxMap, 20));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.IgnoredMailboxMap|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setIgnoredMailboxMap = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 20, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearIgnoredMailboxMap = function() {
|
|
return this.setIgnoredMailboxMap(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasIgnoredMailboxMap = function() {
|
|
return jspb.Message.getField(this, 20) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional RemovedPayloadsMap removed_payloads_map = 21;
|
|
* @return {?proto.io.bisq.protobuffer.RemovedPayloadsMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getRemovedPayloadsMap = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.RemovedPayloadsMap} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.RemovedPayloadsMap, 21));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.RemovedPayloadsMap|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setRemovedPayloadsMap = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 21, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearRemovedPayloadsMap = function() {
|
|
return this.setRemovedPayloadsMap(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasRemovedPayloadsMap = function() {
|
|
return jspb.Message.getField(this, 21) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional XmrAddressEntryList xmr_address_entry_list = 1001;
|
|
* @return {?proto.io.bisq.protobuffer.XmrAddressEntryList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getXmrAddressEntryList = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.XmrAddressEntryList} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.XmrAddressEntryList, 1001));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.XmrAddressEntryList|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setXmrAddressEntryList = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1001, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearXmrAddressEntryList = function() {
|
|
return this.setXmrAddressEntryList(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasXmrAddressEntryList = function() {
|
|
return jspb.Message.getField(this, 1001) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SignedOfferList signed_offer_list = 1002;
|
|
* @return {?proto.io.bisq.protobuffer.SignedOfferList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getSignedOfferList = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SignedOfferList} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SignedOfferList, 1002));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SignedOfferList|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setSignedOfferList = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1002, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearSignedOfferList = function() {
|
|
return this.setSignedOfferList(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasSignedOfferList = function() {
|
|
return jspb.Message.getField(this, 1002) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional EncryptedConnectionList encrypted_connection_list = 1003;
|
|
* @return {?proto.io.bisq.protobuffer.EncryptedConnectionList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.getEncryptedConnectionList = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.EncryptedConnectionList} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.EncryptedConnectionList, 1003));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.EncryptedConnectionList|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.setEncryptedConnectionList = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1003, proto.io.bisq.protobuffer.PersistableEnvelope.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PersistableEnvelope} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.clearEncryptedConnectionList = function() {
|
|
return this.setEncryptedConnectionList(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistableEnvelope.prototype.hasEncryptedConnectionList = function() {
|
|
return jspb.Message.getField(this, 1003) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.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_<name>, 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.SequenceNumberMap.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SequenceNumberMap.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.SequenceNumberMap} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
sequenceNumberEntriesList: jspb.Message.toObjectList(msg.getSequenceNumberEntriesList(),
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.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.SequenceNumberMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SequenceNumberMap;
|
|
return proto.io.bisq.protobuffer.SequenceNumberMap.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SequenceNumberMap} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SequenceNumberMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.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.SequenceNumberEntry;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SequenceNumberEntry.deserializeBinaryFromReader);
|
|
msg.addSequenceNumberEntries(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.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.SequenceNumberMap} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getSequenceNumberEntriesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated SequenceNumberEntry sequence_number_entries = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.SequenceNumberEntry>}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.prototype.getSequenceNumberEntriesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.SequenceNumberEntry>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.SequenceNumberEntry, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.SequenceNumberEntry>} value
|
|
* @return {!proto.io.bisq.protobuffer.SequenceNumberMap} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.prototype.setSequenceNumberEntriesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.SequenceNumberEntry=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.SequenceNumberEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.prototype.addSequenceNumberEntries = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.SequenceNumberEntry, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.SequenceNumberMap} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberMap.prototype.clearSequenceNumberEntriesList = function() {
|
|
return this.setSequenceNumberEntriesList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.SequenceNumberEntry.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SequenceNumberEntry.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.SequenceNumberEntry} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
bytes: (f = msg.getBytes()) && proto.io.bisq.protobuffer.ByteArray.toObject(includeInstance, f),
|
|
mapValue: (f = msg.getMapValue()) && proto.io.bisq.protobuffer.MapValue.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.SequenceNumberEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SequenceNumberEntry;
|
|
return proto.io.bisq.protobuffer.SequenceNumberEntry.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SequenceNumberEntry} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SequenceNumberEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.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.ByteArray;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ByteArray.deserializeBinaryFromReader);
|
|
msg.setBytes(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.MapValue;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MapValue.deserializeBinaryFromReader);
|
|
msg.setMapValue(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.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.SequenceNumberEntry} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getBytes();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.ByteArray.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMapValue();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.MapValue.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ByteArray bytes = 1;
|
|
* @return {?proto.io.bisq.protobuffer.ByteArray}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.prototype.getBytes = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ByteArray} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ByteArray, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ByteArray|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.SequenceNumberEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.prototype.setBytes = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.SequenceNumberEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.prototype.clearBytes = function() {
|
|
return this.setBytes(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.prototype.hasBytes = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional MapValue map_value = 2;
|
|
* @return {?proto.io.bisq.protobuffer.MapValue}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.prototype.getMapValue = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.MapValue} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.MapValue, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.MapValue|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.SequenceNumberEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.prototype.setMapValue = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.SequenceNumberEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.prototype.clearMapValue = function() {
|
|
return this.setMapValue(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.SequenceNumberEntry.prototype.hasMapValue = 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_<name>, 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.ByteArray.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.ByteArray.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.ByteArray} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ByteArray.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
bytes: msg.getBytes_asB64()
|
|
};
|
|
|
|
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.ByteArray}
|
|
*/
|
|
proto.io.bisq.protobuffer.ByteArray.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.ByteArray;
|
|
return proto.io.bisq.protobuffer.ByteArray.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.ByteArray} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.ByteArray}
|
|
*/
|
|
proto.io.bisq.protobuffer.ByteArray.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setBytes(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ByteArray.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.ByteArray.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.ByteArray} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ByteArray.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getBytes_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes bytes = 1;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.ByteArray.prototype.getBytes = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes bytes = 1;
|
|
* This is a type-conversion wrapper around `getBytes()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ByteArray.prototype.getBytes_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes bytes = 1;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getBytes()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ByteArray.prototype.getBytes_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getBytes()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.ByteArray} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ByteArray.prototype.setBytes = function(value) {
|
|
return jspb.Message.setProto3BytesField(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_<name>, 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.MapValue.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MapValue.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.MapValue} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MapValue.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
sequenceNr: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
timeStamp: 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.MapValue}
|
|
*/
|
|
proto.io.bisq.protobuffer.MapValue.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MapValue;
|
|
return proto.io.bisq.protobuffer.MapValue.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MapValue} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MapValue}
|
|
*/
|
|
proto.io.bisq.protobuffer.MapValue.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setSequenceNr(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTimeStamp(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MapValue.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MapValue.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.MapValue} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MapValue.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getSequenceNr();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTimeStamp();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 sequence_nr = 1;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.MapValue.prototype.getSequenceNr = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.MapValue} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MapValue.prototype.setSequenceNr = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 time_stamp = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.MapValue.prototype.getTimeStamp = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.MapValue} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MapValue.prototype.setTimeStamp = 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_<name>, 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.PersistedEntryMap.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PersistedEntryMap.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.PersistedEntryMap} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistedEntryMap.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
persistedEntryMapMap: (f = msg.getPersistedEntryMapMap()) ? f.toObject(includeInstance, proto.io.bisq.protobuffer.ProtectedStorageEntry.toObject) : []
|
|
};
|
|
|
|
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.PersistedEntryMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistedEntryMap.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PersistedEntryMap;
|
|
return proto.io.bisq.protobuffer.PersistedEntryMap.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PersistedEntryMap} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PersistedEntryMap}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistedEntryMap.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = msg.getPersistedEntryMapMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.io.bisq.protobuffer.ProtectedStorageEntry.deserializeBinaryFromReader, "", new proto.io.bisq.protobuffer.ProtectedStorageEntry());
|
|
});
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistedEntryMap.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PersistedEntryMap.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.PersistedEntryMap} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistedEntryMap.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPersistedEntryMapMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.io.bisq.protobuffer.ProtectedStorageEntry.serializeBinaryToWriter);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, ProtectedStorageEntry> persisted_entry_map = 1;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,!proto.io.bisq.protobuffer.ProtectedStorageEntry>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistedEntryMap.prototype.getPersistedEntryMapMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,!proto.io.bisq.protobuffer.ProtectedStorageEntry>} */ (
|
|
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
proto.io.bisq.protobuffer.ProtectedStorageEntry));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PersistedEntryMap} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PersistedEntryMap.prototype.clearPersistedEntryMapMap = function() {
|
|
this.getPersistedEntryMapMap().clear();
|
|
return this;};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.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_<name>, 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.AccountAgeWitnessStore.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AccountAgeWitnessStore.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.AccountAgeWitnessStore} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.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.AccountAgeWitnessStore}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AccountAgeWitnessStore;
|
|
return proto.io.bisq.protobuffer.AccountAgeWitnessStore.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AccountAgeWitnessStore} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AccountAgeWitnessStore}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.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.AccountAgeWitness;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AccountAgeWitness.deserializeBinaryFromReader);
|
|
msg.addItems(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.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.AccountAgeWitnessStore} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getItemsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated AccountAgeWitness items = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.AccountAgeWitness>}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.prototype.getItemsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.AccountAgeWitness>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.AccountAgeWitness, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.AccountAgeWitness>} value
|
|
* @return {!proto.io.bisq.protobuffer.AccountAgeWitnessStore} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.prototype.setItemsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.AccountAgeWitness=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.AccountAgeWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.prototype.addItems = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.AccountAgeWitness, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.AccountAgeWitnessStore} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AccountAgeWitnessStore.prototype.clearItemsList = function() {
|
|
return this.setItemsList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.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_<name>, 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.SignedWitnessStore.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SignedWitnessStore.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.SignedWitnessStore} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
proto.io.bisq.protobuffer.SignedWitness.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.SignedWitnessStore}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SignedWitnessStore;
|
|
return proto.io.bisq.protobuffer.SignedWitnessStore.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SignedWitnessStore} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitnessStore}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.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.SignedWitness;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SignedWitness.deserializeBinaryFromReader);
|
|
msg.addItems(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.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.SignedWitnessStore} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getItemsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.SignedWitness.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated SignedWitness items = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.SignedWitness>}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.prototype.getItemsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.SignedWitness>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.SignedWitness, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.SignedWitness>} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitnessStore} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.prototype.setItemsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.SignedWitness=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.prototype.addItems = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.SignedWitness, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.SignedWitnessStore} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedWitnessStore.prototype.clearItemsList = function() {
|
|
return this.setItemsList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.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_<name>, 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.TradeStatistics2Store.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.TradeStatistics2Store.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.TradeStatistics2Store} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
proto.io.bisq.protobuffer.TradeStatistics2.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.TradeStatistics2Store}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.TradeStatistics2Store;
|
|
return proto.io.bisq.protobuffer.TradeStatistics2Store.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.TradeStatistics2Store} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2Store}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.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.TradeStatistics2;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeStatistics2.deserializeBinaryFromReader);
|
|
msg.addItems(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.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.TradeStatistics2Store} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getItemsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeStatistics2.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated TradeStatistics2 items = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.TradeStatistics2>}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.prototype.getItemsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.TradeStatistics2>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.TradeStatistics2, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.TradeStatistics2>} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2Store} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.prototype.setItemsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.TradeStatistics2=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.prototype.addItems = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.TradeStatistics2, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics2Store} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics2Store.prototype.clearItemsList = function() {
|
|
return this.setItemsList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.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_<name>, 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.TradeStatistics3Store.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.TradeStatistics3Store.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.TradeStatistics3Store} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
proto.io.bisq.protobuffer.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.TradeStatistics3Store}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.TradeStatistics3Store;
|
|
return proto.io.bisq.protobuffer.TradeStatistics3Store.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.TradeStatistics3Store} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3Store}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.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.TradeStatistics3;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeStatistics3.deserializeBinaryFromReader);
|
|
msg.addItems(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.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.TradeStatistics3Store} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getItemsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeStatistics3.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated TradeStatistics3 items = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.TradeStatistics3>}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.prototype.getItemsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.TradeStatistics3>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.TradeStatistics3, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.TradeStatistics3>} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeStatistics3Store} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.prototype.setItemsList = 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.TradeStatistics3Store.prototype.addItems = 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.TradeStatistics3Store} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeStatistics3Store.prototype.clearItemsList = function() {
|
|
return this.setItemsList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerList.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_<name>, 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.PeerList.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PeerList.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.PeerList} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerList.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
peerList: jspb.Message.toObjectList(msg.getPeerList(),
|
|
proto.io.bisq.protobuffer.Peer.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.PeerList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerList.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PeerList;
|
|
return proto.io.bisq.protobuffer.PeerList.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PeerList} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PeerList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerList.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.Peer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Peer.deserializeBinaryFromReader);
|
|
msg.addPeer(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerList.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PeerList.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.PeerList} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerList.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPeerList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Peer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Peer peer = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Peer>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerList.prototype.getPeerList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Peer>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Peer, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Peer>} value
|
|
* @return {!proto.io.bisq.protobuffer.PeerList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerList.prototype.setPeerList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Peer=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Peer}
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerList.prototype.addPeer = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.Peer, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PeerList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PeerList.prototype.clearPeerList = function() {
|
|
return this.setPeerList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntryList.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_<name>, 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.AddressEntryList.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AddressEntryList.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.AddressEntryList} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntryList.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
addressEntryList: jspb.Message.toObjectList(msg.getAddressEntryList(),
|
|
proto.io.bisq.protobuffer.AddressEntry.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.AddressEntryList}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntryList.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AddressEntryList;
|
|
return proto.io.bisq.protobuffer.AddressEntryList.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AddressEntryList} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntryList}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntryList.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.AddressEntry;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AddressEntry.deserializeBinaryFromReader);
|
|
msg.addAddressEntry(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntryList.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AddressEntryList.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.AddressEntryList} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntryList.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAddressEntryList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.AddressEntry.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated AddressEntry address_entry = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.AddressEntry>}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntryList.prototype.getAddressEntryList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.AddressEntry>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.AddressEntry, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.AddressEntry>} value
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntryList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntryList.prototype.setAddressEntryList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.AddressEntry=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntryList.prototype.addAddressEntry = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.AddressEntry, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntryList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntryList.prototype.clearAddressEntryList = function() {
|
|
return this.setAddressEntryList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.AddressEntry.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AddressEntry.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.AddressEntry} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
offerId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
context: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
pubKey: msg.getPubKey_asB64(),
|
|
pubKeyHash: msg.getPubKeyHash_asB64(),
|
|
coinLockedInMultiSig: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
segwit: jspb.Message.getBooleanFieldWithDefault(msg, 12, 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.AddressEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AddressEntry;
|
|
return proto.io.bisq.protobuffer.AddressEntry.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AddressEntry} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setOfferId(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.AddressEntry.Context} */ (reader.readEnum());
|
|
msg.setContext(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setPubKey(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setPubKeyHash(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCoinLockedInMultiSig(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setSegwit(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AddressEntry.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.AddressEntry} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getOfferId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContext();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPubKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPubKeyHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCoinLockedInMultiSig();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSegwit();
|
|
if (f) {
|
|
writer.writeBool(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.Context = {
|
|
PB_ERROR: 0,
|
|
ARBITRATOR: 1,
|
|
AVAILABLE: 2,
|
|
OFFER_FUNDING: 3,
|
|
RESERVED_FOR_TRADE: 4,
|
|
MULTI_SIG: 5,
|
|
TRADE_PAYOUT: 6
|
|
};
|
|
|
|
/**
|
|
* optional string offer_id = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.getOfferId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.setOfferId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Context context = 8;
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntry.Context}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.getContext = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.AddressEntry.Context} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.AddressEntry.Context} value
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.setContext = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes pub_key = 9;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.getPubKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes pub_key = 9;
|
|
* This is a type-conversion wrapper around `getPubKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.getPubKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes pub_key = 9;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getPubKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.getPubKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.setPubKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes pub_key_hash = 10;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.getPubKeyHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes pub_key_hash = 10;
|
|
* This is a type-conversion wrapper around `getPubKeyHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.getPubKeyHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getPubKeyHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes pub_key_hash = 10;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getPubKeyHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.getPubKeyHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getPubKeyHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.setPubKeyHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 coin_locked_in_multi_sig = 11;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.getCoinLockedInMultiSig = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.setCoinLockedInMultiSig = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool segwit = 12;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.getSegwit = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.AddressEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AddressEntry.prototype.setSegwit = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.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_<name>, 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.XmrAddressEntryList.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.XmrAddressEntryList.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.XmrAddressEntryList} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
xmrAddressEntryList: jspb.Message.toObjectList(msg.getXmrAddressEntryList(),
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.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.XmrAddressEntryList}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.XmrAddressEntryList;
|
|
return proto.io.bisq.protobuffer.XmrAddressEntryList.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.XmrAddressEntryList} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.XmrAddressEntryList}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.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.XmrAddressEntry;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.XmrAddressEntry.deserializeBinaryFromReader);
|
|
msg.addXmrAddressEntry(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.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.XmrAddressEntryList} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getXmrAddressEntryList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated XmrAddressEntry xmr_address_entry = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.XmrAddressEntry>}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.prototype.getXmrAddressEntryList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.XmrAddressEntry>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.XmrAddressEntry, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.XmrAddressEntry>} value
|
|
* @return {!proto.io.bisq.protobuffer.XmrAddressEntryList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.prototype.setXmrAddressEntryList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.XmrAddressEntry=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.XmrAddressEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.prototype.addXmrAddressEntry = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.XmrAddressEntry, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.XmrAddressEntryList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntryList.prototype.clearXmrAddressEntryList = function() {
|
|
return this.setXmrAddressEntryList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.XmrAddressEntry.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.XmrAddressEntry.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.XmrAddressEntry} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
subaddressIndex: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
addressString: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
offerId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
context: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
coinLockedInMultiSig: jspb.Message.getFieldWithDefault(msg, 11, 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.XmrAddressEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.XmrAddressEntry;
|
|
return proto.io.bisq.protobuffer.XmrAddressEntry.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.XmrAddressEntry} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.XmrAddressEntry}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 7:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setSubaddressIndex(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAddressString(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setOfferId(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.XmrAddressEntry.Context} */ (reader.readEnum());
|
|
msg.setContext(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCoinLockedInMultiSig(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.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.XmrAddressEntry} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getSubaddressIndex();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAddressString();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOfferId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContext();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCoinLockedInMultiSig();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.Context = {
|
|
PB_ERROR: 0,
|
|
ARBITRATOR: 1,
|
|
AVAILABLE: 2,
|
|
OFFER_FUNDING: 3,
|
|
RESERVED_FOR_TRADE: 4,
|
|
MULTI_SIG: 5,
|
|
TRADE_PAYOUT: 6
|
|
};
|
|
|
|
/**
|
|
* optional int32 subaddress_index = 7;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.prototype.getSubaddressIndex = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.XmrAddressEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.prototype.setSubaddressIndex = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string address_string = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.prototype.getAddressString = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.XmrAddressEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.prototype.setAddressString = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string offer_id = 9;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.prototype.getOfferId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.XmrAddressEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.prototype.setOfferId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Context context = 10;
|
|
* @return {!proto.io.bisq.protobuffer.XmrAddressEntry.Context}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.prototype.getContext = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.XmrAddressEntry.Context} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.XmrAddressEntry.Context} value
|
|
* @return {!proto.io.bisq.protobuffer.XmrAddressEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.prototype.setContext = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 coin_locked_in_multi_sig = 11;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.prototype.getCoinLockedInMultiSig = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.XmrAddressEntry} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.XmrAddressEntry.prototype.setCoinLockedInMultiSig = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 11, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.NavigationPath.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_<name>, 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.NavigationPath.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.NavigationPath.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.NavigationPath} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NavigationPath.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
pathList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : 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.NavigationPath}
|
|
*/
|
|
proto.io.bisq.protobuffer.NavigationPath.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.NavigationPath;
|
|
return proto.io.bisq.protobuffer.NavigationPath.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.NavigationPath} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.NavigationPath}
|
|
*/
|
|
proto.io.bisq.protobuffer.NavigationPath.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.addPath(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.NavigationPath.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.NavigationPath.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.NavigationPath} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.NavigationPath.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPathList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string path = 1;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.NavigationPath.prototype.getPathList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.NavigationPath} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NavigationPath.prototype.setPathList = function(value) {
|
|
return jspb.Message.setField(this, 1, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.NavigationPath} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NavigationPath.prototype.addPath = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.NavigationPath} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.NavigationPath.prototype.clearPathList = function() {
|
|
return this.setPathList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountList.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_<name>, 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.PaymentAccountList.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PaymentAccountList.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.PaymentAccountList} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountList.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
paymentAccountList: jspb.Message.toObjectList(msg.getPaymentAccountList(),
|
|
proto.io.bisq.protobuffer.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.PaymentAccountList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountList.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PaymentAccountList;
|
|
return proto.io.bisq.protobuffer.PaymentAccountList.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccountList} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountList}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountList.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.PaymentAccount;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccount.deserializeBinaryFromReader);
|
|
msg.addPaymentAccount(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountList.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PaymentAccountList.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.PaymentAccountList} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountList.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPaymentAccountList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccount.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated PaymentAccount payment_account = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.PaymentAccount>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountList.prototype.getPaymentAccountList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.PaymentAccount>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.PaymentAccount, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.PaymentAccount>} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountList.prototype.setPaymentAccountList = 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.PaymentAccountList.prototype.addPaymentAccount = 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.PaymentAccountList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountList.prototype.clearPaymentAccountList = function() {
|
|
return this.setPaymentAccountList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.TradableList.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_<name>, 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.TradableList.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.TradableList.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.TradableList} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradableList.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
tradableList: jspb.Message.toObjectList(msg.getTradableList(),
|
|
proto.io.bisq.protobuffer.Tradable.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.TradableList}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradableList.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.TradableList;
|
|
return proto.io.bisq.protobuffer.TradableList.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.TradableList} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.TradableList}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradableList.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.Tradable;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Tradable.deserializeBinaryFromReader);
|
|
msg.addTradable(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradableList.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.TradableList.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.TradableList} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradableList.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTradableList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Tradable.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Tradable tradable = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Tradable>}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradableList.prototype.getTradableList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Tradable>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Tradable, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Tradable>} value
|
|
* @return {!proto.io.bisq.protobuffer.TradableList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradableList.prototype.setTradableList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Tradable=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Tradable}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradableList.prototype.addTradable = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.Tradable, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.TradableList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradableList.prototype.clearTradableList = function() {
|
|
return this.setTradableList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.Offer.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Offer.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.Offer} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Offer.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
offerPayload: (f = msg.getOfferPayload()) && proto.io.bisq.protobuffer.OfferPayload.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.Offer}
|
|
*/
|
|
proto.io.bisq.protobuffer.Offer.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Offer;
|
|
return proto.io.bisq.protobuffer.Offer.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Offer} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Offer}
|
|
*/
|
|
proto.io.bisq.protobuffer.Offer.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.OfferPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.OfferPayload.deserializeBinaryFromReader);
|
|
msg.setOfferPayload(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Offer.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Offer.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.Offer} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Offer.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getOfferPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.OfferPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Offer.State = {
|
|
PB_ERROR: 0,
|
|
UNKNOWN: 1,
|
|
OFFER_FEE_RESERVED: 2,
|
|
AVAILABLE: 3,
|
|
NOT_AVAILABLE: 4,
|
|
REMOVED: 5,
|
|
MAKER_OFFLINE: 6
|
|
};
|
|
|
|
/**
|
|
* optional OfferPayload offer_payload = 1;
|
|
* @return {?proto.io.bisq.protobuffer.OfferPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.Offer.prototype.getOfferPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.OfferPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OfferPayload, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.OfferPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Offer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Offer.prototype.setOfferPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Offer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Offer.prototype.clearOfferPayload = function() {
|
|
return this.setOfferPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Offer.prototype.hasOfferPayload = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOfferList.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_<name>, 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.SignedOfferList.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SignedOfferList.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.SignedOfferList} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOfferList.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
signedOfferList: jspb.Message.toObjectList(msg.getSignedOfferList(),
|
|
proto.io.bisq.protobuffer.SignedOffer.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.SignedOfferList}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOfferList.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SignedOfferList;
|
|
return proto.io.bisq.protobuffer.SignedOfferList.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SignedOfferList} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SignedOfferList}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOfferList.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.SignedOffer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SignedOffer.deserializeBinaryFromReader);
|
|
msg.addSignedOffer(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOfferList.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SignedOfferList.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.SignedOfferList} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOfferList.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getSignedOfferList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.SignedOffer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated SignedOffer signed_offer = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.SignedOffer>}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOfferList.prototype.getSignedOfferList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.SignedOffer>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.SignedOffer, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.SignedOffer>} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedOfferList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOfferList.prototype.setSignedOfferList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.SignedOffer=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOfferList.prototype.addSignedOffer = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.SignedOffer, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.SignedOfferList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOfferList.prototype.clearSignedOfferList = function() {
|
|
return this.setSignedOfferList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.repeatedFields_ = [7];
|
|
|
|
|
|
|
|
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_<name>, 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.SignedOffer.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SignedOffer.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.SignedOffer} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
timeStamp: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
offerId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
tradeAmount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
makerTradeFee: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
reserveTxHash: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
reserveTxHex: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
reserveTxKeyImagesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
reserveTxMinerFee: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
arbitratorSignature: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
};
|
|
|
|
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.SignedOffer}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SignedOffer;
|
|
return proto.io.bisq.protobuffer.SignedOffer.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SignedOffer} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTimeStamp(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setOfferId(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readUint64());
|
|
msg.setTradeAmount(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {number} */ (reader.readUint64());
|
|
msg.setMakerTradeFee(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxHash(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxHex(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addReserveTxKeyImages(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {number} */ (reader.readUint64());
|
|
msg.setReserveTxMinerFee(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setArbitratorSignature(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SignedOffer.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.SignedOffer} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTimeStamp();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOfferId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeAmount();
|
|
if (f !== 0) {
|
|
writer.writeUint64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerTradeFee();
|
|
if (f !== 0) {
|
|
writer.writeUint64(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxHash();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxKeyImagesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxMinerFee();
|
|
if (f !== 0) {
|
|
writer.writeUint64(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getArbitratorSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 time_stamp = 1;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.getTimeStamp = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.setTimeStamp = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string offer_id = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.getOfferId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.setOfferId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional uint64 trade_amount = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.getTradeAmount = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.setTradeAmount = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional uint64 maker_trade_fee = 4;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.getMakerTradeFee = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.setMakerTradeFee = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_hash = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.getReserveTxHash = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.setReserveTxHash = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_hex = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.getReserveTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.setReserveTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string reserve_tx_key_images = 7;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.getReserveTxKeyImagesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.setReserveTxKeyImagesList = function(value) {
|
|
return jspb.Message.setField(this, 7, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.addReserveTxKeyImages = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.clearReserveTxKeyImagesList = function() {
|
|
return this.setReserveTxKeyImagesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional uint64 reserve_tx_miner_fee = 8;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.getReserveTxMinerFee = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.setReserveTxMinerFee = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string arbitrator_signature = 9;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.getArbitratorSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.SignedOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SignedOffer.prototype.setArbitratorSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.repeatedFields_ = [5];
|
|
|
|
|
|
|
|
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_<name>, 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.OpenOffer.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.OpenOffer.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.OpenOffer} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
offer: (f = msg.getOffer()) && proto.io.bisq.protobuffer.Offer.toObject(includeInstance, f),
|
|
state: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
triggerPrice: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
autoSplit: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
scheduledTxHashesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
scheduledAmount: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
reserveTxHash: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
reserveTxHex: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
reserveTxKey: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
};
|
|
|
|
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.OpenOffer}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.OpenOffer;
|
|
return proto.io.bisq.protobuffer.OpenOffer.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.OpenOffer} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.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.Offer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Offer.deserializeBinaryFromReader);
|
|
msg.setOffer(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.OpenOffer.State} */ (reader.readEnum());
|
|
msg.setState(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTriggerPrice(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setAutoSplit(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addScheduledTxHashes(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setScheduledAmount(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxHash(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxHex(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxKey(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.OpenOffer.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.OpenOffer} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getOffer();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Offer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getState();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTriggerPrice();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAutoSplit();
|
|
if (f) {
|
|
writer.writeBool(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getScheduledTxHashesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getScheduledAmount();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxHash();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxKey();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.State = {
|
|
PB_ERROR: 0,
|
|
SCHEDULED: 1,
|
|
AVAILABLE: 2,
|
|
RESERVED: 3,
|
|
CLOSED: 4,
|
|
CANCELED: 5,
|
|
DEACTIVATED: 6
|
|
};
|
|
|
|
/**
|
|
* optional Offer offer = 1;
|
|
* @return {?proto.io.bisq.protobuffer.Offer}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.getOffer = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Offer} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Offer, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Offer|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.setOffer = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.clearOffer = function() {
|
|
return this.setOffer(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.hasOffer = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional State state = 2;
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer.State}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.getState = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.OpenOffer.State} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.OpenOffer.State} value
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.setState = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trigger_price = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.getTriggerPrice = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.setTriggerPrice = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool auto_split = 4;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.getAutoSplit = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.setAutoSplit = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string scheduled_tx_hashes = 5;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.getScheduledTxHashesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.setScheduledTxHashesList = function(value) {
|
|
return jspb.Message.setField(this, 5, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.addScheduledTxHashes = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.clearScheduledTxHashesList = function() {
|
|
return this.setScheduledTxHashesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string scheduled_amount = 6;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.getScheduledAmount = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.setScheduledAmount = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_hash = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.getReserveTxHash = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.setReserveTxHash = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_hex = 8;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.getReserveTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.setReserveTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_key = 9;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.getReserveTxKey = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.OpenOffer.prototype.setReserveTxKey = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* Oneof group definitions for this message. Each group defines the field
|
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
* @private {!Array<!Array<number>>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.oneofGroups_ = [[1,2,3,4,5,6,1001]];
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.MessageCase = {
|
|
MESSAGE_NOT_SET: 0,
|
|
OPEN_OFFER: 1,
|
|
BUYER_AS_MAKER_TRADE: 2,
|
|
BUYER_AS_TAKER_TRADE: 3,
|
|
SELLER_AS_MAKER_TRADE: 4,
|
|
SELLER_AS_TAKER_TRADE: 5,
|
|
ARBITRATOR_TRADE: 6,
|
|
SIGNED_OFFER: 1001
|
|
};
|
|
|
|
/**
|
|
* @return {proto.io.bisq.protobuffer.Tradable.MessageCase}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.getMessageCase = function() {
|
|
return /** @type {proto.io.bisq.protobuffer.Tradable.MessageCase} */(jspb.Message.computeOneofCase(this, proto.io.bisq.protobuffer.Tradable.oneofGroups_[0]));
|
|
};
|
|
|
|
|
|
|
|
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_<name>, 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.Tradable.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Tradable.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.Tradable} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
openOffer: (f = msg.getOpenOffer()) && proto.io.bisq.protobuffer.OpenOffer.toObject(includeInstance, f),
|
|
buyerAsMakerTrade: (f = msg.getBuyerAsMakerTrade()) && proto.io.bisq.protobuffer.BuyerAsMakerTrade.toObject(includeInstance, f),
|
|
buyerAsTakerTrade: (f = msg.getBuyerAsTakerTrade()) && proto.io.bisq.protobuffer.BuyerAsTakerTrade.toObject(includeInstance, f),
|
|
sellerAsMakerTrade: (f = msg.getSellerAsMakerTrade()) && proto.io.bisq.protobuffer.SellerAsMakerTrade.toObject(includeInstance, f),
|
|
sellerAsTakerTrade: (f = msg.getSellerAsTakerTrade()) && proto.io.bisq.protobuffer.SellerAsTakerTrade.toObject(includeInstance, f),
|
|
arbitratorTrade: (f = msg.getArbitratorTrade()) && proto.io.bisq.protobuffer.ArbitratorTrade.toObject(includeInstance, f),
|
|
signedOffer: (f = msg.getSignedOffer()) && proto.io.bisq.protobuffer.SignedOffer.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.Tradable}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Tradable;
|
|
return proto.io.bisq.protobuffer.Tradable.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Tradable} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Tradable}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.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.OpenOffer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.OpenOffer.deserializeBinaryFromReader);
|
|
msg.setOpenOffer(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.BuyerAsMakerTrade;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.BuyerAsMakerTrade.deserializeBinaryFromReader);
|
|
msg.setBuyerAsMakerTrade(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.BuyerAsTakerTrade;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.BuyerAsTakerTrade.deserializeBinaryFromReader);
|
|
msg.setBuyerAsTakerTrade(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.SellerAsMakerTrade;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SellerAsMakerTrade.deserializeBinaryFromReader);
|
|
msg.setSellerAsMakerTrade(value);
|
|
break;
|
|
case 5:
|
|
var value = new proto.io.bisq.protobuffer.SellerAsTakerTrade;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SellerAsTakerTrade.deserializeBinaryFromReader);
|
|
msg.setSellerAsTakerTrade(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.ArbitratorTrade;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ArbitratorTrade.deserializeBinaryFromReader);
|
|
msg.setArbitratorTrade(value);
|
|
break;
|
|
case 1001:
|
|
var value = new proto.io.bisq.protobuffer.SignedOffer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.SignedOffer.deserializeBinaryFromReader);
|
|
msg.setSignedOffer(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Tradable.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.Tradable} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getOpenOffer();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.OpenOffer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBuyerAsMakerTrade();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.BuyerAsMakerTrade.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBuyerAsTakerTrade();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.BuyerAsTakerTrade.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSellerAsMakerTrade();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.SellerAsMakerTrade.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSellerAsTakerTrade();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
5,
|
|
f,
|
|
proto.io.bisq.protobuffer.SellerAsTakerTrade.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getArbitratorTrade();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.ArbitratorTrade.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSignedOffer();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1001,
|
|
f,
|
|
proto.io.bisq.protobuffer.SignedOffer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional OpenOffer open_offer = 1;
|
|
* @return {?proto.io.bisq.protobuffer.OpenOffer}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.getOpenOffer = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.OpenOffer} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OpenOffer, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.OpenOffer|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.setOpenOffer = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1, proto.io.bisq.protobuffer.Tradable.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.clearOpenOffer = function() {
|
|
return this.setOpenOffer(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.hasOpenOffer = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional BuyerAsMakerTrade buyer_as_maker_trade = 2;
|
|
* @return {?proto.io.bisq.protobuffer.BuyerAsMakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.getBuyerAsMakerTrade = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.BuyerAsMakerTrade} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.BuyerAsMakerTrade, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.BuyerAsMakerTrade|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.setBuyerAsMakerTrade = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 2, proto.io.bisq.protobuffer.Tradable.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.clearBuyerAsMakerTrade = function() {
|
|
return this.setBuyerAsMakerTrade(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.hasBuyerAsMakerTrade = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional BuyerAsTakerTrade buyer_as_taker_trade = 3;
|
|
* @return {?proto.io.bisq.protobuffer.BuyerAsTakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.getBuyerAsTakerTrade = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.BuyerAsTakerTrade} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.BuyerAsTakerTrade, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.BuyerAsTakerTrade|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.setBuyerAsTakerTrade = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 3, proto.io.bisq.protobuffer.Tradable.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.clearBuyerAsTakerTrade = function() {
|
|
return this.setBuyerAsTakerTrade(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.hasBuyerAsTakerTrade = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SellerAsMakerTrade seller_as_maker_trade = 4;
|
|
* @return {?proto.io.bisq.protobuffer.SellerAsMakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.getSellerAsMakerTrade = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SellerAsMakerTrade} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SellerAsMakerTrade, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SellerAsMakerTrade|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.setSellerAsMakerTrade = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 4, proto.io.bisq.protobuffer.Tradable.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.clearSellerAsMakerTrade = function() {
|
|
return this.setSellerAsMakerTrade(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.hasSellerAsMakerTrade = function() {
|
|
return jspb.Message.getField(this, 4) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SellerAsTakerTrade seller_as_taker_trade = 5;
|
|
* @return {?proto.io.bisq.protobuffer.SellerAsTakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.getSellerAsTakerTrade = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SellerAsTakerTrade} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SellerAsTakerTrade, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SellerAsTakerTrade|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.setSellerAsTakerTrade = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 5, proto.io.bisq.protobuffer.Tradable.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.clearSellerAsTakerTrade = function() {
|
|
return this.setSellerAsTakerTrade(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.hasSellerAsTakerTrade = function() {
|
|
return jspb.Message.getField(this, 5) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ArbitratorTrade arbitrator_trade = 6;
|
|
* @return {?proto.io.bisq.protobuffer.ArbitratorTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.getArbitratorTrade = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ArbitratorTrade} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ArbitratorTrade, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ArbitratorTrade|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.setArbitratorTrade = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 6, proto.io.bisq.protobuffer.Tradable.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.clearArbitratorTrade = function() {
|
|
return this.setArbitratorTrade(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.hasArbitratorTrade = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional SignedOffer signed_offer = 1001;
|
|
* @return {?proto.io.bisq.protobuffer.SignedOffer}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.getSignedOffer = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.SignedOffer} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.SignedOffer, 1001));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.SignedOffer|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.setSignedOffer = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 1001, proto.io.bisq.protobuffer.Tradable.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Tradable} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.clearSignedOffer = function() {
|
|
return this.setSignedOffer(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Tradable.prototype.hasSignedOffer = function() {
|
|
return jspb.Message.getField(this, 1001) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.repeatedFields_ = [22];
|
|
|
|
|
|
|
|
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_<name>, 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.Trade.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Trade.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.Trade} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
offer: (f = msg.getOffer()) && proto.io.bisq.protobuffer.Offer.toObject(includeInstance, f),
|
|
processModel: (f = msg.getProcessModel()) && proto.io.bisq.protobuffer.ProcessModel.toObject(includeInstance, f),
|
|
payoutTxId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
payoutTxHex: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
payoutTxKey: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
amountAsLong: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
takerFeeAsLong: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
takeOfferDate: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
price: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
state: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
payoutState: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
disputeState: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
periodState: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
contract: (f = msg.getContract()) && proto.io.bisq.protobuffer.Contract.toObject(includeInstance, f),
|
|
contractAsJson: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
contractHash: msg.getContractHash_asB64(),
|
|
arbitratorNodeAddress: (f = msg.getArbitratorNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
mediatorNodeAddress: (f = msg.getMediatorNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
errorMessage: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
counterCurrencyTxId: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
chatMessageList: jspb.Message.toObjectList(msg.getChatMessageList(),
|
|
proto.io.bisq.protobuffer.ChatMessage.toObject, includeInstance),
|
|
mediationResultState: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
lockTime: jspb.Message.getFieldWithDefault(msg, 24, 0),
|
|
startTime: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
refundAgentNodeAddress: (f = msg.getRefundAgentNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
refundResultState: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
counterCurrencyExtraData: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
assetTxProofResult: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
uid: jspb.Message.getFieldWithDefault(msg, 30, "")
|
|
};
|
|
|
|
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.Trade}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Trade;
|
|
return proto.io.bisq.protobuffer.Trade.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Trade} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Trade}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.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.Offer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Offer.deserializeBinaryFromReader);
|
|
msg.setOffer(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.ProcessModel;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ProcessModel.deserializeBinaryFromReader);
|
|
msg.setProcessModel(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPayoutTxId(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPayoutTxHex(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPayoutTxKey(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setAmountAsLong(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTakerFeeAsLong(value);
|
|
break;
|
|
case 9:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTakeOfferDate(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setPrice(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.Trade.State} */ (reader.readEnum());
|
|
msg.setState(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.Trade.PayoutState} */ (reader.readEnum());
|
|
msg.setPayoutState(value);
|
|
break;
|
|
case 13:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.Trade.DisputeState} */ (reader.readEnum());
|
|
msg.setDisputeState(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.Trade.TradePeriodState} */ (reader.readEnum());
|
|
msg.setPeriodState(value);
|
|
break;
|
|
case 15:
|
|
var value = new proto.io.bisq.protobuffer.Contract;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Contract.deserializeBinaryFromReader);
|
|
msg.setContract(value);
|
|
break;
|
|
case 16:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setContractAsJson(value);
|
|
break;
|
|
case 17:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setContractHash(value);
|
|
break;
|
|
case 18:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setArbitratorNodeAddress(value);
|
|
break;
|
|
case 19:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setMediatorNodeAddress(value);
|
|
break;
|
|
case 20:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setErrorMessage(value);
|
|
break;
|
|
case 21:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCounterCurrencyTxId(value);
|
|
break;
|
|
case 22:
|
|
var value = new proto.io.bisq.protobuffer.ChatMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.ChatMessage.deserializeBinaryFromReader);
|
|
msg.addChatMessage(value);
|
|
break;
|
|
case 23:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.MediationResultState} */ (reader.readEnum());
|
|
msg.setMediationResultState(value);
|
|
break;
|
|
case 24:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setLockTime(value);
|
|
break;
|
|
case 25:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setStartTime(value);
|
|
break;
|
|
case 26:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setRefundAgentNodeAddress(value);
|
|
break;
|
|
case 27:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.RefundResultState} */ (reader.readEnum());
|
|
msg.setRefundResultState(value);
|
|
break;
|
|
case 28:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCounterCurrencyExtraData(value);
|
|
break;
|
|
case 29:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAssetTxProofResult(value);
|
|
break;
|
|
case 30:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Trade.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.Trade} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getOffer();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Offer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getProcessModel();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.ProcessModel.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPayoutTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayoutTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayoutTxKey();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAmountAsLong();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakerFeeAsLong();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakeOfferDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
9,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPrice();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getState();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayoutState();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDisputeState();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
13,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPeriodState();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContract();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
15,
|
|
f,
|
|
proto.io.bisq.protobuffer.Contract.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getContractAsJson();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
16,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContractHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
17,
|
|
f
|
|
);
|
|
}
|
|
f = message.getArbitratorNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
18,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMediatorNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
19,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getErrorMessage();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
20,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCounterCurrencyTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
21,
|
|
f
|
|
);
|
|
}
|
|
f = message.getChatMessageList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
22,
|
|
f,
|
|
proto.io.bisq.protobuffer.ChatMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMediationResultState();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
23,
|
|
f
|
|
);
|
|
}
|
|
f = message.getLockTime();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
24,
|
|
f
|
|
);
|
|
}
|
|
f = message.getStartTime();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
25,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRefundAgentNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
26,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRefundResultState();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
27,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCounterCurrencyExtraData();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
28,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAssetTxProofResult();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
29,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
30,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.State = {
|
|
PB_ERROR_STATE: 0,
|
|
PREPARATION: 1,
|
|
MULTISIG_PREPARED: 2,
|
|
MULTISIG_MADE: 3,
|
|
MULTISIG_EXCHANGED: 4,
|
|
MULTISIG_COMPLETED: 5,
|
|
CONTRACT_SIGNATURE_REQUESTED: 6,
|
|
CONTRACT_SIGNED: 7,
|
|
SENT_PUBLISH_DEPOSIT_TX_REQUEST: 8,
|
|
SEND_FAILED_PUBLISH_DEPOSIT_TX_REQUEST: 9,
|
|
SAW_ARRIVED_PUBLISH_DEPOSIT_TX_REQUEST: 10,
|
|
PUBLISH_DEPOSIT_TX_REQUEST_FAILED: 11,
|
|
ARBITRATOR_PUBLISHED_DEPOSIT_TXS: 12,
|
|
DEPOSIT_TXS_SEEN_IN_NETWORK: 13,
|
|
DEPOSIT_TXS_CONFIRMED_IN_BLOCKCHAIN: 14,
|
|
DEPOSIT_TXS_UNLOCKED_IN_BLOCKCHAIN: 15,
|
|
BUYER_CONFIRMED_IN_UI_PAYMENT_SENT: 16,
|
|
BUYER_SENT_PAYMENT_SENT_MSG: 17,
|
|
BUYER_SEND_FAILED_PAYMENT_SENT_MSG: 18,
|
|
BUYER_STORED_IN_MAILBOX_PAYMENT_SENT_MSG: 19,
|
|
BUYER_SAW_ARRIVED_PAYMENT_SENT_MSG: 20,
|
|
SELLER_RECEIVED_PAYMENT_SENT_MSG: 21,
|
|
SELLER_CONFIRMED_IN_UI_PAYMENT_RECEIPT: 22,
|
|
SELLER_SENT_PAYMENT_RECEIVED_MSG: 23,
|
|
SELLER_SEND_FAILED_PAYMENT_RECEIVED_MSG: 24,
|
|
SELLER_STORED_IN_MAILBOX_PAYMENT_RECEIVED_MSG: 25,
|
|
SELLER_SAW_ARRIVED_PAYMENT_RECEIVED_MSG: 26,
|
|
TRADE_COMPLETED: 27
|
|
};
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.Phase = {
|
|
PB_ERROR_PHASE: 0,
|
|
INIT: 1,
|
|
DEPOSIT_REQUESTED: 2,
|
|
DEPOSITS_PUBLISHED: 3,
|
|
DEPOSITS_CONFIRMED: 4,
|
|
DEPOSITS_UNLOCKED: 5,
|
|
PAYMENT_SENT: 6,
|
|
PAYMENT_RECEIVED: 7,
|
|
COMPLETED: 8
|
|
};
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.PayoutState = {
|
|
PAYOUT_UNPUBLISHED: 0,
|
|
PAYOUT_PUBLISHED: 1,
|
|
PAYOUT_CONFIRMED: 2,
|
|
PAYOUT_UNLOCKED: 3
|
|
};
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.DisputeState = {
|
|
PB_ERROR_DISPUTE_STATE: 0,
|
|
NO_DISPUTE: 1,
|
|
DISPUTE_REQUESTED: 2,
|
|
DISPUTE_OPENED: 3,
|
|
ARBITRATOR_SENT_DISPUTE_CLOSED_MSG: 4,
|
|
ARBITRATOR_SEND_FAILED_DISPUTE_CLOSED_MSG: 5,
|
|
ARBITRATOR_STORED_IN_MAILBOX_DISPUTE_CLOSED_MSG: 6,
|
|
ARBITRATOR_SAW_ARRIVED_DISPUTE_CLOSED_MSG: 7,
|
|
DISPUTE_CLOSED: 8,
|
|
MEDIATION_REQUESTED: 9,
|
|
MEDIATION_STARTED_BY_PEER: 10,
|
|
MEDIATION_CLOSED: 11,
|
|
REFUND_REQUESTED: 12,
|
|
REFUND_REQUEST_STARTED_BY_PEER: 13,
|
|
REFUND_REQUEST_CLOSED: 14
|
|
};
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.TradePeriodState = {
|
|
PB_ERROR_TRADE_PERIOD_STATE: 0,
|
|
FIRST_HALF: 1,
|
|
SECOND_HALF: 2,
|
|
TRADE_PERIOD_OVER: 3
|
|
};
|
|
|
|
/**
|
|
* optional Offer offer = 1;
|
|
* @return {?proto.io.bisq.protobuffer.Offer}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getOffer = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Offer} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Offer, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Offer|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setOffer = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.clearOffer = function() {
|
|
return this.setOffer(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.hasOffer = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional ProcessModel process_model = 2;
|
|
* @return {?proto.io.bisq.protobuffer.ProcessModel}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getProcessModel = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.ProcessModel} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ProcessModel, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.ProcessModel|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setProcessModel = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.clearProcessModel = function() {
|
|
return this.setProcessModel(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.hasProcessModel = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payout_tx_id = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getPayoutTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setPayoutTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payout_tx_hex = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getPayoutTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setPayoutTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payout_tx_key = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getPayoutTxKey = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setPayoutTxKey = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 amount_as_long = 6;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getAmountAsLong = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setAmountAsLong = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 taker_fee_as_long = 8;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getTakerFeeAsLong = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setTakerFeeAsLong = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 take_offer_date = 9;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getTakeOfferDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setTakeOfferDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 price = 10;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getPrice = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setPrice = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional State state = 11;
|
|
* @return {!proto.io.bisq.protobuffer.Trade.State}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getState = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.Trade.State} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Trade.State} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setState = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PayoutState payout_state = 12;
|
|
* @return {!proto.io.bisq.protobuffer.Trade.PayoutState}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getPayoutState = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.Trade.PayoutState} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Trade.PayoutState} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setPayoutState = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DisputeState dispute_state = 13;
|
|
* @return {!proto.io.bisq.protobuffer.Trade.DisputeState}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getDisputeState = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.Trade.DisputeState} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Trade.DisputeState} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setDisputeState = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TradePeriodState period_state = 14;
|
|
* @return {!proto.io.bisq.protobuffer.Trade.TradePeriodState}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getPeriodState = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.Trade.TradePeriodState} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Trade.TradePeriodState} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setPeriodState = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Contract contract = 15;
|
|
* @return {?proto.io.bisq.protobuffer.Contract}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getContract = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Contract} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Contract, 15));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Contract|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setContract = function(value) {
|
|
return jspb.Message.setWrapperField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.clearContract = function() {
|
|
return this.setContract(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.hasContract = function() {
|
|
return jspb.Message.getField(this, 15) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string contract_as_json = 16;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getContractAsJson = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setContractAsJson = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 16, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes contract_hash = 17;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getContractHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes contract_hash = 17;
|
|
* This is a type-conversion wrapper around `getContractHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getContractHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getContractHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes contract_hash = 17;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getContractHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getContractHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getContractHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setContractHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 17, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress arbitrator_node_address = 18;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getArbitratorNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 18));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setArbitratorNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 18, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.clearArbitratorNodeAddress = function() {
|
|
return this.setArbitratorNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.hasArbitratorNodeAddress = function() {
|
|
return jspb.Message.getField(this, 18) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress mediator_node_address = 19;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getMediatorNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 19));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setMediatorNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 19, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.clearMediatorNodeAddress = function() {
|
|
return this.setMediatorNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.hasMediatorNodeAddress = function() {
|
|
return jspb.Message.getField(this, 19) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string error_message = 20;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getErrorMessage = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setErrorMessage = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 20, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string counter_currency_tx_id = 21;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getCounterCurrencyTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setCounterCurrencyTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 21, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated ChatMessage chat_message = 22;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.ChatMessage>}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getChatMessageList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.ChatMessage>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.ChatMessage, 22));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.ChatMessage>} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setChatMessageList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 22, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.ChatMessage=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.ChatMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.addChatMessage = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 22, opt_value, proto.io.bisq.protobuffer.ChatMessage, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.clearChatMessageList = function() {
|
|
return this.setChatMessageList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional MediationResultState mediation_result_state = 23;
|
|
* @return {!proto.io.bisq.protobuffer.MediationResultState}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getMediationResultState = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.MediationResultState} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.MediationResultState} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setMediationResultState = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 23, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 lock_time = 24;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getLockTime = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setLockTime = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 24, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 start_time = 25;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getStartTime = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setStartTime = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 25, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress refund_agent_node_address = 26;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getRefundAgentNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 26));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setRefundAgentNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 26, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.clearRefundAgentNodeAddress = function() {
|
|
return this.setRefundAgentNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.hasRefundAgentNodeAddress = function() {
|
|
return jspb.Message.getField(this, 26) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional RefundResultState refund_result_state = 27;
|
|
* @return {!proto.io.bisq.protobuffer.RefundResultState}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getRefundResultState = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.RefundResultState} */ (jspb.Message.getFieldWithDefault(this, 27, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.RefundResultState} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setRefundResultState = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 27, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string counter_currency_extra_data = 28;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getCounterCurrencyExtraData = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setCounterCurrencyExtraData = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 28, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string asset_tx_proof_result = 29;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getAssetTxProofResult = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setAssetTxProofResult = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 29, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 30;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Trade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Trade.prototype.setUid = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 30, 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_<name>, 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.BuyerAsMakerTrade.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.BuyerAsMakerTrade.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.BuyerAsMakerTrade} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsMakerTrade.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
trade: (f = msg.getTrade()) && proto.io.bisq.protobuffer.Trade.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.BuyerAsMakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsMakerTrade.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.BuyerAsMakerTrade;
|
|
return proto.io.bisq.protobuffer.BuyerAsMakerTrade.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.BuyerAsMakerTrade} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.BuyerAsMakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsMakerTrade.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.Trade;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Trade.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.BuyerAsMakerTrade.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.BuyerAsMakerTrade.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.BuyerAsMakerTrade} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsMakerTrade.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTrade();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Trade.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Trade trade = 1;
|
|
* @return {?proto.io.bisq.protobuffer.Trade}
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsMakerTrade.prototype.getTrade = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Trade} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Trade, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Trade|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.BuyerAsMakerTrade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsMakerTrade.prototype.setTrade = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.BuyerAsMakerTrade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsMakerTrade.prototype.clearTrade = function() {
|
|
return this.setTrade(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsMakerTrade.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_<name>, 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.BuyerAsTakerTrade.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.BuyerAsTakerTrade.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.BuyerAsTakerTrade} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsTakerTrade.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
trade: (f = msg.getTrade()) && proto.io.bisq.protobuffer.Trade.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.BuyerAsTakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsTakerTrade.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.BuyerAsTakerTrade;
|
|
return proto.io.bisq.protobuffer.BuyerAsTakerTrade.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.BuyerAsTakerTrade} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.BuyerAsTakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsTakerTrade.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.Trade;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Trade.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.BuyerAsTakerTrade.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.BuyerAsTakerTrade.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.BuyerAsTakerTrade} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsTakerTrade.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTrade();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Trade.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Trade trade = 1;
|
|
* @return {?proto.io.bisq.protobuffer.Trade}
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsTakerTrade.prototype.getTrade = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Trade} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Trade, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Trade|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.BuyerAsTakerTrade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsTakerTrade.prototype.setTrade = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.BuyerAsTakerTrade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsTakerTrade.prototype.clearTrade = function() {
|
|
return this.setTrade(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.BuyerAsTakerTrade.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_<name>, 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.SellerAsMakerTrade.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SellerAsMakerTrade.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.SellerAsMakerTrade} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsMakerTrade.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
trade: (f = msg.getTrade()) && proto.io.bisq.protobuffer.Trade.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.SellerAsMakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsMakerTrade.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SellerAsMakerTrade;
|
|
return proto.io.bisq.protobuffer.SellerAsMakerTrade.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SellerAsMakerTrade} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SellerAsMakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsMakerTrade.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.Trade;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Trade.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.SellerAsMakerTrade.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SellerAsMakerTrade.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.SellerAsMakerTrade} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsMakerTrade.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTrade();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Trade.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Trade trade = 1;
|
|
* @return {?proto.io.bisq.protobuffer.Trade}
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsMakerTrade.prototype.getTrade = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Trade} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Trade, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Trade|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.SellerAsMakerTrade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsMakerTrade.prototype.setTrade = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.SellerAsMakerTrade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsMakerTrade.prototype.clearTrade = function() {
|
|
return this.setTrade(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsMakerTrade.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_<name>, 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.SellerAsTakerTrade.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.SellerAsTakerTrade.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.SellerAsTakerTrade} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsTakerTrade.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
trade: (f = msg.getTrade()) && proto.io.bisq.protobuffer.Trade.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.SellerAsTakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsTakerTrade.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.SellerAsTakerTrade;
|
|
return proto.io.bisq.protobuffer.SellerAsTakerTrade.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.SellerAsTakerTrade} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.SellerAsTakerTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsTakerTrade.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.Trade;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Trade.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.SellerAsTakerTrade.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.SellerAsTakerTrade.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.SellerAsTakerTrade} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsTakerTrade.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTrade();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Trade.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Trade trade = 1;
|
|
* @return {?proto.io.bisq.protobuffer.Trade}
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsTakerTrade.prototype.getTrade = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Trade} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Trade, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Trade|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.SellerAsTakerTrade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsTakerTrade.prototype.setTrade = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.SellerAsTakerTrade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsTakerTrade.prototype.clearTrade = function() {
|
|
return this.setTrade(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.SellerAsTakerTrade.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_<name>, 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.ArbitratorTrade.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.ArbitratorTrade.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.ArbitratorTrade} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitratorTrade.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
trade: (f = msg.getTrade()) && proto.io.bisq.protobuffer.Trade.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.ArbitratorTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitratorTrade.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.ArbitratorTrade;
|
|
return proto.io.bisq.protobuffer.ArbitratorTrade.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.ArbitratorTrade} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.ArbitratorTrade}
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitratorTrade.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.Trade;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Trade.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.ArbitratorTrade.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.ArbitratorTrade.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.ArbitratorTrade} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitratorTrade.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getTrade();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Trade.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Trade trade = 1;
|
|
* @return {?proto.io.bisq.protobuffer.Trade}
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitratorTrade.prototype.getTrade = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Trade} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Trade, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Trade|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ArbitratorTrade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitratorTrade.prototype.setTrade = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ArbitratorTrade} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitratorTrade.prototype.clearTrade = function() {
|
|
return this.setTrade(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitratorTrade.prototype.hasTrade = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.repeatedFields_ = [10];
|
|
|
|
|
|
|
|
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_<name>, 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.ProcessModel.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.ProcessModel.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.ProcessModel} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
offerId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
accountId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
pubKeyRing: (f = msg.getPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
takeOfferFeeTxId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
payoutTxSignature: msg.getPayoutTxSignature_asB64(),
|
|
rawTransactionInputsList: jspb.Message.toObjectList(msg.getRawTransactionInputsList(),
|
|
proto.io.bisq.protobuffer.RawTransactionInput.toObject, includeInstance),
|
|
changeOutputValue: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
changeOutputAddress: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
useSavingsWallet: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
fundsNeededForTradeAsLong: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
myMultiSigPubKey: msg.getMyMultiSigPubKey_asB64(),
|
|
paymentSentMessageState: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
mediatedPayoutTxSignature: msg.getMediatedPayoutTxSignature_asB64(),
|
|
buyerPayoutAmountFromMediation: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
sellerPayoutAmountFromMediation: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
depositsConfirmedMessagesDelivered: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
|
makerSignature: jspb.Message.getFieldWithDefault(msg, 1001, ""),
|
|
maker: (f = msg.getMaker()) && proto.io.bisq.protobuffer.TradePeer.toObject(includeInstance, f),
|
|
taker: (f = msg.getTaker()) && proto.io.bisq.protobuffer.TradePeer.toObject(includeInstance, f),
|
|
arbitrator: (f = msg.getArbitrator()) && proto.io.bisq.protobuffer.TradePeer.toObject(includeInstance, f),
|
|
tempTradePeerNodeAddress: (f = msg.getTempTradePeerNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
multisigAddress: jspb.Message.getFieldWithDefault(msg, 1006, ""),
|
|
paymentSentMessage: (f = msg.getPaymentSentMessage()) && proto.io.bisq.protobuffer.PaymentSentMessage.toObject(includeInstance, f),
|
|
paymentReceivedMessage: (f = msg.getPaymentReceivedMessage()) && proto.io.bisq.protobuffer.PaymentReceivedMessage.toObject(includeInstance, f),
|
|
disputeClosedMessage: (f = msg.getDisputeClosedMessage()) && proto.io.bisq.protobuffer.DisputeClosedMessage.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.ProcessModel}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.ProcessModel;
|
|
return proto.io.bisq.protobuffer.ProcessModel.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.ProcessModel} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setOfferId(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountId(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setPubKeyRing(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTakeOfferFeeTxId(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setPayoutTxSignature(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.RawTransactionInput;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RawTransactionInput.deserializeBinaryFromReader);
|
|
msg.addRawTransactionInputs(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setChangeOutputValue(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setChangeOutputAddress(value);
|
|
break;
|
|
case 13:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUseSavingsWallet(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setFundsNeededForTradeAsLong(value);
|
|
break;
|
|
case 15:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setMyMultiSigPubKey(value);
|
|
break;
|
|
case 17:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPaymentSentMessageState(value);
|
|
break;
|
|
case 18:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setMediatedPayoutTxSignature(value);
|
|
break;
|
|
case 19:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setBuyerPayoutAmountFromMediation(value);
|
|
break;
|
|
case 20:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setSellerPayoutAmountFromMediation(value);
|
|
break;
|
|
case 21:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setDepositsConfirmedMessagesDelivered(value);
|
|
break;
|
|
case 1001:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMakerSignature(value);
|
|
break;
|
|
case 1002:
|
|
var value = new proto.io.bisq.protobuffer.TradePeer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradePeer.deserializeBinaryFromReader);
|
|
msg.setMaker(value);
|
|
break;
|
|
case 1003:
|
|
var value = new proto.io.bisq.protobuffer.TradePeer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradePeer.deserializeBinaryFromReader);
|
|
msg.setTaker(value);
|
|
break;
|
|
case 1004:
|
|
var value = new proto.io.bisq.protobuffer.TradePeer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradePeer.deserializeBinaryFromReader);
|
|
msg.setArbitrator(value);
|
|
break;
|
|
case 1005:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setTempTradePeerNodeAddress(value);
|
|
break;
|
|
case 1006:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMultisigAddress(value);
|
|
break;
|
|
case 1012:
|
|
var value = new proto.io.bisq.protobuffer.PaymentSentMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentSentMessage.deserializeBinaryFromReader);
|
|
msg.setPaymentSentMessage(value);
|
|
break;
|
|
case 1013:
|
|
var value = new proto.io.bisq.protobuffer.PaymentReceivedMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentReceivedMessage.deserializeBinaryFromReader);
|
|
msg.setPaymentReceivedMessage(value);
|
|
break;
|
|
case 1014:
|
|
var value = new proto.io.bisq.protobuffer.DisputeClosedMessage;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.DisputeClosedMessage.deserializeBinaryFromReader);
|
|
msg.setDisputeClosedMessage(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.ProcessModel.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.ProcessModel} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getOfferId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTakeOfferFeeTxId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPayoutTxSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRawTransactionInputsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.RawTransactionInput.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getChangeOutputValue();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getChangeOutputAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUseSavingsWallet();
|
|
if (f) {
|
|
writer.writeBool(
|
|
13,
|
|
f
|
|
);
|
|
}
|
|
f = message.getFundsNeededForTradeAsLong();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMyMultiSigPubKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
15,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentSentMessageState();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
17,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMediatedPayoutTxSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
18,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBuyerPayoutAmountFromMediation();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
19,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSellerPayoutAmountFromMediation();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
20,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositsConfirmedMessagesDelivered();
|
|
if (f) {
|
|
writer.writeBool(
|
|
21,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMakerSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1001,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMaker();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1002,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradePeer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTaker();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1003,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradePeer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getArbitrator();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1004,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradePeer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTempTradePeerNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1005,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMultisigAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1006,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentSentMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1012,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentSentMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPaymentReceivedMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1013,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentReceivedMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDisputeClosedMessage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1014,
|
|
f,
|
|
proto.io.bisq.protobuffer.DisputeClosedMessage.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string offer_id = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getOfferId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setOfferId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_id = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing pub_key_ring = 4;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.clearPubKeyRing = function() {
|
|
return this.setPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.hasPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 4) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string take_offer_fee_tx_id = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getTakeOfferFeeTxId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setTakeOfferFeeTxId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payout_tx_signature = 6;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getPayoutTxSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payout_tx_signature = 6;
|
|
* This is a type-conversion wrapper around `getPayoutTxSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getPayoutTxSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getPayoutTxSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payout_tx_signature = 6;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getPayoutTxSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getPayoutTxSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getPayoutTxSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setPayoutTxSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated RawTransactionInput raw_transaction_inputs = 10;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.RawTransactionInput>}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getRawTransactionInputsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.RawTransactionInput>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.RawTransactionInput, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.RawTransactionInput>} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setRawTransactionInputsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.RawTransactionInput=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.RawTransactionInput}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.addRawTransactionInputs = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.io.bisq.protobuffer.RawTransactionInput, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.clearRawTransactionInputsList = function() {
|
|
return this.setRawTransactionInputsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 change_output_value = 11;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getChangeOutputValue = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setChangeOutputValue = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string change_output_address = 12;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getChangeOutputAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setChangeOutputAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_savings_wallet = 13;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getUseSavingsWallet = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setUseSavingsWallet = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 funds_needed_for_trade_as_long = 14;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getFundsNeededForTradeAsLong = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setFundsNeededForTradeAsLong = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes my_multi_sig_pub_key = 15;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getMyMultiSigPubKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes my_multi_sig_pub_key = 15;
|
|
* This is a type-conversion wrapper around `getMyMultiSigPubKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getMyMultiSigPubKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getMyMultiSigPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes my_multi_sig_pub_key = 15;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getMyMultiSigPubKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getMyMultiSigPubKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getMyMultiSigPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setMyMultiSigPubKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payment_sent_message_state = 17;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getPaymentSentMessageState = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setPaymentSentMessageState = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 17, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes mediated_payout_tx_signature = 18;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getMediatedPayoutTxSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes mediated_payout_tx_signature = 18;
|
|
* This is a type-conversion wrapper around `getMediatedPayoutTxSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getMediatedPayoutTxSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getMediatedPayoutTxSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes mediated_payout_tx_signature = 18;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getMediatedPayoutTxSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getMediatedPayoutTxSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getMediatedPayoutTxSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setMediatedPayoutTxSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 18, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 buyer_payout_amount_from_mediation = 19;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getBuyerPayoutAmountFromMediation = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setBuyerPayoutAmountFromMediation = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 19, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 seller_payout_amount_from_mediation = 20;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getSellerPayoutAmountFromMediation = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setSellerPayoutAmountFromMediation = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 20, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool deposits_confirmed_messages_delivered = 21;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getDepositsConfirmedMessagesDelivered = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 21, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setDepositsConfirmedMessagesDelivered = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 21, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string maker_signature = 1001;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getMakerSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1001, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setMakerSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1001, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TradePeer maker = 1002;
|
|
* @return {?proto.io.bisq.protobuffer.TradePeer}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getMaker = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TradePeer} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradePeer, 1002));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TradePeer|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setMaker = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1002, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.clearMaker = function() {
|
|
return this.setMaker(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.hasMaker = function() {
|
|
return jspb.Message.getField(this, 1002) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TradePeer taker = 1003;
|
|
* @return {?proto.io.bisq.protobuffer.TradePeer}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getTaker = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TradePeer} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradePeer, 1003));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TradePeer|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setTaker = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1003, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.clearTaker = function() {
|
|
return this.setTaker(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.hasTaker = function() {
|
|
return jspb.Message.getField(this, 1003) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TradePeer arbitrator = 1004;
|
|
* @return {?proto.io.bisq.protobuffer.TradePeer}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getArbitrator = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TradePeer} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradePeer, 1004));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TradePeer|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setArbitrator = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1004, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.clearArbitrator = function() {
|
|
return this.setArbitrator(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.hasArbitrator = function() {
|
|
return jspb.Message.getField(this, 1004) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress temp_trade_peer_node_address = 1005;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getTempTradePeerNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 1005));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setTempTradePeerNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1005, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.clearTempTradePeerNodeAddress = function() {
|
|
return this.setTempTradePeerNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.hasTempTradePeerNodeAddress = function() {
|
|
return jspb.Message.getField(this, 1005) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string multisig_address = 1006;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getMultisigAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1006, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setMultisigAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1006, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentSentMessage payment_sent_message = 1012;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentSentMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getPaymentSentMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentSentMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentSentMessage, 1012));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentSentMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setPaymentSentMessage = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1012, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.clearPaymentSentMessage = function() {
|
|
return this.setPaymentSentMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.hasPaymentSentMessage = function() {
|
|
return jspb.Message.getField(this, 1012) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentReceivedMessage payment_received_message = 1013;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentReceivedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getPaymentReceivedMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentReceivedMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentReceivedMessage, 1013));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentReceivedMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setPaymentReceivedMessage = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1013, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.clearPaymentReceivedMessage = function() {
|
|
return this.setPaymentReceivedMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.hasPaymentReceivedMessage = function() {
|
|
return jspb.Message.getField(this, 1013) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional DisputeClosedMessage dispute_closed_message = 1014;
|
|
* @return {?proto.io.bisq.protobuffer.DisputeClosedMessage}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.getDisputeClosedMessage = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.DisputeClosedMessage} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.DisputeClosedMessage, 1014));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.DisputeClosedMessage|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.setDisputeClosedMessage = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1014, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.ProcessModel} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.clearDisputeClosedMessage = function() {
|
|
return this.setDisputeClosedMessage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.ProcessModel.prototype.hasDisputeClosedMessage = function() {
|
|
return jspb.Message.getField(this, 1014) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.repeatedFields_ = [15,1004];
|
|
|
|
|
|
|
|
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_<name>, 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.TradePeer.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.TradePeer.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.TradePeer} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
nodeAddress: (f = msg.getNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
pubKeyRing: (f = msg.getPubKeyRing()) && proto.io.bisq.protobuffer.PubKeyRing.toObject(includeInstance, f),
|
|
accountId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
paymentAccountId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
paymentMethodId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
paymentAccountPayloadHash: msg.getPaymentAccountPayloadHash_asB64(),
|
|
encryptedPaymentAccountPayload: msg.getEncryptedPaymentAccountPayload_asB64(),
|
|
paymentAccountKey: msg.getPaymentAccountKey_asB64(),
|
|
paymentAccountPayload: (f = msg.getPaymentAccountPayload()) && proto.io.bisq.protobuffer.PaymentAccountPayload.toObject(includeInstance, f),
|
|
payoutAddressString: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
contractAsJson: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
contractSignature: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
signature: msg.getSignature_asB64(),
|
|
multiSigPubKey: msg.getMultiSigPubKey_asB64(),
|
|
rawTransactionInputsList: jspb.Message.toObjectList(msg.getRawTransactionInputsList(),
|
|
proto.io.bisq.protobuffer.RawTransactionInput.toObject, includeInstance),
|
|
changeOutputValue: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
changeOutputAddress: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
accountAgeWitnessNonce: msg.getAccountAgeWitnessNonce_asB64(),
|
|
accountAgeWitnessSignature: msg.getAccountAgeWitnessSignature_asB64(),
|
|
accountAgeWitness: (f = msg.getAccountAgeWitness()) && proto.io.bisq.protobuffer.AccountAgeWitness.toObject(includeInstance, f),
|
|
currentDate: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
|
mediatedPayoutTxSignature: msg.getMediatedPayoutTxSignature_asB64(),
|
|
reserveTxHash: jspb.Message.getFieldWithDefault(msg, 1001, ""),
|
|
reserveTxHex: jspb.Message.getFieldWithDefault(msg, 1002, ""),
|
|
reserveTxKey: jspb.Message.getFieldWithDefault(msg, 1003, ""),
|
|
reserveTxKeyImagesList: (f = jspb.Message.getRepeatedField(msg, 1004)) == null ? undefined : f,
|
|
preparedMultisigHex: jspb.Message.getFieldWithDefault(msg, 1005, ""),
|
|
madeMultisigHex: jspb.Message.getFieldWithDefault(msg, 1006, ""),
|
|
exchangedMultisigHex: jspb.Message.getFieldWithDefault(msg, 1007, ""),
|
|
depositTxHash: jspb.Message.getFieldWithDefault(msg, 1008, ""),
|
|
depositTxHex: jspb.Message.getFieldWithDefault(msg, 1009, ""),
|
|
depositTxKey: jspb.Message.getFieldWithDefault(msg, 1010, ""),
|
|
securityDeposit: jspb.Message.getFieldWithDefault(msg, 1011, 0),
|
|
updatedMultisigHex: jspb.Message.getFieldWithDefault(msg, 1012, "")
|
|
};
|
|
|
|
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.TradePeer}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.TradePeer;
|
|
return proto.io.bisq.protobuffer.TradePeer.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.TradePeer} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.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.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setNodeAddress(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.PubKeyRing;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PubKeyRing.deserializeBinaryFromReader);
|
|
msg.setPubKeyRing(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountId(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPaymentAccountId(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPaymentMethodId(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setPaymentAccountPayloadHash(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setEncryptedPaymentAccountPayload(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setPaymentAccountKey(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.io.bisq.protobuffer.PaymentAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccountPayload.deserializeBinaryFromReader);
|
|
msg.setPaymentAccountPayload(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPayoutAddressString(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setContractAsJson(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setContractSignature(value);
|
|
break;
|
|
case 13:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSignature(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setMultiSigPubKey(value);
|
|
break;
|
|
case 15:
|
|
var value = new proto.io.bisq.protobuffer.RawTransactionInput;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RawTransactionInput.deserializeBinaryFromReader);
|
|
msg.addRawTransactionInputs(value);
|
|
break;
|
|
case 16:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setChangeOutputValue(value);
|
|
break;
|
|
case 17:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setChangeOutputAddress(value);
|
|
break;
|
|
case 18:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setAccountAgeWitnessNonce(value);
|
|
break;
|
|
case 19:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setAccountAgeWitnessSignature(value);
|
|
break;
|
|
case 20:
|
|
var value = new proto.io.bisq.protobuffer.AccountAgeWitness;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AccountAgeWitness.deserializeBinaryFromReader);
|
|
msg.setAccountAgeWitness(value);
|
|
break;
|
|
case 21:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setCurrentDate(value);
|
|
break;
|
|
case 22:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setMediatedPayoutTxSignature(value);
|
|
break;
|
|
case 1001:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxHash(value);
|
|
break;
|
|
case 1002:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxHex(value);
|
|
break;
|
|
case 1003:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReserveTxKey(value);
|
|
break;
|
|
case 1004:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addReserveTxKeyImages(value);
|
|
break;
|
|
case 1005:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPreparedMultisigHex(value);
|
|
break;
|
|
case 1006:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMadeMultisigHex(value);
|
|
break;
|
|
case 1007:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setExchangedMultisigHex(value);
|
|
break;
|
|
case 1008:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDepositTxHash(value);
|
|
break;
|
|
case 1009:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDepositTxHex(value);
|
|
break;
|
|
case 1010:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDepositTxKey(value);
|
|
break;
|
|
case 1011:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setSecurityDeposit(value);
|
|
break;
|
|
case 1012:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUpdatedMultisigHex(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.TradePeer.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.TradePeer} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPubKeyRing();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.PubKeyRing.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentMethodId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentAccountPayloadHash_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEncryptedPaymentAccountPayload_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentAccountKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
9,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPayoutAddressString();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContractAsJson();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getContractSignature();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
13,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMultiSigPubKey_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRawTransactionInputsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
15,
|
|
f,
|
|
proto.io.bisq.protobuffer.RawTransactionInput.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getChangeOutputValue();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
16,
|
|
f
|
|
);
|
|
}
|
|
f = message.getChangeOutputAddress();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
17,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountAgeWitnessNonce_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
18,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountAgeWitnessSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
19,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAccountAgeWitness();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
20,
|
|
f,
|
|
proto.io.bisq.protobuffer.AccountAgeWitness.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCurrentDate();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
21,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMediatedPayoutTxSignature_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
22,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxHash();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1001,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1002,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxKey();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1003,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReserveTxKeyImagesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
1004,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPreparedMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1005,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMadeMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1006,
|
|
f
|
|
);
|
|
}
|
|
f = message.getExchangedMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1007,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositTxHash();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1008,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositTxHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1009,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDepositTxKey();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1010,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSecurityDeposit();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
1011,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUpdatedMultisigHex();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1012,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress node_address = 1;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.clearNodeAddress = function() {
|
|
return this.setNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.hasNodeAddress = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PubKeyRing pub_key_ring = 2;
|
|
* @return {?proto.io.bisq.protobuffer.PubKeyRing}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPubKeyRing = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PubKeyRing} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PubKeyRing, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PubKeyRing|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setPubKeyRing = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.clearPubKeyRing = function() {
|
|
return this.setPubKeyRing(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.hasPubKeyRing = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_id = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payment_account_id = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPaymentAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setPaymentAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payment_method_id = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPaymentMethodId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setPaymentMethodId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_payload_hash = 6;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPaymentAccountPayloadHash = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_payload_hash = 6;
|
|
* This is a type-conversion wrapper around `getPaymentAccountPayloadHash()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPaymentAccountPayloadHash_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getPaymentAccountPayloadHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_payload_hash = 6;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getPaymentAccountPayloadHash()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPaymentAccountPayloadHash_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getPaymentAccountPayloadHash()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setPaymentAccountPayloadHash = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_payment_account_payload = 7;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getEncryptedPaymentAccountPayload = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_payment_account_payload = 7;
|
|
* This is a type-conversion wrapper around `getEncryptedPaymentAccountPayload()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getEncryptedPaymentAccountPayload_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getEncryptedPaymentAccountPayload()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_payment_account_payload = 7;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getEncryptedPaymentAccountPayload()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getEncryptedPaymentAccountPayload_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getEncryptedPaymentAccountPayload()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setEncryptedPaymentAccountPayload = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_key = 8;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPaymentAccountKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_key = 8;
|
|
* This is a type-conversion wrapper around `getPaymentAccountKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPaymentAccountKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getPaymentAccountKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes payment_account_key = 8;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getPaymentAccountKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPaymentAccountKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getPaymentAccountKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setPaymentAccountKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentAccountPayload payment_account_payload = 9;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPaymentAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccountPayload, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setPaymentAccountPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.clearPaymentAccountPayload = function() {
|
|
return this.setPaymentAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.hasPaymentAccountPayload = function() {
|
|
return jspb.Message.getField(this, 9) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string payout_address_string = 10;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPayoutAddressString = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setPayoutAddressString = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string contract_as_json = 11;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getContractAsJson = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setContractAsJson = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string contract_signature = 12;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getContractSignature = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setContractSignature = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 13;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 13;
|
|
* This is a type-conversion wrapper around `getSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes signature = 13;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes multi_sig_pub_key = 14;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getMultiSigPubKey = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes multi_sig_pub_key = 14;
|
|
* This is a type-conversion wrapper around `getMultiSigPubKey()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getMultiSigPubKey_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getMultiSigPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes multi_sig_pub_key = 14;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getMultiSigPubKey()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getMultiSigPubKey_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getMultiSigPubKey()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setMultiSigPubKey = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated RawTransactionInput raw_transaction_inputs = 15;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.RawTransactionInput>}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getRawTransactionInputsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.RawTransactionInput>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.RawTransactionInput, 15));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.RawTransactionInput>} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setRawTransactionInputsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.RawTransactionInput=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.RawTransactionInput}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.addRawTransactionInputs = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.io.bisq.protobuffer.RawTransactionInput, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.clearRawTransactionInputsList = function() {
|
|
return this.setRawTransactionInputsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 change_output_value = 16;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getChangeOutputValue = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setChangeOutputValue = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 16, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string change_output_address = 17;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getChangeOutputAddress = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setChangeOutputAddress = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 17, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_nonce = 18;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getAccountAgeWitnessNonce = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_nonce = 18;
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessNonce()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getAccountAgeWitnessNonce_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getAccountAgeWitnessNonce()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_nonce = 18;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessNonce()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getAccountAgeWitnessNonce_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getAccountAgeWitnessNonce()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setAccountAgeWitnessNonce = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 18, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature = 19;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getAccountAgeWitnessSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature = 19;
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getAccountAgeWitnessSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getAccountAgeWitnessSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes account_age_witness_signature = 19;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getAccountAgeWitnessSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getAccountAgeWitnessSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getAccountAgeWitnessSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setAccountAgeWitnessSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 19, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AccountAgeWitness account_age_witness = 20;
|
|
* @return {?proto.io.bisq.protobuffer.AccountAgeWitness}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getAccountAgeWitness = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.AccountAgeWitness} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AccountAgeWitness, 20));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.AccountAgeWitness|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setAccountAgeWitness = function(value) {
|
|
return jspb.Message.setWrapperField(this, 20, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.clearAccountAgeWitness = function() {
|
|
return this.setAccountAgeWitness(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.hasAccountAgeWitness = function() {
|
|
return jspb.Message.getField(this, 20) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 current_date = 21;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getCurrentDate = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setCurrentDate = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 21, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes mediated_payout_tx_signature = 22;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getMediatedPayoutTxSignature = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes mediated_payout_tx_signature = 22;
|
|
* This is a type-conversion wrapper around `getMediatedPayoutTxSignature()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getMediatedPayoutTxSignature_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getMediatedPayoutTxSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes mediated_payout_tx_signature = 22;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getMediatedPayoutTxSignature()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getMediatedPayoutTxSignature_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getMediatedPayoutTxSignature()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setMediatedPayoutTxSignature = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 22, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_hash = 1001;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getReserveTxHash = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1001, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setReserveTxHash = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1001, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_hex = 1002;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getReserveTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1002, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setReserveTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1002, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string reserve_tx_key = 1003;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getReserveTxKey = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1003, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setReserveTxKey = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1003, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string reserve_tx_key_images = 1004;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getReserveTxKeyImagesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1004));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setReserveTxKeyImagesList = function(value) {
|
|
return jspb.Message.setField(this, 1004, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.addReserveTxKeyImages = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 1004, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.clearReserveTxKeyImagesList = function() {
|
|
return this.setReserveTxKeyImagesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string prepared_multisig_hex = 1005;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getPreparedMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1005, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setPreparedMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1005, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string made_multisig_hex = 1006;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getMadeMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1006, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setMadeMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1006, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string exchanged_multisig_hex = 1007;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getExchangedMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1007, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setExchangedMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1007, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string deposit_tx_hash = 1008;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getDepositTxHash = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1008, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setDepositTxHash = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1008, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string deposit_tx_hex = 1009;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getDepositTxHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1009, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setDepositTxHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1009, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string deposit_tx_key = 1010;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getDepositTxKey = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1010, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setDepositTxKey = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1010, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 security_deposit = 1011;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getSecurityDeposit = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1011, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setSecurityDeposit = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 1011, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string updated_multisig_hex = 1012;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.getUpdatedMultisigHex = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1012, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradePeer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradePeer.prototype.setUpdatedMultisigHex = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1012, 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_<name>, 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.EncryptedConnection.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.EncryptedConnection.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.EncryptedConnection} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
url: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
username: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
encryptedPassword: msg.getEncryptedPassword_asB64(),
|
|
encryptionSalt: msg.getEncryptionSalt_asB64(),
|
|
priority: 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.EncryptedConnection}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.EncryptedConnection;
|
|
return proto.io.bisq.protobuffer.EncryptedConnection.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.EncryptedConnection} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnection}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.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.setUrl(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUsername(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setEncryptedPassword(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setEncryptionSalt(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setPriority(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.EncryptedConnection.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.EncryptedConnection} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUrl();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUsername();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEncryptedPassword_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getEncryptionSalt_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPriority();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string url = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.getUrl = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnection} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.setUrl = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string username = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.getUsername = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnection} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.setUsername = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_password = 3;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.getEncryptedPassword = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_password = 3;
|
|
* This is a type-conversion wrapper around `getEncryptedPassword()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.getEncryptedPassword_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getEncryptedPassword()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encrypted_password = 3;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getEncryptedPassword()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.getEncryptedPassword_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getEncryptedPassword()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnection} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.setEncryptedPassword = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encryption_salt = 4;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.getEncryptionSalt = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encryption_salt = 4;
|
|
* This is a type-conversion wrapper around `getEncryptionSalt()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.getEncryptionSalt_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getEncryptionSalt()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes encryption_salt = 4;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getEncryptionSalt()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.getEncryptionSalt_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getEncryptionSalt()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnection} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.setEncryptionSalt = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 priority = 5;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.getPriority = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnection} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnection.prototype.setPriority = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.repeatedFields_ = [2];
|
|
|
|
|
|
|
|
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_<name>, 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.EncryptedConnectionList.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.EncryptedConnectionList.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.EncryptedConnectionList} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
salt: msg.getSalt_asB64(),
|
|
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
proto.io.bisq.protobuffer.EncryptedConnection.toObject, includeInstance),
|
|
currentConnectionUrl: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
refreshPeriod: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
autoSwitch: jspb.Message.getBooleanFieldWithDefault(msg, 5, 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.EncryptedConnectionList}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.EncryptedConnectionList;
|
|
return proto.io.bisq.protobuffer.EncryptedConnectionList.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.EncryptedConnectionList} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnectionList}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
msg.setSalt(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.EncryptedConnection;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.EncryptedConnection.deserializeBinaryFromReader);
|
|
msg.addItems(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCurrentConnectionUrl(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setRefreshPeriod(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setAutoSwitch(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.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.EncryptedConnectionList} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getSalt_asU8();
|
|
if (f.length > 0) {
|
|
writer.writeBytes(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getItemsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.EncryptedConnection.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCurrentConnectionUrl();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRefreshPeriod();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAutoSwitch();
|
|
if (f) {
|
|
writer.writeBool(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes salt = 1;
|
|
* @return {!(string|Uint8Array)}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.getSalt = function() {
|
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes salt = 1;
|
|
* This is a type-conversion wrapper around `getSalt()`
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.getSalt_asB64 = function() {
|
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
this.getSalt()));
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bytes salt = 1;
|
|
* Note that Uint8Array is not supported on all browsers.
|
|
* @see http://caniuse.com/Uint8Array
|
|
* This is a type-conversion wrapper around `getSalt()`
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.getSalt_asU8 = function() {
|
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
this.getSalt()));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!(string|Uint8Array)} value
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnectionList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.setSalt = function(value) {
|
|
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated EncryptedConnection items = 2;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.EncryptedConnection>}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.getItemsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.EncryptedConnection>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.EncryptedConnection, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.EncryptedConnection>} value
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnectionList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.setItemsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.EncryptedConnection=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnection}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.addItems = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.io.bisq.protobuffer.EncryptedConnection, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnectionList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.clearItemsList = function() {
|
|
return this.setItemsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string current_connection_url = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.getCurrentConnectionUrl = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnectionList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.setCurrentConnectionUrl = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 refresh_period = 4;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.getRefreshPeriod = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnectionList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.setRefreshPeriod = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool auto_switch = 5;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.getAutoSwitch = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.EncryptedConnectionList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.EncryptedConnectionList.prototype.setAutoSwitch = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.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_<name>, 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.ArbitrationDisputeList.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.ArbitrationDisputeList.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.ArbitrationDisputeList} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
disputeList: jspb.Message.toObjectList(msg.getDisputeList(),
|
|
proto.io.bisq.protobuffer.Dispute.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.ArbitrationDisputeList}
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.ArbitrationDisputeList;
|
|
return proto.io.bisq.protobuffer.ArbitrationDisputeList.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.ArbitrationDisputeList} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.ArbitrationDisputeList}
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.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.Dispute;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Dispute.deserializeBinaryFromReader);
|
|
msg.addDispute(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.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.ArbitrationDisputeList} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getDisputeList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Dispute.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Dispute dispute = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Dispute>}
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.prototype.getDisputeList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Dispute>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Dispute, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Dispute>} value
|
|
* @return {!proto.io.bisq.protobuffer.ArbitrationDisputeList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.prototype.setDisputeList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Dispute=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Dispute}
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.prototype.addDispute = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.Dispute, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.ArbitrationDisputeList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.ArbitrationDisputeList.prototype.clearDisputeList = function() {
|
|
return this.setDisputeList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.MediationDisputeList.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_<name>, 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.MediationDisputeList.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MediationDisputeList.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.MediationDisputeList} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MediationDisputeList.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
disputeList: jspb.Message.toObjectList(msg.getDisputeList(),
|
|
proto.io.bisq.protobuffer.Dispute.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.MediationDisputeList}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediationDisputeList.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MediationDisputeList;
|
|
return proto.io.bisq.protobuffer.MediationDisputeList.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MediationDisputeList} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MediationDisputeList}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediationDisputeList.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.Dispute;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Dispute.deserializeBinaryFromReader);
|
|
msg.addDispute(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediationDisputeList.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MediationDisputeList.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.MediationDisputeList} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MediationDisputeList.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getDisputeList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Dispute.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Dispute dispute = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Dispute>}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediationDisputeList.prototype.getDisputeList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Dispute>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Dispute, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Dispute>} value
|
|
* @return {!proto.io.bisq.protobuffer.MediationDisputeList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediationDisputeList.prototype.setDisputeList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Dispute=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Dispute}
|
|
*/
|
|
proto.io.bisq.protobuffer.MediationDisputeList.prototype.addDispute = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.Dispute, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.MediationDisputeList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MediationDisputeList.prototype.clearDisputeList = function() {
|
|
return this.setDisputeList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundDisputeList.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_<name>, 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.RefundDisputeList.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.RefundDisputeList.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.RefundDisputeList} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundDisputeList.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
disputeList: jspb.Message.toObjectList(msg.getDisputeList(),
|
|
proto.io.bisq.protobuffer.Dispute.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.RefundDisputeList}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundDisputeList.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.RefundDisputeList;
|
|
return proto.io.bisq.protobuffer.RefundDisputeList.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.RefundDisputeList} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.RefundDisputeList}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundDisputeList.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.Dispute;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Dispute.deserializeBinaryFromReader);
|
|
msg.addDispute(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundDisputeList.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.RefundDisputeList.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.RefundDisputeList} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundDisputeList.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getDisputeList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Dispute.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Dispute dispute = 1;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Dispute>}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundDisputeList.prototype.getDisputeList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Dispute>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Dispute, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Dispute>} value
|
|
* @return {!proto.io.bisq.protobuffer.RefundDisputeList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundDisputeList.prototype.setDisputeList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Dispute=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Dispute}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundDisputeList.prototype.addDispute = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.Dispute, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.RefundDisputeList} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundDisputeList.prototype.clearDisputeList = function() {
|
|
return this.setDisputeList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.repeatedFields_ = [3,4,27,32,53];
|
|
|
|
|
|
|
|
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_<name>, 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.PreferencesPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PreferencesPayload.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.PreferencesPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
userLanguage: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
userCountry: (f = msg.getUserCountry()) && proto.io.bisq.protobuffer.Country.toObject(includeInstance, f),
|
|
fiatCurrenciesList: jspb.Message.toObjectList(msg.getFiatCurrenciesList(),
|
|
proto.io.bisq.protobuffer.TradeCurrency.toObject, includeInstance),
|
|
cryptoCurrenciesList: jspb.Message.toObjectList(msg.getCryptoCurrenciesList(),
|
|
proto.io.bisq.protobuffer.TradeCurrency.toObject, includeInstance),
|
|
blockChainExplorerMainNet: (f = msg.getBlockChainExplorerMainNet()) && proto.io.bisq.protobuffer.BlockChainExplorer.toObject(includeInstance, f),
|
|
blockChainExplorerTestNet: (f = msg.getBlockChainExplorerTestNet()) && proto.io.bisq.protobuffer.BlockChainExplorer.toObject(includeInstance, f),
|
|
backupDirectory: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
autoSelectArbitrators: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
dontShowAgainMapMap: (f = msg.getDontShowAgainMapMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
tacAccepted: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
useTorForBitcoinJ: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
showOwnOffersInOfferBook: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
preferredTradeCurrency: (f = msg.getPreferredTradeCurrency()) && proto.io.bisq.protobuffer.TradeCurrency.toObject(includeInstance, f),
|
|
withdrawalTxFeeInVbytes: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
useCustomWithdrawalTxFee: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
|
|
maxPriceDistanceInPercent: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
|
offerBookChartScreenCurrencyCode: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
tradeChartsScreenCurrencyCode: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
buyScreenCurrencyCode: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
sellScreenCurrencyCode: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
tradeStatisticsTickUnitIndex: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
|
resyncSpvRequested: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
sortMarketCurrenciesNumerically: jspb.Message.getBooleanFieldWithDefault(msg, 23, false),
|
|
usePercentageBasedPrice: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
|
peerTagMapMap: (f = msg.getPeerTagMapMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
bitcoinNodes: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
ignoreTradersListList: (f = jspb.Message.getRepeatedField(msg, 27)) == null ? undefined : f,
|
|
directoryChooserPath: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
buyerSecurityDepositAsLong: jspb.Message.getFieldWithDefault(msg, 29, 0),
|
|
useAnimations: jspb.Message.getBooleanFieldWithDefault(msg, 30, false),
|
|
selectedpaymentAccountForCreateoffer: (f = msg.getSelectedpaymentAccountForCreateoffer()) && proto.io.bisq.protobuffer.PaymentAccount.toObject(includeInstance, f),
|
|
bridgeAddressesList: (f = jspb.Message.getRepeatedField(msg, 32)) == null ? undefined : f,
|
|
bridgeOptionOrdinal: jspb.Message.getFieldWithDefault(msg, 33, 0),
|
|
torTransportOrdinal: jspb.Message.getFieldWithDefault(msg, 34, 0),
|
|
customBridges: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
bitcoinNodesOptionOrdinal: jspb.Message.getFieldWithDefault(msg, 36, 0),
|
|
referralId: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
phoneKeyAndToken: jspb.Message.getFieldWithDefault(msg, 38, ""),
|
|
useSoundForMobileNotifications: jspb.Message.getBooleanFieldWithDefault(msg, 39, false),
|
|
useTradeNotifications: jspb.Message.getBooleanFieldWithDefault(msg, 40, false),
|
|
useMarketNotifications: jspb.Message.getBooleanFieldWithDefault(msg, 41, false),
|
|
usePriceNotifications: jspb.Message.getBooleanFieldWithDefault(msg, 42, false),
|
|
useStandbyMode: jspb.Message.getBooleanFieldWithDefault(msg, 43, false),
|
|
rpcUser: jspb.Message.getFieldWithDefault(msg, 44, ""),
|
|
rpcPw: jspb.Message.getFieldWithDefault(msg, 45, ""),
|
|
takeOfferSelectedPaymentAccountId: jspb.Message.getFieldWithDefault(msg, 46, ""),
|
|
buyerSecurityDepositAsPercent: jspb.Message.getFloatingPointFieldWithDefault(msg, 47, 0.0),
|
|
ignoreDustThreshold: jspb.Message.getFieldWithDefault(msg, 48, 0),
|
|
buyerSecurityDepositAsPercentForCrypto: jspb.Message.getFloatingPointFieldWithDefault(msg, 49, 0.0),
|
|
blockNotifyPort: jspb.Message.getFieldWithDefault(msg, 50, 0),
|
|
cssTheme: jspb.Message.getFieldWithDefault(msg, 51, 0),
|
|
tacAcceptedV120: jspb.Message.getBooleanFieldWithDefault(msg, 52, false),
|
|
autoConfirmSettingsList: jspb.Message.toObjectList(msg.getAutoConfirmSettingsList(),
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.toObject, includeInstance),
|
|
bsqAverageTrimThreshold: jspb.Message.getFloatingPointFieldWithDefault(msg, 54, 0.0),
|
|
hideNonAccountPaymentMethods: jspb.Message.getBooleanFieldWithDefault(msg, 55, false),
|
|
showOffersMatchingMyAccounts: jspb.Message.getBooleanFieldWithDefault(msg, 56, false),
|
|
denyApiTaker: jspb.Message.getBooleanFieldWithDefault(msg, 57, false),
|
|
notifyOnPreRelease: jspb.Message.getBooleanFieldWithDefault(msg, 58, false),
|
|
moneroNodeSettings: (f = msg.getMoneroNodeSettings()) && proto.io.bisq.protobuffer.MoneroNodeSettings.toObject(includeInstance, f),
|
|
clearDataAfterDays: jspb.Message.getFieldWithDefault(msg, 60, 0),
|
|
buyScreenCryptoCurrencyCode: jspb.Message.getFieldWithDefault(msg, 61, ""),
|
|
sellScreenCryptoCurrencyCode: jspb.Message.getFieldWithDefault(msg, 62, "")
|
|
};
|
|
|
|
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.PreferencesPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PreferencesPayload;
|
|
return proto.io.bisq.protobuffer.PreferencesPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PreferencesPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.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.setUserLanguage(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.Country;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Country.deserializeBinaryFromReader);
|
|
msg.setUserCountry(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.TradeCurrency;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeCurrency.deserializeBinaryFromReader);
|
|
msg.addFiatCurrencies(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.TradeCurrency;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeCurrency.deserializeBinaryFromReader);
|
|
msg.addCryptoCurrencies(value);
|
|
break;
|
|
case 5:
|
|
var value = new proto.io.bisq.protobuffer.BlockChainExplorer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.BlockChainExplorer.deserializeBinaryFromReader);
|
|
msg.setBlockChainExplorerMainNet(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.BlockChainExplorer;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.BlockChainExplorer.deserializeBinaryFromReader);
|
|
msg.setBlockChainExplorerTestNet(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBackupDirectory(value);
|
|
break;
|
|
case 8:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setAutoSelectArbitrators(value);
|
|
break;
|
|
case 9:
|
|
var value = msg.getDontShowAgainMapMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBool, null, "", false);
|
|
});
|
|
break;
|
|
case 10:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setTacAccepted(value);
|
|
break;
|
|
case 11:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUseTorForBitcoinJ(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setShowOwnOffersInOfferBook(value);
|
|
break;
|
|
case 13:
|
|
var value = new proto.io.bisq.protobuffer.TradeCurrency;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeCurrency.deserializeBinaryFromReader);
|
|
msg.setPreferredTradeCurrency(value);
|
|
break;
|
|
case 14:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setWithdrawalTxFeeInVbytes(value);
|
|
break;
|
|
case 15:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUseCustomWithdrawalTxFee(value);
|
|
break;
|
|
case 16:
|
|
var value = /** @type {number} */ (reader.readDouble());
|
|
msg.setMaxPriceDistanceInPercent(value);
|
|
break;
|
|
case 17:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setOfferBookChartScreenCurrencyCode(value);
|
|
break;
|
|
case 18:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTradeChartsScreenCurrencyCode(value);
|
|
break;
|
|
case 19:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBuyScreenCurrencyCode(value);
|
|
break;
|
|
case 20:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSellScreenCurrencyCode(value);
|
|
break;
|
|
case 21:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setTradeStatisticsTickUnitIndex(value);
|
|
break;
|
|
case 22:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setResyncSpvRequested(value);
|
|
break;
|
|
case 23:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setSortMarketCurrenciesNumerically(value);
|
|
break;
|
|
case 24:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUsePercentageBasedPrice(value);
|
|
break;
|
|
case 25:
|
|
var value = msg.getPeerTagMapMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
case 26:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBitcoinNodes(value);
|
|
break;
|
|
case 27:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addIgnoreTradersList(value);
|
|
break;
|
|
case 28:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setDirectoryChooserPath(value);
|
|
break;
|
|
case 29:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setBuyerSecurityDepositAsLong(value);
|
|
break;
|
|
case 30:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUseAnimations(value);
|
|
break;
|
|
case 31:
|
|
var value = new proto.io.bisq.protobuffer.PaymentAccount;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccount.deserializeBinaryFromReader);
|
|
msg.setSelectedpaymentAccountForCreateoffer(value);
|
|
break;
|
|
case 32:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addBridgeAddresses(value);
|
|
break;
|
|
case 33:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setBridgeOptionOrdinal(value);
|
|
break;
|
|
case 34:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setTorTransportOrdinal(value);
|
|
break;
|
|
case 35:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setCustomBridges(value);
|
|
break;
|
|
case 36:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setBitcoinNodesOptionOrdinal(value);
|
|
break;
|
|
case 37:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setReferralId(value);
|
|
break;
|
|
case 38:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setPhoneKeyAndToken(value);
|
|
break;
|
|
case 39:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUseSoundForMobileNotifications(value);
|
|
break;
|
|
case 40:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUseTradeNotifications(value);
|
|
break;
|
|
case 41:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUseMarketNotifications(value);
|
|
break;
|
|
case 42:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUsePriceNotifications(value);
|
|
break;
|
|
case 43:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setUseStandbyMode(value);
|
|
break;
|
|
case 44:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setRpcUser(value);
|
|
break;
|
|
case 45:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setRpcPw(value);
|
|
break;
|
|
case 46:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTakeOfferSelectedPaymentAccountId(value);
|
|
break;
|
|
case 47:
|
|
var value = /** @type {number} */ (reader.readDouble());
|
|
msg.setBuyerSecurityDepositAsPercent(value);
|
|
break;
|
|
case 48:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setIgnoreDustThreshold(value);
|
|
break;
|
|
case 49:
|
|
var value = /** @type {number} */ (reader.readDouble());
|
|
msg.setBuyerSecurityDepositAsPercentForCrypto(value);
|
|
break;
|
|
case 50:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setBlockNotifyPort(value);
|
|
break;
|
|
case 51:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setCssTheme(value);
|
|
break;
|
|
case 52:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setTacAcceptedV120(value);
|
|
break;
|
|
case 53:
|
|
var value = new proto.io.bisq.protobuffer.AutoConfirmSettings;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.AutoConfirmSettings.deserializeBinaryFromReader);
|
|
msg.addAutoConfirmSettings(value);
|
|
break;
|
|
case 54:
|
|
var value = /** @type {number} */ (reader.readDouble());
|
|
msg.setBsqAverageTrimThreshold(value);
|
|
break;
|
|
case 55:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setHideNonAccountPaymentMethods(value);
|
|
break;
|
|
case 56:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setShowOffersMatchingMyAccounts(value);
|
|
break;
|
|
case 57:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setDenyApiTaker(value);
|
|
break;
|
|
case 58:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setNotifyOnPreRelease(value);
|
|
break;
|
|
case 59:
|
|
var value = new proto.io.bisq.protobuffer.MoneroNodeSettings;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MoneroNodeSettings.deserializeBinaryFromReader);
|
|
msg.setMoneroNodeSettings(value);
|
|
break;
|
|
case 60:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setClearDataAfterDays(value);
|
|
break;
|
|
case 61:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBuyScreenCryptoCurrencyCode(value);
|
|
break;
|
|
case 62:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setSellScreenCryptoCurrencyCode(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PreferencesPayload.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.PreferencesPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getUserLanguage();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUserCountry();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.Country.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getFiatCurrenciesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeCurrency.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCryptoCurrenciesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeCurrency.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBlockChainExplorerMainNet();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
5,
|
|
f,
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBlockChainExplorerTestNet();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBackupDirectory();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAutoSelectArbitrators();
|
|
if (f) {
|
|
writer.writeBool(
|
|
8,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDontShowAgainMapMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBool);
|
|
}
|
|
f = message.getTacAccepted();
|
|
if (f) {
|
|
writer.writeBool(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUseTorForBitcoinJ();
|
|
if (f) {
|
|
writer.writeBool(
|
|
11,
|
|
f
|
|
);
|
|
}
|
|
f = message.getShowOwnOffersInOfferBook();
|
|
if (f) {
|
|
writer.writeBool(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPreferredTradeCurrency();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
13,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeCurrency.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getWithdrawalTxFeeInVbytes();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
14,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUseCustomWithdrawalTxFee();
|
|
if (f) {
|
|
writer.writeBool(
|
|
15,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMaxPriceDistanceInPercent();
|
|
if (f !== 0.0) {
|
|
writer.writeDouble(
|
|
16,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOfferBookChartScreenCurrencyCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
17,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeChartsScreenCurrencyCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
18,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBuyScreenCurrencyCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
19,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSellScreenCurrencyCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
20,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeStatisticsTickUnitIndex();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
21,
|
|
f
|
|
);
|
|
}
|
|
f = message.getResyncSpvRequested();
|
|
if (f) {
|
|
writer.writeBool(
|
|
22,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSortMarketCurrenciesNumerically();
|
|
if (f) {
|
|
writer.writeBool(
|
|
23,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUsePercentageBasedPrice();
|
|
if (f) {
|
|
writer.writeBool(
|
|
24,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPeerTagMapMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(25, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
f = message.getBitcoinNodes();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
26,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIgnoreTradersListList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
27,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDirectoryChooserPath();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
28,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBuyerSecurityDepositAsLong();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
29,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUseAnimations();
|
|
if (f) {
|
|
writer.writeBool(
|
|
30,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSelectedpaymentAccountForCreateoffer();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
31,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccount.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBridgeAddressesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
32,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBridgeOptionOrdinal();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
33,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTorTransportOrdinal();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
34,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCustomBridges();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
35,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBitcoinNodesOptionOrdinal();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
36,
|
|
f
|
|
);
|
|
}
|
|
f = message.getReferralId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
37,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPhoneKeyAndToken();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
38,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUseSoundForMobileNotifications();
|
|
if (f) {
|
|
writer.writeBool(
|
|
39,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUseTradeNotifications();
|
|
if (f) {
|
|
writer.writeBool(
|
|
40,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUseMarketNotifications();
|
|
if (f) {
|
|
writer.writeBool(
|
|
41,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUsePriceNotifications();
|
|
if (f) {
|
|
writer.writeBool(
|
|
42,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUseStandbyMode();
|
|
if (f) {
|
|
writer.writeBool(
|
|
43,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRpcUser();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
44,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRpcPw();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
45,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTakeOfferSelectedPaymentAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
46,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBuyerSecurityDepositAsPercent();
|
|
if (f !== 0.0) {
|
|
writer.writeDouble(
|
|
47,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIgnoreDustThreshold();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
48,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBuyerSecurityDepositAsPercentForCrypto();
|
|
if (f !== 0.0) {
|
|
writer.writeDouble(
|
|
49,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBlockNotifyPort();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
50,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCssTheme();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
51,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTacAcceptedV120();
|
|
if (f) {
|
|
writer.writeBool(
|
|
52,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAutoConfirmSettingsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
53,
|
|
f,
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBsqAverageTrimThreshold();
|
|
if (f !== 0.0) {
|
|
writer.writeDouble(
|
|
54,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHideNonAccountPaymentMethods();
|
|
if (f) {
|
|
writer.writeBool(
|
|
55,
|
|
f
|
|
);
|
|
}
|
|
f = message.getShowOffersMatchingMyAccounts();
|
|
if (f) {
|
|
writer.writeBool(
|
|
56,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDenyApiTaker();
|
|
if (f) {
|
|
writer.writeBool(
|
|
57,
|
|
f
|
|
);
|
|
}
|
|
f = message.getNotifyOnPreRelease();
|
|
if (f) {
|
|
writer.writeBool(
|
|
58,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMoneroNodeSettings();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
59,
|
|
f,
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getClearDataAfterDays();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
60,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBuyScreenCryptoCurrencyCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
61,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSellScreenCryptoCurrencyCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
62,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string user_language = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getUserLanguage = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setUserLanguage = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Country user_country = 2;
|
|
* @return {?proto.io.bisq.protobuffer.Country}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getUserCountry = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Country} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Country, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Country|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setUserCountry = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearUserCountry = function() {
|
|
return this.setUserCountry(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.hasUserCountry = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated TradeCurrency fiat_currencies = 3;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.TradeCurrency>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getFiatCurrenciesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.TradeCurrency>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.TradeCurrency, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.TradeCurrency>} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setFiatCurrenciesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.TradeCurrency=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.TradeCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.addFiatCurrencies = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.io.bisq.protobuffer.TradeCurrency, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearFiatCurrenciesList = function() {
|
|
return this.setFiatCurrenciesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated TradeCurrency crypto_currencies = 4;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.TradeCurrency>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getCryptoCurrenciesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.TradeCurrency>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.TradeCurrency, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.TradeCurrency>} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setCryptoCurrenciesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.TradeCurrency=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.TradeCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.addCryptoCurrencies = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.io.bisq.protobuffer.TradeCurrency, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearCryptoCurrenciesList = function() {
|
|
return this.setCryptoCurrenciesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional BlockChainExplorer block_chain_explorer_main_net = 5;
|
|
* @return {?proto.io.bisq.protobuffer.BlockChainExplorer}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBlockChainExplorerMainNet = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.BlockChainExplorer} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.BlockChainExplorer, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.BlockChainExplorer|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBlockChainExplorerMainNet = function(value) {
|
|
return jspb.Message.setWrapperField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearBlockChainExplorerMainNet = function() {
|
|
return this.setBlockChainExplorerMainNet(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.hasBlockChainExplorerMainNet = function() {
|
|
return jspb.Message.getField(this, 5) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional BlockChainExplorer block_chain_explorer_test_net = 6;
|
|
* @return {?proto.io.bisq.protobuffer.BlockChainExplorer}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBlockChainExplorerTestNet = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.BlockChainExplorer} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.BlockChainExplorer, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.BlockChainExplorer|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBlockChainExplorerTestNet = function(value) {
|
|
return jspb.Message.setWrapperField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearBlockChainExplorerTestNet = function() {
|
|
return this.setBlockChainExplorerTestNet(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.hasBlockChainExplorerTestNet = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string backup_directory = 7;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBackupDirectory = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBackupDirectory = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool auto_select_arbitrators = 8;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getAutoSelectArbitrators = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setAutoSelectArbitrators = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, bool> dont_show_again_map = 9;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,boolean>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getDontShowAgainMapMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,boolean>} */ (
|
|
jspb.Message.getMapField(this, 9, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearDontShowAgainMapMap = function() {
|
|
this.getDontShowAgainMapMap().clear();
|
|
return this;};
|
|
|
|
|
|
/**
|
|
* optional bool tac_accepted = 10;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getTacAccepted = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setTacAccepted = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_tor_for_bitcoin_j = 11;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getUseTorForBitcoinJ = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setUseTorForBitcoinJ = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool show_own_offers_in_offer_book = 12;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getShowOwnOffersInOfferBook = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setShowOwnOffersInOfferBook = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TradeCurrency preferred_trade_currency = 13;
|
|
* @return {?proto.io.bisq.protobuffer.TradeCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getPreferredTradeCurrency = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TradeCurrency} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradeCurrency, 13));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TradeCurrency|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setPreferredTradeCurrency = function(value) {
|
|
return jspb.Message.setWrapperField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearPreferredTradeCurrency = function() {
|
|
return this.setPreferredTradeCurrency(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.hasPreferredTradeCurrency = function() {
|
|
return jspb.Message.getField(this, 13) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 withdrawal_tx_fee_in_vbytes = 14;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getWithdrawalTxFeeInVbytes = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setWithdrawalTxFeeInVbytes = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_custom_withdrawal_tx_fee = 15;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getUseCustomWithdrawalTxFee = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setUseCustomWithdrawalTxFee = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional double max_price_distance_in_percent = 16;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getMaxPriceDistanceInPercent = function() {
|
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setMaxPriceDistanceInPercent = function(value) {
|
|
return jspb.Message.setProto3FloatField(this, 16, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string offer_book_chart_screen_currency_code = 17;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getOfferBookChartScreenCurrencyCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setOfferBookChartScreenCurrencyCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 17, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string trade_charts_screen_currency_code = 18;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getTradeChartsScreenCurrencyCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setTradeChartsScreenCurrencyCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 18, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string buy_screen_currency_code = 19;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBuyScreenCurrencyCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBuyScreenCurrencyCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 19, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string sell_screen_currency_code = 20;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getSellScreenCurrencyCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setSellScreenCurrencyCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 20, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 trade_statistics_tick_unit_index = 21;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getTradeStatisticsTickUnitIndex = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setTradeStatisticsTickUnitIndex = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 21, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool resync_Spv_requested = 22;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getResyncSpvRequested = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setResyncSpvRequested = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 22, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool sort_market_currencies_numerically = 23;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getSortMarketCurrenciesNumerically = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 23, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setSortMarketCurrenciesNumerically = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 23, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_percentage_based_price = 24;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getUsePercentageBasedPrice = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 24, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setUsePercentageBasedPrice = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 24, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> peer_tag_map = 25;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getPeerTagMapMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 25, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearPeerTagMapMap = function() {
|
|
this.getPeerTagMapMap().clear();
|
|
return this;};
|
|
|
|
|
|
/**
|
|
* optional string bitcoin_nodes = 26;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBitcoinNodes = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBitcoinNodes = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 26, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string ignore_traders_list = 27;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getIgnoreTradersListList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 27));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setIgnoreTradersListList = function(value) {
|
|
return jspb.Message.setField(this, 27, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.addIgnoreTradersList = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 27, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearIgnoreTradersListList = function() {
|
|
return this.setIgnoreTradersListList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string directory_chooser_path = 28;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getDirectoryChooserPath = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setDirectoryChooserPath = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 28, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 buyer_security_deposit_as_long = 29;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBuyerSecurityDepositAsLong = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 29, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBuyerSecurityDepositAsLong = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 29, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_animations = 30;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getUseAnimations = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 30, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setUseAnimations = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 30, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentAccount selectedPayment_account_for_createOffer = 31;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentAccount}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getSelectedpaymentAccountForCreateoffer = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentAccount} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccount, 31));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentAccount|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setSelectedpaymentAccountForCreateoffer = function(value) {
|
|
return jspb.Message.setWrapperField(this, 31, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearSelectedpaymentAccountForCreateoffer = function() {
|
|
return this.setSelectedpaymentAccountForCreateoffer(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.hasSelectedpaymentAccountForCreateoffer = function() {
|
|
return jspb.Message.getField(this, 31) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string bridge_addresses = 32;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBridgeAddressesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 32));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBridgeAddressesList = function(value) {
|
|
return jspb.Message.setField(this, 32, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.addBridgeAddresses = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 32, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearBridgeAddressesList = function() {
|
|
return this.setBridgeAddressesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 bridge_option_ordinal = 33;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBridgeOptionOrdinal = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 33, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBridgeOptionOrdinal = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 33, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 tor_transport_ordinal = 34;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getTorTransportOrdinal = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 34, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setTorTransportOrdinal = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 34, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string custom_bridges = 35;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getCustomBridges = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setCustomBridges = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 35, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 bitcoin_nodes_option_ordinal = 36;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBitcoinNodesOptionOrdinal = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 36, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBitcoinNodesOptionOrdinal = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 36, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string referral_id = 37;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getReferralId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setReferralId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 37, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string phone_key_and_token = 38;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getPhoneKeyAndToken = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setPhoneKeyAndToken = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 38, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_sound_for_mobile_notifications = 39;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getUseSoundForMobileNotifications = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 39, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setUseSoundForMobileNotifications = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 39, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_trade_notifications = 40;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getUseTradeNotifications = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 40, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setUseTradeNotifications = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 40, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_market_notifications = 41;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getUseMarketNotifications = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 41, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setUseMarketNotifications = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 41, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_price_notifications = 42;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getUsePriceNotifications = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 42, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setUsePriceNotifications = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 42, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool use_standby_mode = 43;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getUseStandbyMode = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 43, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setUseStandbyMode = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 43, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string rpc_user = 44;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getRpcUser = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 44, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setRpcUser = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 44, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string rpc_pw = 45;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getRpcPw = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 45, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setRpcPw = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 45, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string take_offer_selected_payment_account_id = 46;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getTakeOfferSelectedPaymentAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 46, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setTakeOfferSelectedPaymentAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 46, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional double buyer_security_deposit_as_percent = 47;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBuyerSecurityDepositAsPercent = function() {
|
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 47, 0.0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBuyerSecurityDepositAsPercent = function(value) {
|
|
return jspb.Message.setProto3FloatField(this, 47, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 ignore_dust_threshold = 48;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getIgnoreDustThreshold = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 48, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setIgnoreDustThreshold = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 48, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional double buyer_security_deposit_as_percent_for_crypto = 49;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBuyerSecurityDepositAsPercentForCrypto = function() {
|
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 49, 0.0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBuyerSecurityDepositAsPercentForCrypto = function(value) {
|
|
return jspb.Message.setProto3FloatField(this, 49, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 block_notify_port = 50;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBlockNotifyPort = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 50, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBlockNotifyPort = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 50, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 css_theme = 51;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getCssTheme = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 51, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setCssTheme = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 51, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool tac_accepted_v120 = 52;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getTacAcceptedV120 = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 52, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setTacAcceptedV120 = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 52, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated AutoConfirmSettings auto_confirm_settings = 53;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.AutoConfirmSettings>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getAutoConfirmSettingsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.AutoConfirmSettings>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.AutoConfirmSettings, 53));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.AutoConfirmSettings>} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setAutoConfirmSettingsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 53, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.AutoConfirmSettings=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.AutoConfirmSettings}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.addAutoConfirmSettings = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 53, opt_value, proto.io.bisq.protobuffer.AutoConfirmSettings, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearAutoConfirmSettingsList = function() {
|
|
return this.setAutoConfirmSettingsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional double bsq_average_trim_threshold = 54;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBsqAverageTrimThreshold = function() {
|
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 54, 0.0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBsqAverageTrimThreshold = function(value) {
|
|
return jspb.Message.setProto3FloatField(this, 54, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool hide_non_account_payment_methods = 55;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getHideNonAccountPaymentMethods = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 55, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setHideNonAccountPaymentMethods = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 55, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool show_offers_matching_my_accounts = 56;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getShowOffersMatchingMyAccounts = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 56, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setShowOffersMatchingMyAccounts = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 56, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool deny_api_taker = 57;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getDenyApiTaker = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 57, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setDenyApiTaker = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 57, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool notify_on_pre_release = 58;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getNotifyOnPreRelease = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 58, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setNotifyOnPreRelease = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 58, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional MoneroNodeSettings monero_node_settings = 59;
|
|
* @return {?proto.io.bisq.protobuffer.MoneroNodeSettings}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getMoneroNodeSettings = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.MoneroNodeSettings} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.MoneroNodeSettings, 59));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.MoneroNodeSettings|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setMoneroNodeSettings = function(value) {
|
|
return jspb.Message.setWrapperField(this, 59, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.clearMoneroNodeSettings = function() {
|
|
return this.setMoneroNodeSettings(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.hasMoneroNodeSettings = function() {
|
|
return jspb.Message.getField(this, 59) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 clear_data_after_days = 60;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getClearDataAfterDays = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 60, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setClearDataAfterDays = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 60, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string buy_screen_crypto_currency_code = 61;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getBuyScreenCryptoCurrencyCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 61, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setBuyScreenCryptoCurrencyCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 61, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string sell_screen_crypto_currency_code = 62;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.getSellScreenCryptoCurrencyCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 62, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PreferencesPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PreferencesPayload.prototype.setSellScreenCryptoCurrencyCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 62, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.repeatedFields_ = [4];
|
|
|
|
|
|
|
|
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_<name>, 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.AutoConfirmSettings.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.AutoConfirmSettings.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.AutoConfirmSettings} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
requiredConfirmations: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
tradeLimit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
serviceAddressesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
currencyCode: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
};
|
|
|
|
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.AutoConfirmSettings}
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.AutoConfirmSettings;
|
|
return proto.io.bisq.protobuffer.AutoConfirmSettings.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.AutoConfirmSettings} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.AutoConfirmSettings}
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.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.setEnabled(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setRequiredConfirmations(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setTradeLimit(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addServiceAddresses(value);
|
|
break;
|
|
case 5:
|
|
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.AutoConfirmSettings.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.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.AutoConfirmSettings} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getEnabled();
|
|
if (f) {
|
|
writer.writeBool(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRequiredConfirmations();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeLimit();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getServiceAddressesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCurrencyCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool enabled = 1;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.getEnabled = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.AutoConfirmSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.setEnabled = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 required_confirmations = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.getRequiredConfirmations = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.AutoConfirmSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.setRequiredConfirmations = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 trade_limit = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.getTradeLimit = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.AutoConfirmSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.setTradeLimit = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string service_addresses = 4;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.getServiceAddressesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.AutoConfirmSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.setServiceAddressesList = function(value) {
|
|
return jspb.Message.setField(this, 4, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.AutoConfirmSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.addServiceAddresses = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.AutoConfirmSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.clearServiceAddressesList = function() {
|
|
return this.setServiceAddressesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string currency_code = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.getCurrencyCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.AutoConfirmSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.AutoConfirmSettings.prototype.setCurrencyCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.repeatedFields_ = [3];
|
|
|
|
|
|
|
|
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_<name>, 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.MoneroNodeSettings.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MoneroNodeSettings.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.MoneroNodeSettings} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
blockchainPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
bootstrapUrl: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
startupFlagsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : 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.MoneroNodeSettings}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MoneroNodeSettings;
|
|
return proto.io.bisq.protobuffer.MoneroNodeSettings.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MoneroNodeSettings} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MoneroNodeSettings}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.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.setBlockchainPath(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setBootstrapUrl(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addStartupFlags(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.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.MoneroNodeSettings} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getBlockchainPath();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getBootstrapUrl();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getStartupFlagsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string blockchain_path = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.prototype.getBlockchainPath = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MoneroNodeSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.prototype.setBlockchainPath = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string bootstrap_url = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.prototype.getBootstrapUrl = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MoneroNodeSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.prototype.setBootstrapUrl = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string startup_flags = 3;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.prototype.getStartupFlagsList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.MoneroNodeSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.prototype.setStartupFlagsList = function(value) {
|
|
return jspb.Message.setField(this, 3, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.MoneroNodeSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.prototype.addStartupFlags = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.MoneroNodeSettings} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MoneroNodeSettings.prototype.clearStartupFlagsList = function() {
|
|
return this.setStartupFlagsList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.repeatedFields_ = [2,4,8,9,13,14];
|
|
|
|
|
|
|
|
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_<name>, 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.UserPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.UserPayload.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.UserPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
accountId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
paymentAccountsList: jspb.Message.toObjectList(msg.getPaymentAccountsList(),
|
|
proto.io.bisq.protobuffer.PaymentAccount.toObject, includeInstance),
|
|
currentPaymentAccount: (f = msg.getCurrentPaymentAccount()) && proto.io.bisq.protobuffer.PaymentAccount.toObject(includeInstance, f),
|
|
acceptedLanguageLocaleCodesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
developersAlert: (f = msg.getDevelopersAlert()) && proto.io.bisq.protobuffer.Alert.toObject(includeInstance, f),
|
|
displayedAlert: (f = msg.getDisplayedAlert()) && proto.io.bisq.protobuffer.Alert.toObject(includeInstance, f),
|
|
developersFilter: (f = msg.getDevelopersFilter()) && proto.io.bisq.protobuffer.Filter.toObject(includeInstance, f),
|
|
acceptedArbitratorsList: jspb.Message.toObjectList(msg.getAcceptedArbitratorsList(),
|
|
proto.io.bisq.protobuffer.Arbitrator.toObject, includeInstance),
|
|
acceptedMediatorsList: jspb.Message.toObjectList(msg.getAcceptedMediatorsList(),
|
|
proto.io.bisq.protobuffer.Mediator.toObject, includeInstance),
|
|
registeredArbitrator: (f = msg.getRegisteredArbitrator()) && proto.io.bisq.protobuffer.Arbitrator.toObject(includeInstance, f),
|
|
registeredMediator: (f = msg.getRegisteredMediator()) && proto.io.bisq.protobuffer.Mediator.toObject(includeInstance, f),
|
|
priceAlertFilter: (f = msg.getPriceAlertFilter()) && proto.io.bisq.protobuffer.PriceAlertFilter.toObject(includeInstance, f),
|
|
marketAlertFiltersList: jspb.Message.toObjectList(msg.getMarketAlertFiltersList(),
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.toObject, includeInstance),
|
|
acceptedRefundAgentsList: jspb.Message.toObjectList(msg.getAcceptedRefundAgentsList(),
|
|
proto.io.bisq.protobuffer.RefundAgent.toObject, includeInstance),
|
|
registeredRefundAgent: (f = msg.getRegisteredRefundAgent()) && proto.io.bisq.protobuffer.RefundAgent.toObject(includeInstance, f),
|
|
cookieMap: (f = msg.getCookieMap()) ? f.toObject(includeInstance, undefined) : []
|
|
};
|
|
|
|
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.UserPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.UserPayload;
|
|
return proto.io.bisq.protobuffer.UserPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.UserPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.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.setAccountId(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.PaymentAccount;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccount.deserializeBinaryFromReader);
|
|
msg.addPaymentAccounts(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.PaymentAccount;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccount.deserializeBinaryFromReader);
|
|
msg.setCurrentPaymentAccount(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addAcceptedLanguageLocaleCodes(value);
|
|
break;
|
|
case 5:
|
|
var value = new proto.io.bisq.protobuffer.Alert;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Alert.deserializeBinaryFromReader);
|
|
msg.setDevelopersAlert(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.Alert;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Alert.deserializeBinaryFromReader);
|
|
msg.setDisplayedAlert(value);
|
|
break;
|
|
case 7:
|
|
var value = new proto.io.bisq.protobuffer.Filter;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Filter.deserializeBinaryFromReader);
|
|
msg.setDevelopersFilter(value);
|
|
break;
|
|
case 8:
|
|
var value = new proto.io.bisq.protobuffer.Arbitrator;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Arbitrator.deserializeBinaryFromReader);
|
|
msg.addAcceptedArbitrators(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.io.bisq.protobuffer.Mediator;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Mediator.deserializeBinaryFromReader);
|
|
msg.addAcceptedMediators(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.Arbitrator;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Arbitrator.deserializeBinaryFromReader);
|
|
msg.setRegisteredArbitrator(value);
|
|
break;
|
|
case 11:
|
|
var value = new proto.io.bisq.protobuffer.Mediator;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Mediator.deserializeBinaryFromReader);
|
|
msg.setRegisteredMediator(value);
|
|
break;
|
|
case 12:
|
|
var value = new proto.io.bisq.protobuffer.PriceAlertFilter;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PriceAlertFilter.deserializeBinaryFromReader);
|
|
msg.setPriceAlertFilter(value);
|
|
break;
|
|
case 13:
|
|
var value = new proto.io.bisq.protobuffer.MarketAlertFilter;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.MarketAlertFilter.deserializeBinaryFromReader);
|
|
msg.addMarketAlertFilters(value);
|
|
break;
|
|
case 14:
|
|
var value = new proto.io.bisq.protobuffer.RefundAgent;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RefundAgent.deserializeBinaryFromReader);
|
|
msg.addAcceptedRefundAgents(value);
|
|
break;
|
|
case 15:
|
|
var value = new proto.io.bisq.protobuffer.RefundAgent;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.RefundAgent.deserializeBinaryFromReader);
|
|
msg.setRegisteredRefundAgent(value);
|
|
break;
|
|
case 16:
|
|
var value = msg.getCookieMap();
|
|
reader.readMessage(value, function(message, reader) {
|
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
});
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.UserPayload.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.UserPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getAccountId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentAccountsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccount.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCurrentPaymentAccount();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccount.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAcceptedLanguageLocaleCodesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getDevelopersAlert();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
5,
|
|
f,
|
|
proto.io.bisq.protobuffer.Alert.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDisplayedAlert();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.Alert.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDevelopersFilter();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
7,
|
|
f,
|
|
proto.io.bisq.protobuffer.Filter.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAcceptedArbitratorsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
8,
|
|
f,
|
|
proto.io.bisq.protobuffer.Arbitrator.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAcceptedMediatorsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
9,
|
|
f,
|
|
proto.io.bisq.protobuffer.Mediator.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRegisteredArbitrator();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.Arbitrator.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRegisteredMediator();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
11,
|
|
f,
|
|
proto.io.bisq.protobuffer.Mediator.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPriceAlertFilter();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
12,
|
|
f,
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getMarketAlertFiltersList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
13,
|
|
f,
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAcceptedRefundAgentsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
14,
|
|
f,
|
|
proto.io.bisq.protobuffer.RefundAgent.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRegisteredRefundAgent();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
15,
|
|
f,
|
|
proto.io.bisq.protobuffer.RefundAgent.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getCookieMap(true);
|
|
if (f && f.getLength() > 0) {
|
|
f.serializeBinary(16, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getAccountId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setAccountId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated PaymentAccount payment_accounts = 2;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.PaymentAccount>}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getPaymentAccountsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.PaymentAccount>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.PaymentAccount, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.PaymentAccount>} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setPaymentAccountsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccount=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.addPaymentAccounts = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.io.bisq.protobuffer.PaymentAccount, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearPaymentAccountsList = function() {
|
|
return this.setPaymentAccountsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentAccount current_payment_account = 3;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentAccount}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getCurrentPaymentAccount = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentAccount} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccount, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentAccount|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setCurrentPaymentAccount = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearCurrentPaymentAccount = function() {
|
|
return this.setCurrentPaymentAccount(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.hasCurrentPaymentAccount = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string accepted_language_locale_codes = 4;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getAcceptedLanguageLocaleCodesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setAcceptedLanguageLocaleCodesList = function(value) {
|
|
return jspb.Message.setField(this, 4, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.addAcceptedLanguageLocaleCodes = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearAcceptedLanguageLocaleCodesList = function() {
|
|
return this.setAcceptedLanguageLocaleCodesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Alert developers_alert = 5;
|
|
* @return {?proto.io.bisq.protobuffer.Alert}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getDevelopersAlert = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Alert} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Alert, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Alert|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setDevelopersAlert = function(value) {
|
|
return jspb.Message.setWrapperField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearDevelopersAlert = function() {
|
|
return this.setDevelopersAlert(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.hasDevelopersAlert = function() {
|
|
return jspb.Message.getField(this, 5) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Alert displayed_alert = 6;
|
|
* @return {?proto.io.bisq.protobuffer.Alert}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getDisplayedAlert = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Alert} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Alert, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Alert|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setDisplayedAlert = function(value) {
|
|
return jspb.Message.setWrapperField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearDisplayedAlert = function() {
|
|
return this.setDisplayedAlert(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.hasDisplayedAlert = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Filter developers_filter = 7;
|
|
* @return {?proto.io.bisq.protobuffer.Filter}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getDevelopersFilter = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Filter} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Filter, 7));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Filter|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setDevelopersFilter = function(value) {
|
|
return jspb.Message.setWrapperField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearDevelopersFilter = function() {
|
|
return this.setDevelopersFilter(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.hasDevelopersFilter = function() {
|
|
return jspb.Message.getField(this, 7) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Arbitrator accepted_arbitrators = 8;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Arbitrator>}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getAcceptedArbitratorsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Arbitrator>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Arbitrator, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Arbitrator>} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setAcceptedArbitratorsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Arbitrator=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Arbitrator}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.addAcceptedArbitrators = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.io.bisq.protobuffer.Arbitrator, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearAcceptedArbitratorsList = function() {
|
|
return this.setAcceptedArbitratorsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Mediator accepted_mediators = 9;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Mediator>}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getAcceptedMediatorsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Mediator>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Mediator, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Mediator>} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setAcceptedMediatorsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Mediator=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Mediator}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.addAcceptedMediators = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.io.bisq.protobuffer.Mediator, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearAcceptedMediatorsList = function() {
|
|
return this.setAcceptedMediatorsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Arbitrator registered_arbitrator = 10;
|
|
* @return {?proto.io.bisq.protobuffer.Arbitrator}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getRegisteredArbitrator = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Arbitrator} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Arbitrator, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Arbitrator|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setRegisteredArbitrator = function(value) {
|
|
return jspb.Message.setWrapperField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearRegisteredArbitrator = function() {
|
|
return this.setRegisteredArbitrator(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.hasRegisteredArbitrator = function() {
|
|
return jspb.Message.getField(this, 10) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Mediator registered_mediator = 11;
|
|
* @return {?proto.io.bisq.protobuffer.Mediator}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getRegisteredMediator = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Mediator} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Mediator, 11));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Mediator|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setRegisteredMediator = function(value) {
|
|
return jspb.Message.setWrapperField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearRegisteredMediator = function() {
|
|
return this.setRegisteredMediator(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.hasRegisteredMediator = function() {
|
|
return jspb.Message.getField(this, 11) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PriceAlertFilter price_alert_filter = 12;
|
|
* @return {?proto.io.bisq.protobuffer.PriceAlertFilter}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getPriceAlertFilter = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PriceAlertFilter} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PriceAlertFilter, 12));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PriceAlertFilter|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setPriceAlertFilter = function(value) {
|
|
return jspb.Message.setWrapperField(this, 12, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearPriceAlertFilter = function() {
|
|
return this.setPriceAlertFilter(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.hasPriceAlertFilter = function() {
|
|
return jspb.Message.getField(this, 12) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated MarketAlertFilter market_alert_filters = 13;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.MarketAlertFilter>}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getMarketAlertFiltersList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.MarketAlertFilter>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.MarketAlertFilter, 13));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.MarketAlertFilter>} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setMarketAlertFiltersList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.MarketAlertFilter=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.MarketAlertFilter}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.addMarketAlertFilters = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.io.bisq.protobuffer.MarketAlertFilter, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearMarketAlertFiltersList = function() {
|
|
return this.setMarketAlertFiltersList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated RefundAgent accepted_refund_agents = 14;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.RefundAgent>}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getAcceptedRefundAgentsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.RefundAgent>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.RefundAgent, 14));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.RefundAgent>} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setAcceptedRefundAgentsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.RefundAgent=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.RefundAgent}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.addAcceptedRefundAgents = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.io.bisq.protobuffer.RefundAgent, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearAcceptedRefundAgentsList = function() {
|
|
return this.setAcceptedRefundAgentsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional RefundAgent registered_refund_agent = 15;
|
|
* @return {?proto.io.bisq.protobuffer.RefundAgent}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getRegisteredRefundAgent = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.RefundAgent} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.RefundAgent, 15));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.RefundAgent|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.setRegisteredRefundAgent = function(value) {
|
|
return jspb.Message.setWrapperField(this, 15, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearRegisteredRefundAgent = function() {
|
|
return this.setRegisteredRefundAgent(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.hasRegisteredRefundAgent = function() {
|
|
return jspb.Message.getField(this, 15) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* map<string, string> cookie = 16;
|
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
* empty, instead returning `undefined`
|
|
* @return {!jspb.Map<string,string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.getCookieMap = function(opt_noLazyCreate) {
|
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
jspb.Message.getMapField(this, 16, opt_noLazyCreate,
|
|
null));
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears values from the map. The map will be non-null.
|
|
* @return {!proto.io.bisq.protobuffer.UserPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.UserPayload.prototype.clearCookieMap = function() {
|
|
this.getCookieMap().clear();
|
|
return this;};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.BlockChainExplorer.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.BlockChainExplorer.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.BlockChainExplorer} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
txUrl: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
addressUrl: 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.BlockChainExplorer}
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.BlockChainExplorer;
|
|
return proto.io.bisq.protobuffer.BlockChainExplorer.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.BlockChainExplorer} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.BlockChainExplorer}
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.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.setName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setTxUrl(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAddressUrl(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.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.BlockChainExplorer} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTxUrl();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAddressUrl();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.prototype.getName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BlockChainExplorer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.prototype.setName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string tx_url = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.prototype.getTxUrl = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BlockChainExplorer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.prototype.setTxUrl = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string address_url = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.prototype.getAddressUrl = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.BlockChainExplorer} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.BlockChainExplorer.prototype.setAddressUrl = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.repeatedFields_ = [5];
|
|
|
|
|
|
|
|
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_<name>, 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.PaymentAccount.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PaymentAccount.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.PaymentAccount} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
creationDate: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
paymentMethod: (f = msg.getPaymentMethod()) && proto.io.bisq.protobuffer.PaymentMethod.toObject(includeInstance, f),
|
|
accountName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
tradeCurrenciesList: jspb.Message.toObjectList(msg.getTradeCurrenciesList(),
|
|
proto.io.bisq.protobuffer.TradeCurrency.toObject, includeInstance),
|
|
selectedTradeCurrency: (f = msg.getSelectedTradeCurrency()) && proto.io.bisq.protobuffer.TradeCurrency.toObject(includeInstance, f),
|
|
paymentAccountPayload: (f = msg.getPaymentAccountPayload()) && proto.io.bisq.protobuffer.PaymentAccountPayload.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.PaymentAccount}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PaymentAccount;
|
|
return proto.io.bisq.protobuffer.PaymentAccount.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccount} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.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.readInt64String());
|
|
msg.setCreationDate(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.PaymentMethod;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentMethod.deserializeBinaryFromReader);
|
|
msg.setPaymentMethod(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setAccountName(value);
|
|
break;
|
|
case 5:
|
|
var value = new proto.io.bisq.protobuffer.TradeCurrency;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeCurrency.deserializeBinaryFromReader);
|
|
msg.addTradeCurrencies(value);
|
|
break;
|
|
case 6:
|
|
var value = new proto.io.bisq.protobuffer.TradeCurrency;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeCurrency.deserializeBinaryFromReader);
|
|
msg.setSelectedTradeCurrency(value);
|
|
break;
|
|
case 7:
|
|
var value = new proto.io.bisq.protobuffer.PaymentAccountPayload;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccountPayload.deserializeBinaryFromReader);
|
|
msg.setPaymentAccountPayload(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PaymentAccount.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.PaymentAccount} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCreationDate();
|
|
if (parseInt(f, 10) !== 0) {
|
|
writer.writeInt64String(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPaymentMethod();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentMethod.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getAccountName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTradeCurrenciesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
5,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeCurrency.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSelectedTradeCurrency();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeCurrency.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPaymentAccountPayload();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
7,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccountPayload.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.getId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.setId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 creation_date = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.getCreationDate = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.setCreationDate = function(value) {
|
|
return jspb.Message.setProto3StringIntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentMethod payment_method = 3;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentMethod}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.getPaymentMethod = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentMethod} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentMethod, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentMethod|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.setPaymentMethod = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.clearPaymentMethod = function() {
|
|
return this.setPaymentMethod(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.hasPaymentMethod = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string account_name = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.getAccountName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.setAccountName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated TradeCurrency trade_currencies = 5;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.TradeCurrency>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.getTradeCurrenciesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.TradeCurrency>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.TradeCurrency, 5));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.TradeCurrency>} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.setTradeCurrenciesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.TradeCurrency=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.TradeCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.addTradeCurrencies = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.io.bisq.protobuffer.TradeCurrency, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.clearTradeCurrenciesList = function() {
|
|
return this.setTradeCurrenciesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional TradeCurrency selected_trade_currency = 6;
|
|
* @return {?proto.io.bisq.protobuffer.TradeCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.getSelectedTradeCurrency = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.TradeCurrency} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradeCurrency, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.TradeCurrency|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.setSelectedTradeCurrency = function(value) {
|
|
return jspb.Message.setWrapperField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.clearSelectedTradeCurrency = function() {
|
|
return this.setSelectedTradeCurrency(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.hasSelectedTradeCurrency = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentAccountPayload payment_account_payload = 7;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentAccountPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.getPaymentAccountPayload = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentAccountPayload} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccountPayload, 7));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentAccountPayload|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.setPaymentAccountPayload = function(value) {
|
|
return jspb.Message.setWrapperField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccount} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.clearPaymentAccountPayload = function() {
|
|
return this.setPaymentAccountPayload(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccount.prototype.hasPaymentAccountPayload = function() {
|
|
return jspb.Message.getField(this, 7) != null;
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.repeatedFields_ = [4];
|
|
|
|
|
|
|
|
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_<name>, 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.PaymentMethod.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PaymentMethod.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.PaymentMethod} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
maxTradePeriod: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
maxTradeLimit: jspb.Message.getFieldWithDefault(msg, 3, "0"),
|
|
supportedAssetCodesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : 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.PaymentMethod}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PaymentMethod;
|
|
return proto.io.bisq.protobuffer.PaymentMethod.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PaymentMethod} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentMethod}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.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.readInt64String());
|
|
msg.setMaxTradePeriod(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readInt64String());
|
|
msg.setMaxTradeLimit(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addSupportedAssetCodes(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PaymentMethod.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.PaymentMethod} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getId();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMaxTradePeriod();
|
|
if (parseInt(f, 10) !== 0) {
|
|
writer.writeInt64String(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMaxTradeLimit();
|
|
if (parseInt(f, 10) !== 0) {
|
|
writer.writeInt64String(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSupportedAssetCodesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string id = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.prototype.getId = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentMethod} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.prototype.setId = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 max_trade_period = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.prototype.getMaxTradePeriod = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentMethod} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.prototype.setMaxTradePeriod = function(value) {
|
|
return jspb.Message.setProto3StringIntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 max_trade_limit = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.prototype.getMaxTradeLimit = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentMethod} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.prototype.setMaxTradeLimit = function(value) {
|
|
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string supported_asset_codes = 4;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.prototype.getSupportedAssetCodesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentMethod} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.prototype.setSupportedAssetCodesList = function(value) {
|
|
return jspb.Message.setField(this, 4, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.PaymentMethod} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.prototype.addSupportedAssetCodes = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentMethod} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentMethod.prototype.clearSupportedAssetCodesList = function() {
|
|
return this.setSupportedAssetCodesList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.Currency.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Currency.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.Currency} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Currency.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.Currency}
|
|
*/
|
|
proto.io.bisq.protobuffer.Currency.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Currency;
|
|
return proto.io.bisq.protobuffer.Currency.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Currency} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Currency}
|
|
*/
|
|
proto.io.bisq.protobuffer.Currency.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.Currency.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Currency.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.Currency} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Currency.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.Currency.prototype.getCurrencyCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Currency} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Currency.prototype.setCurrencyCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* Oneof group definitions for this message. Each group defines the field
|
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
* @private {!Array<!Array<number>>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.oneofGroups_ = [[3,4]];
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.MessageCase = {
|
|
MESSAGE_NOT_SET: 0,
|
|
CRYPTO_CURRENCY: 3,
|
|
FIAT_CURRENCY: 4
|
|
};
|
|
|
|
/**
|
|
* @return {proto.io.bisq.protobuffer.TradeCurrency.MessageCase}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.getMessageCase = function() {
|
|
return /** @type {proto.io.bisq.protobuffer.TradeCurrency.MessageCase} */(jspb.Message.computeOneofCase(this, proto.io.bisq.protobuffer.TradeCurrency.oneofGroups_[0]));
|
|
};
|
|
|
|
|
|
|
|
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_<name>, 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.TradeCurrency.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.TradeCurrency.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.TradeCurrency} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
cryptoCurrency: (f = msg.getCryptoCurrency()) && proto.io.bisq.protobuffer.CryptoCurrency.toObject(includeInstance, f),
|
|
fiatCurrency: (f = msg.getFiatCurrency()) && proto.io.bisq.protobuffer.FiatCurrency.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.TradeCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.TradeCurrency;
|
|
return proto.io.bisq.protobuffer.TradeCurrency.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.TradeCurrency} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.TradeCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.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.setCode(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setName(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.CryptoCurrency;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.CryptoCurrency.deserializeBinaryFromReader);
|
|
msg.setCryptoCurrency(value);
|
|
break;
|
|
case 4:
|
|
var value = new proto.io.bisq.protobuffer.FiatCurrency;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.FiatCurrency.deserializeBinaryFromReader);
|
|
msg.setFiatCurrency(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.TradeCurrency.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.TradeCurrency} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getCryptoCurrency();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.CryptoCurrency.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getFiatCurrency();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
4,
|
|
f,
|
|
proto.io.bisq.protobuffer.FiatCurrency.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string code = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.getCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeCurrency} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.setCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.getName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeCurrency} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.setName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional CryptoCurrency crypto_currency = 3;
|
|
* @return {?proto.io.bisq.protobuffer.CryptoCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.getCryptoCurrency = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.CryptoCurrency} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.CryptoCurrency, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.CryptoCurrency|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeCurrency} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.setCryptoCurrency = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 3, proto.io.bisq.protobuffer.TradeCurrency.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.TradeCurrency} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.clearCryptoCurrency = function() {
|
|
return this.setCryptoCurrency(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.hasCryptoCurrency = function() {
|
|
return jspb.Message.getField(this, 3) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional FiatCurrency fiat_currency = 4;
|
|
* @return {?proto.io.bisq.protobuffer.FiatCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.getFiatCurrency = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.FiatCurrency} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.FiatCurrency, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.FiatCurrency|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.TradeCurrency} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.setFiatCurrency = function(value) {
|
|
return jspb.Message.setOneofWrapperField(this, 4, proto.io.bisq.protobuffer.TradeCurrency.oneofGroups_[0], value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.TradeCurrency} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.clearFiatCurrency = function() {
|
|
return this.setFiatCurrency(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.TradeCurrency.prototype.hasFiatCurrency = function() {
|
|
return jspb.Message.getField(this, 4) != 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_<name>, 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.CryptoCurrency.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.CryptoCurrency.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.CryptoCurrency} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrency.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
isAsset: jspb.Message.getBooleanFieldWithDefault(msg, 1, 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.CryptoCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrency.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.CryptoCurrency;
|
|
return proto.io.bisq.protobuffer.CryptoCurrency.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.CryptoCurrency} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.CryptoCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrency.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.setIsAsset(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrency.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.CryptoCurrency.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.CryptoCurrency} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrency.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getIsAsset();
|
|
if (f) {
|
|
writer.writeBool(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_asset = 1;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrency.prototype.getIsAsset = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.CryptoCurrency} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.CryptoCurrency.prototype.setIsAsset = function(value) {
|
|
return jspb.Message.setProto3BooleanField(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_<name>, 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.FiatCurrency.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.FiatCurrency.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.FiatCurrency} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.FiatCurrency.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
currency: (f = msg.getCurrency()) && proto.io.bisq.protobuffer.Currency.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.FiatCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.FiatCurrency.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.FiatCurrency;
|
|
return proto.io.bisq.protobuffer.FiatCurrency.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.FiatCurrency} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.FiatCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.FiatCurrency.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.Currency;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Currency.deserializeBinaryFromReader);
|
|
msg.setCurrency(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.FiatCurrency.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.FiatCurrency.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.FiatCurrency} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.FiatCurrency.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getCurrency();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.Currency.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Currency currency = 1;
|
|
* @return {?proto.io.bisq.protobuffer.Currency}
|
|
*/
|
|
proto.io.bisq.protobuffer.FiatCurrency.prototype.getCurrency = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Currency} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Currency, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Currency|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.FiatCurrency} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.FiatCurrency.prototype.setCurrency = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.FiatCurrency} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.FiatCurrency.prototype.clearCurrency = function() {
|
|
return this.setCurrency(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.FiatCurrency.prototype.hasCurrency = 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_<name>, 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.Country.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Country.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.Country} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
region: (f = msg.getRegion()) && proto.io.bisq.protobuffer.Region.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.Country}
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Country;
|
|
return proto.io.bisq.protobuffer.Country.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Country} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Country}
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.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.setCode(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setName(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.io.bisq.protobuffer.Region;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Region.deserializeBinaryFromReader);
|
|
msg.setRegion(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Country.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.Country} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getRegion();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
3,
|
|
f,
|
|
proto.io.bisq.protobuffer.Region.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string code = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.prototype.getCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Country} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.prototype.setCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.prototype.getName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Country} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.prototype.setName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Region region = 3;
|
|
* @return {?proto.io.bisq.protobuffer.Region}
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.prototype.getRegion = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.Region} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.Region, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.Region|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.Country} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.prototype.setRegion = function(value) {
|
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.Country} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.prototype.clearRegion = function() {
|
|
return this.setRegion(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.Country.prototype.hasRegion = function() {
|
|
return jspb.Message.getField(this, 3) != 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_<name>, 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.Region.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.Region.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.Region} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Region.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
name: 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.Region}
|
|
*/
|
|
proto.io.bisq.protobuffer.Region.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.Region;
|
|
return proto.io.bisq.protobuffer.Region.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.Region} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.Region}
|
|
*/
|
|
proto.io.bisq.protobuffer.Region.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.setCode(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setName(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.Region.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.Region.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.Region} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.Region.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getCode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string code = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Region.prototype.getCode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Region} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Region.prototype.setCode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string name = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.Region.prototype.getName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.Region} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.Region.prototype.setName = 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_<name>, 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.PriceAlertFilter.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PriceAlertFilter.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.PriceAlertFilter} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
currencycode: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
high: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
low: jspb.Message.getFieldWithDefault(msg, 3, 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.PriceAlertFilter}
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PriceAlertFilter;
|
|
return proto.io.bisq.protobuffer.PriceAlertFilter.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PriceAlertFilter} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PriceAlertFilter}
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.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.readInt64());
|
|
msg.setHigh(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
msg.setLow(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.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.PriceAlertFilter} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getCurrencycode();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getHigh();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getLow();
|
|
if (f !== 0) {
|
|
writer.writeInt64(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string currencyCode = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.prototype.getCurrencycode = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PriceAlertFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.prototype.setCurrencycode = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 high = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.prototype.getHigh = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PriceAlertFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.prototype.setHigh = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int64 low = 3;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.prototype.getLow = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PriceAlertFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PriceAlertFilter.prototype.setLow = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.repeatedFields_ = [4];
|
|
|
|
|
|
|
|
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_<name>, 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.MarketAlertFilter.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MarketAlertFilter.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.MarketAlertFilter} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
paymentAccount: (f = msg.getPaymentAccount()) && proto.io.bisq.protobuffer.PaymentAccount.toObject(includeInstance, f),
|
|
triggerValue: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
isBuyOffer: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
alertIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : 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.MarketAlertFilter}
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MarketAlertFilter;
|
|
return proto.io.bisq.protobuffer.MarketAlertFilter.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MarketAlertFilter} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MarketAlertFilter}
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.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.PaymentAccount;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccount.deserializeBinaryFromReader);
|
|
msg.setPaymentAccount(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
msg.setTriggerValue(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setIsBuyOffer(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addAlertIds(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.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.MarketAlertFilter} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getPaymentAccount();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
1,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccount.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getTriggerValue();
|
|
if (f !== 0) {
|
|
writer.writeInt32(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getIsBuyOffer();
|
|
if (f) {
|
|
writer.writeBool(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getAlertIdsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional PaymentAccount payment_account = 1;
|
|
* @return {?proto.io.bisq.protobuffer.PaymentAccount}
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.getPaymentAccount = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.PaymentAccount} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccount, 1));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.PaymentAccount|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.MarketAlertFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.setPaymentAccount = function(value) {
|
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.MarketAlertFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.clearPaymentAccount = function() {
|
|
return this.setPaymentAccount(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.hasPaymentAccount = function() {
|
|
return jspb.Message.getField(this, 1) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional int32 trigger_value = 2;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.getTriggerValue = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.MarketAlertFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.setTriggerValue = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool is_buy_offer = 3;
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.getIsBuyOffer = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.io.bisq.protobuffer.MarketAlertFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.setIsBuyOffer = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string alert_ids = 4;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.getAlertIdsList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.MarketAlertFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.setAlertIdsList = function(value) {
|
|
return jspb.Message.setField(this, 4, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.MarketAlertFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.addAlertIds = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.MarketAlertFilter} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MarketAlertFilter.prototype.clearAlertIdsList = function() {
|
|
return this.setAlertIdsList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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_<name>, 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.MockMailboxPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MockMailboxPayload.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.MockMailboxPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
message: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
senderNodeAddress: (f = msg.getSenderNodeAddress()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
|
uid: 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.MockMailboxPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MockMailboxPayload;
|
|
return proto.io.bisq.protobuffer.MockMailboxPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MockMailboxPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MockMailboxPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.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.setMessage(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.NodeAddress;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.NodeAddress.deserializeBinaryFromReader);
|
|
msg.setSenderNodeAddress(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUid(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.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.MockMailboxPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMessage();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSenderNodeAddress();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.NodeAddress.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getUid();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string message = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.prototype.getMessage = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MockMailboxPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.prototype.setMessage = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional NodeAddress sender_node_address = 2;
|
|
* @return {?proto.io.bisq.protobuffer.NodeAddress}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.prototype.getSenderNodeAddress = function() {
|
|
return /** @type{?proto.io.bisq.protobuffer.NodeAddress} */ (
|
|
jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.NodeAddress, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.io.bisq.protobuffer.NodeAddress|undefined} value
|
|
* @return {!proto.io.bisq.protobuffer.MockMailboxPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.prototype.setSenderNodeAddress = function(value) {
|
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.io.bisq.protobuffer.MockMailboxPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.prototype.clearSenderNodeAddress = function() {
|
|
return this.setSenderNodeAddress(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.prototype.hasSenderNodeAddress = function() {
|
|
return jspb.Message.getField(this, 2) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string uid = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.prototype.getUid = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MockMailboxPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MockMailboxPayload.prototype.setUid = 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_<name>, 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.MockPayload.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.MockPayload.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.MockPayload} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MockPayload.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
messageVersion: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
message: 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.MockPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockPayload.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.MockPayload;
|
|
return proto.io.bisq.protobuffer.MockPayload.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.MockPayload} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.MockPayload}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockPayload.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.setMessageVersion(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setMessage(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockPayload.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.MockPayload.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.MockPayload} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.MockPayload.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getMessageVersion();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMessage();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string message_version = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockPayload.prototype.getMessageVersion = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MockPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MockPayload.prototype.setMessageVersion = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string message = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.MockPayload.prototype.getMessage = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.MockPayload} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.MockPayload.prototype.setMessage = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.repeatedFields_ = [2];
|
|
|
|
|
|
|
|
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_<name>, 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.PaymentAccountForm.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PaymentAccountForm.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.PaymentAccountForm} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
fieldsList: jspb.Message.toObjectList(msg.getFieldsList(),
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.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.PaymentAccountForm}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PaymentAccountForm;
|
|
return proto.io.bisq.protobuffer.PaymentAccountForm.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccountForm} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountForm}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.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.PaymentAccountForm.FormId} */ (reader.readEnum());
|
|
msg.setId(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.io.bisq.protobuffer.PaymentAccountFormField;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccountFormField.deserializeBinaryFromReader);
|
|
msg.addFields(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.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.PaymentAccountForm} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getId();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getFieldsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
2,
|
|
f,
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.FormId = {
|
|
BLOCK_CHAINS: 0,
|
|
REVOLUT: 1,
|
|
SEPA: 2,
|
|
SEPA_INSTANT: 3,
|
|
TRANSFERWISE: 4,
|
|
CLEAR_X_CHANGE: 5,
|
|
SWIFT: 6,
|
|
F2F: 7,
|
|
STRIKE: 8,
|
|
MONEY_GRAM: 9,
|
|
FASTER_PAYMENTS: 10,
|
|
UPHOLD: 11,
|
|
PAXUM: 12
|
|
};
|
|
|
|
/**
|
|
* optional FormId id = 1;
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountForm.FormId}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.prototype.getId = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.PaymentAccountForm.FormId} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccountForm.FormId} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountForm} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.prototype.setId = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated PaymentAccountFormField fields = 2;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.PaymentAccountFormField>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.prototype.getFieldsList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.PaymentAccountFormField>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.PaymentAccountFormField, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.PaymentAccountFormField>} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountForm} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.prototype.setFieldsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccountFormField=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.prototype.addFields = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.io.bisq.protobuffer.PaymentAccountFormField, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountForm} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountForm.prototype.clearFieldsList = function() {
|
|
return this.setFieldsList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.repeatedFields_ = [8,9,10,11,12];
|
|
|
|
|
|
|
|
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_<name>, 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.PaymentAccountFormField.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.io.bisq.protobuffer.PaymentAccountFormField.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.PaymentAccountFormField} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
component: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
label: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
value: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
minlength: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
maxlength: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
supportedCurrenciesList: jspb.Message.toObjectList(msg.getSupportedCurrenciesList(),
|
|
proto.io.bisq.protobuffer.TradeCurrency.toObject, includeInstance),
|
|
supportedCountriesList: jspb.Message.toObjectList(msg.getSupportedCountriesList(),
|
|
proto.io.bisq.protobuffer.Country.toObject, includeInstance),
|
|
supportedSepaEuroCountriesList: jspb.Message.toObjectList(msg.getSupportedSepaEuroCountriesList(),
|
|
proto.io.bisq.protobuffer.Country.toObject, includeInstance),
|
|
supportedSepaNonEuroCountriesList: jspb.Message.toObjectList(msg.getSupportedSepaNonEuroCountriesList(),
|
|
proto.io.bisq.protobuffer.Country.toObject, includeInstance),
|
|
requiredForCountriesList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : 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.PaymentAccountFormField}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.io.bisq.protobuffer.PaymentAccountFormField;
|
|
return proto.io.bisq.protobuffer.PaymentAccountFormField.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccountFormField} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.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.PaymentAccountFormField.FieldId} */ (reader.readEnum());
|
|
msg.setId(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {!proto.io.bisq.protobuffer.PaymentAccountFormField.Component} */ (reader.readEnum());
|
|
msg.setComponent(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setType(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setLabel(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setValue(value);
|
|
break;
|
|
case 6:
|
|
var value = /** @type {number} */ (reader.readUint32());
|
|
msg.setMinlength(value);
|
|
break;
|
|
case 7:
|
|
var value = /** @type {number} */ (reader.readUint32());
|
|
msg.setMaxlength(value);
|
|
break;
|
|
case 8:
|
|
var value = new proto.io.bisq.protobuffer.TradeCurrency;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.TradeCurrency.deserializeBinaryFromReader);
|
|
msg.addSupportedCurrencies(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.io.bisq.protobuffer.Country;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Country.deserializeBinaryFromReader);
|
|
msg.addSupportedCountries(value);
|
|
break;
|
|
case 10:
|
|
var value = new proto.io.bisq.protobuffer.Country;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Country.deserializeBinaryFromReader);
|
|
msg.addSupportedSepaEuroCountries(value);
|
|
break;
|
|
case 11:
|
|
var value = new proto.io.bisq.protobuffer.Country;
|
|
reader.readMessage(value,proto.io.bisq.protobuffer.Country.deserializeBinaryFromReader);
|
|
msg.addSupportedSepaNonEuroCountries(value);
|
|
break;
|
|
case 12:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addRequiredForCountries(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.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.PaymentAccountFormField} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getId();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getComponent();
|
|
if (f !== 0.0) {
|
|
writer.writeEnum(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getType();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getLabel();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
f = message.getValue();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMinlength();
|
|
if (f !== 0) {
|
|
writer.writeUint32(
|
|
6,
|
|
f
|
|
);
|
|
}
|
|
f = message.getMaxlength();
|
|
if (f !== 0) {
|
|
writer.writeUint32(
|
|
7,
|
|
f
|
|
);
|
|
}
|
|
f = message.getSupportedCurrenciesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
8,
|
|
f,
|
|
proto.io.bisq.protobuffer.TradeCurrency.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSupportedCountriesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
9,
|
|
f,
|
|
proto.io.bisq.protobuffer.Country.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSupportedSepaEuroCountriesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
10,
|
|
f,
|
|
proto.io.bisq.protobuffer.Country.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getSupportedSepaNonEuroCountriesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
11,
|
|
f,
|
|
proto.io.bisq.protobuffer.Country.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRequiredForCountriesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
12,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.FieldId = {
|
|
ADDRESS: 0,
|
|
ACCEPTED_COUNTRY_CODES: 1,
|
|
ACCOUNT_ID: 2,
|
|
ACCOUNT_NAME: 3,
|
|
ACCOUNT_NR: 4,
|
|
ACCOUNT_OWNER: 5,
|
|
ACCOUNT_TYPE: 6,
|
|
ANSWER: 7,
|
|
BANK_ACCOUNT_NAME: 8,
|
|
BANK_ACCOUNT_NUMBER: 9,
|
|
BANK_ACCOUNT_TYPE: 10,
|
|
BANK_ADDRESS: 11,
|
|
BANK_BRANCH: 12,
|
|
BANK_BRANCH_CODE: 13,
|
|
BANK_BRANCH_NAME: 14,
|
|
BANK_CODE: 15,
|
|
BANK_COUNTRY_CODE: 16,
|
|
BANK_ID: 17,
|
|
BANK_NAME: 18,
|
|
BANK_SWIFT_CODE: 19,
|
|
BENEFICIARY_ACCOUNT_NR: 20,
|
|
BENEFICIARY_ADDRESS: 21,
|
|
BENEFICIARY_CITY: 22,
|
|
BENEFICIARY_NAME: 23,
|
|
BENEFICIARY_PHONE: 24,
|
|
BIC: 25,
|
|
BRANCH_ID: 26,
|
|
CITY: 27,
|
|
CONTACT: 28,
|
|
COUNTRY: 29,
|
|
EMAIL: 30,
|
|
EMAIL_OR_MOBILE_NR: 31,
|
|
EXTRA_INFO: 32,
|
|
HOLDER_ADDRESS: 33,
|
|
HOLDER_EMAIL: 34,
|
|
HOLDER_NAME: 35,
|
|
HOLDER_TAX_ID: 36,
|
|
IBAN: 37,
|
|
IFSC: 38,
|
|
INTERMEDIARY_ADDRESS: 39,
|
|
INTERMEDIARY_BRANCH: 40,
|
|
INTERMEDIARY_COUNTRY_CODE: 41,
|
|
INTERMEDIARY_NAME: 42,
|
|
INTERMEDIARY_SWIFT_CODE: 43,
|
|
MOBILE_NR: 44,
|
|
NATIONAL_ACCOUNT_ID: 45,
|
|
PAYID: 46,
|
|
PIX_KEY: 47,
|
|
POSTAL_ADDRESS: 48,
|
|
PROMPT_PAY_ID: 49,
|
|
QUESTION: 50,
|
|
REQUIREMENTS: 51,
|
|
SALT: 52,
|
|
SORT_CODE: 53,
|
|
SPECIAL_INSTRUCTIONS: 54,
|
|
STATE: 55,
|
|
TRADE_CURRENCIES: 56,
|
|
USER_NAME: 57
|
|
};
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.Component = {
|
|
TEXT: 0,
|
|
TEXTAREA: 1,
|
|
SELECT_ONE: 2,
|
|
SELECT_MULTIPLE: 3
|
|
};
|
|
|
|
/**
|
|
* optional FieldId id = 1;
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField.FieldId}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getId = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.PaymentAccountFormField.FieldId} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccountFormField.FieldId} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setId = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional Component component = 2;
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField.Component}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getComponent = function() {
|
|
return /** @type {!proto.io.bisq.protobuffer.PaymentAccountFormField.Component} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.PaymentAccountFormField.Component} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setComponent = function(value) {
|
|
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string type = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getType = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setType = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string label = 4;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getLabel = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setLabel = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string value = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getValue = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setValue = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional uint32 minLength = 6;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getMinlength = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setMinlength = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional uint32 maxLength = 7;
|
|
* @return {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getMaxlength = function() {
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {number} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setMaxlength = function(value) {
|
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated TradeCurrency supported_currencies = 8;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.TradeCurrency>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getSupportedCurrenciesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.TradeCurrency>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.TradeCurrency, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.TradeCurrency>} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setSupportedCurrenciesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.TradeCurrency=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.TradeCurrency}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.addSupportedCurrencies = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.io.bisq.protobuffer.TradeCurrency, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.clearSupportedCurrenciesList = function() {
|
|
return this.setSupportedCurrenciesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Country supported_countries = 9;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Country>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getSupportedCountriesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Country>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Country, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Country>} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setSupportedCountriesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Country=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Country}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.addSupportedCountries = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.io.bisq.protobuffer.Country, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.clearSupportedCountriesList = function() {
|
|
return this.setSupportedCountriesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Country supported_sepa_euro_countries = 10;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Country>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getSupportedSepaEuroCountriesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Country>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Country, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Country>} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setSupportedSepaEuroCountriesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 10, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Country=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Country}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.addSupportedSepaEuroCountries = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.io.bisq.protobuffer.Country, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.clearSupportedSepaEuroCountriesList = function() {
|
|
return this.setSupportedSepaEuroCountriesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated Country supported_sepa_non_euro_countries = 11;
|
|
* @return {!Array<!proto.io.bisq.protobuffer.Country>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getSupportedSepaNonEuroCountriesList = function() {
|
|
return /** @type{!Array<!proto.io.bisq.protobuffer.Country>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.Country, 11));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.io.bisq.protobuffer.Country>} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setSupportedSepaNonEuroCountriesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.io.bisq.protobuffer.Country=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.Country}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.addSupportedSepaNonEuroCountries = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.io.bisq.protobuffer.Country, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.clearSupportedSepaNonEuroCountriesList = function() {
|
|
return this.setSupportedSepaNonEuroCountriesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string required_for_countries = 12;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.getRequiredForCountriesList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 12));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.setRequiredForCountriesList = function(value) {
|
|
return jspb.Message.setField(this, 12, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.addRequiredForCountries = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.io.bisq.protobuffer.PaymentAccountFormField} returns this
|
|
*/
|
|
proto.io.bisq.protobuffer.PaymentAccountFormField.prototype.clearRequiredForCountriesList = function() {
|
|
return this.setRequiredForCountriesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.SupportType = {
|
|
ARBITRATION: 0,
|
|
MEDIATION: 1,
|
|
TRADE: 2,
|
|
REFUND: 3
|
|
};
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.OfferDirection = {
|
|
OFFER_DIRECTION_ERROR: 0,
|
|
BUY: 1,
|
|
SELL: 2
|
|
};
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.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
|
|
};
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.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
|
|
};
|
|
|
|
/**
|
|
* @enum {number}
|
|
*/
|
|
proto.io.bisq.protobuffer.RefundResultState = {
|
|
PB_ERROR_REFUND_RESULT: 0,
|
|
UNDEFINED_REFUND_RESULT: 1
|
|
};
|
|
|
|
goog.object.extend(exports, proto.io.bisq.protobuffer);
|