Package org.bitcoinj.wallet
Class Protos.Wallet.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<Protos.Wallet,Protos.Wallet.Builder>
-
- org.bitcoinj.wallet.Protos.Wallet.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,Protos.WalletOrBuilder
- Enclosing class:
- Protos.Wallet
public static final class Protos.Wallet.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.Wallet,Protos.Wallet.Builder> implements Protos.WalletOrBuilder
A bitcoin wallet
Protobuf typewallet.Wallet
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Protos.Wallet.BuilderaddAllExtension(java.lang.Iterable<? extends Protos.Extension> values)repeated .wallet.Extension extension = 10;Protos.Wallet.BuilderaddAllKey(java.lang.Iterable<? extends Protos.Key> values)repeated .wallet.Key key = 3;Protos.Wallet.BuilderaddAllTags(java.lang.Iterable<? extends Protos.Tag> values)repeated .wallet.Tag tags = 16;Protos.Wallet.BuilderaddAllTransaction(java.lang.Iterable<? extends Protos.Transaction> values)repeated .wallet.Transaction transaction = 4;Protos.Wallet.BuilderaddAllWatchedScript(java.lang.Iterable<? extends Protos.Script> values)repeated .wallet.Script watched_script = 15;Protos.Wallet.BuilderaddExtension(int index, Protos.Extension value)repeated .wallet.Extension extension = 10;Protos.Wallet.BuilderaddExtension(int index, Protos.Extension.Builder builderForValue)repeated .wallet.Extension extension = 10;Protos.Wallet.BuilderaddExtension(Protos.Extension value)repeated .wallet.Extension extension = 10;Protos.Wallet.BuilderaddExtension(Protos.Extension.Builder builderForValue)repeated .wallet.Extension extension = 10;Protos.Wallet.BuilderaddKey(int index, Protos.Key value)repeated .wallet.Key key = 3;Protos.Wallet.BuilderaddKey(int index, Protos.Key.Builder builderForValue)repeated .wallet.Key key = 3;Protos.Wallet.BuilderaddKey(Protos.Key value)repeated .wallet.Key key = 3;Protos.Wallet.BuilderaddKey(Protos.Key.Builder builderForValue)repeated .wallet.Key key = 3;Protos.Wallet.BuilderaddTags(int index, Protos.Tag value)repeated .wallet.Tag tags = 16;Protos.Wallet.BuilderaddTags(int index, Protos.Tag.Builder builderForValue)repeated .wallet.Tag tags = 16;Protos.Wallet.BuilderaddTags(Protos.Tag value)repeated .wallet.Tag tags = 16;Protos.Wallet.BuilderaddTags(Protos.Tag.Builder builderForValue)repeated .wallet.Tag tags = 16;Protos.Wallet.BuilderaddTransaction(int index, Protos.Transaction value)repeated .wallet.Transaction transaction = 4;Protos.Wallet.BuilderaddTransaction(int index, Protos.Transaction.Builder builderForValue)repeated .wallet.Transaction transaction = 4;Protos.Wallet.BuilderaddTransaction(Protos.Transaction value)repeated .wallet.Transaction transaction = 4;Protos.Wallet.BuilderaddTransaction(Protos.Transaction.Builder builderForValue)repeated .wallet.Transaction transaction = 4;Protos.Wallet.BuilderaddWatchedScript(int index, Protos.Script value)repeated .wallet.Script watched_script = 15;Protos.Wallet.BuilderaddWatchedScript(int index, Protos.Script.Builder builderForValue)repeated .wallet.Script watched_script = 15;Protos.Wallet.BuilderaddWatchedScript(Protos.Script value)repeated .wallet.Script watched_script = 15;Protos.Wallet.BuilderaddWatchedScript(Protos.Script.Builder builderForValue)repeated .wallet.Script watched_script = 15;Protos.Wallet.BuilderclearDescription()A UTF8 encoded text description of the wallet that is intended for end user provided text.Protos.Wallet.BuilderclearEncryptionParameters()optional .wallet.ScryptParameters encryption_parameters = 6;Protos.Wallet.BuilderclearEncryptionType()optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];Protos.Wallet.BuilderclearExtension()repeated .wallet.Extension extension = 10;Protos.Wallet.BuilderclearKey()repeated .wallet.Key key = 3;Protos.Wallet.BuilderclearKeyRotationTime()UNIX time in seconds since the epoch.Protos.Wallet.BuilderclearLastSeenBlockHash()The SHA256 hash of the head of the best chain seen by this wallet.Protos.Wallet.BuilderclearLastSeenBlockHeight()The height in the chain of the last seen block.Protos.Wallet.BuilderclearLastSeenBlockTimeSecs()optional int64 last_seen_block_time_secs = 14;Protos.Wallet.BuilderclearNetworkIdentifier()the network used by this walletProtos.Wallet.BuilderclearTags()repeated .wallet.Tag tags = 16;Protos.Wallet.BuilderclearTransaction()repeated .wallet.Transaction transaction = 4;Protos.Wallet.BuilderclearVersion()The version number of the wallet - used to detect wallets that were produced in the future (i.e.Protos.Wallet.BuilderclearWatchedScript()repeated .wallet.Script watched_script = 15;java.lang.StringgetDescription()A UTF8 encoded text description of the wallet that is intended for end user provided text.com.google.protobuf.ByteStringgetDescriptionBytes()A UTF8 encoded text description of the wallet that is intended for end user provided text.Protos.ScryptParametersgetEncryptionParameters()optional .wallet.ScryptParameters encryption_parameters = 6;Protos.Wallet.EncryptionTypegetEncryptionType()optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];Protos.ExtensiongetExtension(int index)repeated .wallet.Extension extension = 10;intgetExtensionCount()repeated .wallet.Extension extension = 10;java.util.List<Protos.Extension>getExtensionList()repeated .wallet.Extension extension = 10;Protos.KeygetKey(int index)repeated .wallet.Key key = 3;intgetKeyCount()repeated .wallet.Key key = 3;java.util.List<Protos.Key>getKeyList()repeated .wallet.Key key = 3;longgetKeyRotationTime()UNIX time in seconds since the epoch.com.google.protobuf.ByteStringgetLastSeenBlockHash()The SHA256 hash of the head of the best chain seen by this wallet.intgetLastSeenBlockHeight()The height in the chain of the last seen block.longgetLastSeenBlockTimeSecs()optional int64 last_seen_block_time_secs = 14;java.lang.StringgetNetworkIdentifier()the network used by this walletcom.google.protobuf.ByteStringgetNetworkIdentifierBytes()the network used by this walletProtos.TaggetTags(int index)repeated .wallet.Tag tags = 16;intgetTagsCount()repeated .wallet.Tag tags = 16;java.util.List<Protos.Tag>getTagsList()repeated .wallet.Tag tags = 16;Protos.TransactiongetTransaction(int index)repeated .wallet.Transaction transaction = 4;intgetTransactionCount()repeated .wallet.Transaction transaction = 4;java.util.List<Protos.Transaction>getTransactionList()repeated .wallet.Transaction transaction = 4;intgetVersion()The version number of the wallet - used to detect wallets that were produced in the future (i.e.Protos.ScriptgetWatchedScript(int index)repeated .wallet.Script watched_script = 15;intgetWatchedScriptCount()repeated .wallet.Script watched_script = 15;java.util.List<Protos.Script>getWatchedScriptList()repeated .wallet.Script watched_script = 15;booleanhasDescription()A UTF8 encoded text description of the wallet that is intended for end user provided text.booleanhasEncryptionParameters()optional .wallet.ScryptParameters encryption_parameters = 6;booleanhasEncryptionType()optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];booleanhasKeyRotationTime()UNIX time in seconds since the epoch.booleanhasLastSeenBlockHash()The SHA256 hash of the head of the best chain seen by this wallet.booleanhasLastSeenBlockHeight()The height in the chain of the last seen block.booleanhasLastSeenBlockTimeSecs()optional int64 last_seen_block_time_secs = 14;booleanhasNetworkIdentifier()the network used by this walletbooleanhasVersion()The version number of the wallet - used to detect wallets that were produced in the future (i.e.Protos.Wallet.BuildermergeEncryptionParameters(Protos.ScryptParameters value)optional .wallet.ScryptParameters encryption_parameters = 6;Protos.Wallet.BuilderremoveExtension(int index)repeated .wallet.Extension extension = 10;Protos.Wallet.BuilderremoveKey(int index)repeated .wallet.Key key = 3;Protos.Wallet.BuilderremoveTags(int index)repeated .wallet.Tag tags = 16;Protos.Wallet.BuilderremoveTransaction(int index)repeated .wallet.Transaction transaction = 4;Protos.Wallet.BuilderremoveWatchedScript(int index)repeated .wallet.Script watched_script = 15;Protos.Wallet.BuildersetDescription(java.lang.String value)A UTF8 encoded text description of the wallet that is intended for end user provided text.Protos.Wallet.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A UTF8 encoded text description of the wallet that is intended for end user provided text.Protos.Wallet.BuildersetEncryptionParameters(Protos.ScryptParameters value)optional .wallet.ScryptParameters encryption_parameters = 6;Protos.Wallet.BuildersetEncryptionParameters(Protos.ScryptParameters.Builder builderForValue)optional .wallet.ScryptParameters encryption_parameters = 6;Protos.Wallet.BuildersetEncryptionType(Protos.Wallet.EncryptionType value)optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];Protos.Wallet.BuildersetExtension(int index, Protos.Extension value)repeated .wallet.Extension extension = 10;Protos.Wallet.BuildersetExtension(int index, Protos.Extension.Builder builderForValue)repeated .wallet.Extension extension = 10;Protos.Wallet.BuildersetKey(int index, Protos.Key value)repeated .wallet.Key key = 3;Protos.Wallet.BuildersetKey(int index, Protos.Key.Builder builderForValue)repeated .wallet.Key key = 3;Protos.Wallet.BuildersetKeyRotationTime(long value)UNIX time in seconds since the epoch.Protos.Wallet.BuildersetLastSeenBlockHash(com.google.protobuf.ByteString value)The SHA256 hash of the head of the best chain seen by this wallet.Protos.Wallet.BuildersetLastSeenBlockHeight(int value)The height in the chain of the last seen block.Protos.Wallet.BuildersetLastSeenBlockTimeSecs(long value)optional int64 last_seen_block_time_secs = 14;Protos.Wallet.BuildersetNetworkIdentifier(java.lang.String value)the network used by this walletProtos.Wallet.BuildersetNetworkIdentifierBytes(com.google.protobuf.ByteString value)the network used by this walletProtos.Wallet.BuildersetTags(int index, Protos.Tag value)repeated .wallet.Tag tags = 16;Protos.Wallet.BuildersetTags(int index, Protos.Tag.Builder builderForValue)repeated .wallet.Tag tags = 16;Protos.Wallet.BuildersetTransaction(int index, Protos.Transaction value)repeated .wallet.Transaction transaction = 4;Protos.Wallet.BuildersetTransaction(int index, Protos.Transaction.Builder builderForValue)repeated .wallet.Transaction transaction = 4;Protos.Wallet.BuildersetVersion(int value)The version number of the wallet - used to detect wallets that were produced in the future (i.e.Protos.Wallet.BuildersetWatchedScript(int index, Protos.Script value)repeated .wallet.Script watched_script = 15;Protos.Wallet.BuildersetWatchedScript(int index, Protos.Script.Builder builderForValue)repeated .wallet.Script watched_script = 15;-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
hasNetworkIdentifier
public boolean hasNetworkIdentifier()
the network used by this wallet
required string network_identifier = 1;- Specified by:
hasNetworkIdentifierin interfaceProtos.WalletOrBuilder- Returns:
- Whether the networkIdentifier field is set.
-
getNetworkIdentifier
public java.lang.String getNetworkIdentifier()
the network used by this wallet
required string network_identifier = 1;- Specified by:
getNetworkIdentifierin interfaceProtos.WalletOrBuilder- Returns:
- The networkIdentifier.
-
getNetworkIdentifierBytes
public com.google.protobuf.ByteString getNetworkIdentifierBytes()
the network used by this wallet
required string network_identifier = 1;- Specified by:
getNetworkIdentifierBytesin interfaceProtos.WalletOrBuilder- Returns:
- The bytes for networkIdentifier.
-
setNetworkIdentifier
public Protos.Wallet.Builder setNetworkIdentifier(java.lang.String value)
the network used by this wallet
required string network_identifier = 1;- Parameters:
value- The networkIdentifier to set.- Returns:
- This builder for chaining.
-
clearNetworkIdentifier
public Protos.Wallet.Builder clearNetworkIdentifier()
the network used by this wallet
required string network_identifier = 1;- Returns:
- This builder for chaining.
-
setNetworkIdentifierBytes
public Protos.Wallet.Builder setNetworkIdentifierBytes(com.google.protobuf.ByteString value)
the network used by this wallet
required string network_identifier = 1;- Parameters:
value- The bytes for networkIdentifier to set.- Returns:
- This builder for chaining.
-
hasLastSeenBlockHash
public boolean hasLastSeenBlockHash()
The SHA256 hash of the head of the best chain seen by this wallet.
optional bytes last_seen_block_hash = 2;- Specified by:
hasLastSeenBlockHashin interfaceProtos.WalletOrBuilder- Returns:
- Whether the lastSeenBlockHash field is set.
-
getLastSeenBlockHash
public com.google.protobuf.ByteString getLastSeenBlockHash()
The SHA256 hash of the head of the best chain seen by this wallet.
optional bytes last_seen_block_hash = 2;- Specified by:
getLastSeenBlockHashin interfaceProtos.WalletOrBuilder- Returns:
- The lastSeenBlockHash.
-
setLastSeenBlockHash
public Protos.Wallet.Builder setLastSeenBlockHash(com.google.protobuf.ByteString value)
The SHA256 hash of the head of the best chain seen by this wallet.
optional bytes last_seen_block_hash = 2;- Parameters:
value- The lastSeenBlockHash to set.- Returns:
- This builder for chaining.
-
clearLastSeenBlockHash
public Protos.Wallet.Builder clearLastSeenBlockHash()
The SHA256 hash of the head of the best chain seen by this wallet.
optional bytes last_seen_block_hash = 2;- Returns:
- This builder for chaining.
-
hasLastSeenBlockHeight
public boolean hasLastSeenBlockHeight()
The height in the chain of the last seen block.
optional uint32 last_seen_block_height = 12;- Specified by:
hasLastSeenBlockHeightin interfaceProtos.WalletOrBuilder- Returns:
- Whether the lastSeenBlockHeight field is set.
-
getLastSeenBlockHeight
public int getLastSeenBlockHeight()
The height in the chain of the last seen block.
optional uint32 last_seen_block_height = 12;- Specified by:
getLastSeenBlockHeightin interfaceProtos.WalletOrBuilder- Returns:
- The lastSeenBlockHeight.
-
setLastSeenBlockHeight
public Protos.Wallet.Builder setLastSeenBlockHeight(int value)
The height in the chain of the last seen block.
optional uint32 last_seen_block_height = 12;- Parameters:
value- The lastSeenBlockHeight to set.- Returns:
- This builder for chaining.
-
clearLastSeenBlockHeight
public Protos.Wallet.Builder clearLastSeenBlockHeight()
The height in the chain of the last seen block.
optional uint32 last_seen_block_height = 12;- Returns:
- This builder for chaining.
-
hasLastSeenBlockTimeSecs
public boolean hasLastSeenBlockTimeSecs()
optional int64 last_seen_block_time_secs = 14;- Specified by:
hasLastSeenBlockTimeSecsin interfaceProtos.WalletOrBuilder- Returns:
- Whether the lastSeenBlockTimeSecs field is set.
-
getLastSeenBlockTimeSecs
public long getLastSeenBlockTimeSecs()
optional int64 last_seen_block_time_secs = 14;- Specified by:
getLastSeenBlockTimeSecsin interfaceProtos.WalletOrBuilder- Returns:
- The lastSeenBlockTimeSecs.
-
setLastSeenBlockTimeSecs
public Protos.Wallet.Builder setLastSeenBlockTimeSecs(long value)
optional int64 last_seen_block_time_secs = 14;- Parameters:
value- The lastSeenBlockTimeSecs to set.- Returns:
- This builder for chaining.
-
clearLastSeenBlockTimeSecs
public Protos.Wallet.Builder clearLastSeenBlockTimeSecs()
optional int64 last_seen_block_time_secs = 14;- Returns:
- This builder for chaining.
-
getKeyList
public java.util.List<Protos.Key> getKeyList()
repeated .wallet.Key key = 3;- Specified by:
getKeyListin interfaceProtos.WalletOrBuilder
-
getKeyCount
public int getKeyCount()
repeated .wallet.Key key = 3;- Specified by:
getKeyCountin interfaceProtos.WalletOrBuilder
-
getKey
public Protos.Key getKey(int index)
repeated .wallet.Key key = 3;- Specified by:
getKeyin interfaceProtos.WalletOrBuilder
-
setKey
public Protos.Wallet.Builder setKey(int index, Protos.Key value)
repeated .wallet.Key key = 3;
-
setKey
public Protos.Wallet.Builder setKey(int index, Protos.Key.Builder builderForValue)
repeated .wallet.Key key = 3;
-
addKey
public Protos.Wallet.Builder addKey(Protos.Key value)
repeated .wallet.Key key = 3;
-
addKey
public Protos.Wallet.Builder addKey(int index, Protos.Key value)
repeated .wallet.Key key = 3;
-
addKey
public Protos.Wallet.Builder addKey(Protos.Key.Builder builderForValue)
repeated .wallet.Key key = 3;
-
addKey
public Protos.Wallet.Builder addKey(int index, Protos.Key.Builder builderForValue)
repeated .wallet.Key key = 3;
-
addAllKey
public Protos.Wallet.Builder addAllKey(java.lang.Iterable<? extends Protos.Key> values)
repeated .wallet.Key key = 3;
-
clearKey
public Protos.Wallet.Builder clearKey()
repeated .wallet.Key key = 3;
-
removeKey
public Protos.Wallet.Builder removeKey(int index)
repeated .wallet.Key key = 3;
-
getTransactionList
public java.util.List<Protos.Transaction> getTransactionList()
repeated .wallet.Transaction transaction = 4;- Specified by:
getTransactionListin interfaceProtos.WalletOrBuilder
-
getTransactionCount
public int getTransactionCount()
repeated .wallet.Transaction transaction = 4;- Specified by:
getTransactionCountin interfaceProtos.WalletOrBuilder
-
getTransaction
public Protos.Transaction getTransaction(int index)
repeated .wallet.Transaction transaction = 4;- Specified by:
getTransactionin interfaceProtos.WalletOrBuilder
-
setTransaction
public Protos.Wallet.Builder setTransaction(int index, Protos.Transaction value)
repeated .wallet.Transaction transaction = 4;
-
setTransaction
public Protos.Wallet.Builder setTransaction(int index, Protos.Transaction.Builder builderForValue)
repeated .wallet.Transaction transaction = 4;
-
addTransaction
public Protos.Wallet.Builder addTransaction(Protos.Transaction value)
repeated .wallet.Transaction transaction = 4;
-
addTransaction
public Protos.Wallet.Builder addTransaction(int index, Protos.Transaction value)
repeated .wallet.Transaction transaction = 4;
-
addTransaction
public Protos.Wallet.Builder addTransaction(Protos.Transaction.Builder builderForValue)
repeated .wallet.Transaction transaction = 4;
-
addTransaction
public Protos.Wallet.Builder addTransaction(int index, Protos.Transaction.Builder builderForValue)
repeated .wallet.Transaction transaction = 4;
-
addAllTransaction
public Protos.Wallet.Builder addAllTransaction(java.lang.Iterable<? extends Protos.Transaction> values)
repeated .wallet.Transaction transaction = 4;
-
clearTransaction
public Protos.Wallet.Builder clearTransaction()
repeated .wallet.Transaction transaction = 4;
-
removeTransaction
public Protos.Wallet.Builder removeTransaction(int index)
repeated .wallet.Transaction transaction = 4;
-
getWatchedScriptList
public java.util.List<Protos.Script> getWatchedScriptList()
repeated .wallet.Script watched_script = 15;- Specified by:
getWatchedScriptListin interfaceProtos.WalletOrBuilder
-
getWatchedScriptCount
public int getWatchedScriptCount()
repeated .wallet.Script watched_script = 15;- Specified by:
getWatchedScriptCountin interfaceProtos.WalletOrBuilder
-
getWatchedScript
public Protos.Script getWatchedScript(int index)
repeated .wallet.Script watched_script = 15;- Specified by:
getWatchedScriptin interfaceProtos.WalletOrBuilder
-
setWatchedScript
public Protos.Wallet.Builder setWatchedScript(int index, Protos.Script value)
repeated .wallet.Script watched_script = 15;
-
setWatchedScript
public Protos.Wallet.Builder setWatchedScript(int index, Protos.Script.Builder builderForValue)
repeated .wallet.Script watched_script = 15;
-
addWatchedScript
public Protos.Wallet.Builder addWatchedScript(Protos.Script value)
repeated .wallet.Script watched_script = 15;
-
addWatchedScript
public Protos.Wallet.Builder addWatchedScript(int index, Protos.Script value)
repeated .wallet.Script watched_script = 15;
-
addWatchedScript
public Protos.Wallet.Builder addWatchedScript(Protos.Script.Builder builderForValue)
repeated .wallet.Script watched_script = 15;
-
addWatchedScript
public Protos.Wallet.Builder addWatchedScript(int index, Protos.Script.Builder builderForValue)
repeated .wallet.Script watched_script = 15;
-
addAllWatchedScript
public Protos.Wallet.Builder addAllWatchedScript(java.lang.Iterable<? extends Protos.Script> values)
repeated .wallet.Script watched_script = 15;
-
clearWatchedScript
public Protos.Wallet.Builder clearWatchedScript()
repeated .wallet.Script watched_script = 15;
-
removeWatchedScript
public Protos.Wallet.Builder removeWatchedScript(int index)
repeated .wallet.Script watched_script = 15;
-
hasEncryptionType
public boolean hasEncryptionType()
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];- Specified by:
hasEncryptionTypein interfaceProtos.WalletOrBuilder- Returns:
- Whether the encryptionType field is set.
-
getEncryptionType
public Protos.Wallet.EncryptionType getEncryptionType()
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];- Specified by:
getEncryptionTypein interfaceProtos.WalletOrBuilder- Returns:
- The encryptionType.
-
setEncryptionType
public Protos.Wallet.Builder setEncryptionType(Protos.Wallet.EncryptionType value)
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];- Parameters:
value- The enum numeric value on the wire for encryptionType to set.- Returns:
- This builder for chaining.
-
clearEncryptionType
public Protos.Wallet.Builder clearEncryptionType()
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];- Returns:
- This builder for chaining.
-
hasEncryptionParameters
public boolean hasEncryptionParameters()
optional .wallet.ScryptParameters encryption_parameters = 6;- Specified by:
hasEncryptionParametersin interfaceProtos.WalletOrBuilder- Returns:
- Whether the encryptionParameters field is set.
-
getEncryptionParameters
public Protos.ScryptParameters getEncryptionParameters()
optional .wallet.ScryptParameters encryption_parameters = 6;- Specified by:
getEncryptionParametersin interfaceProtos.WalletOrBuilder- Returns:
- The encryptionParameters.
-
setEncryptionParameters
public Protos.Wallet.Builder setEncryptionParameters(Protos.ScryptParameters value)
optional .wallet.ScryptParameters encryption_parameters = 6;
-
setEncryptionParameters
public Protos.Wallet.Builder setEncryptionParameters(Protos.ScryptParameters.Builder builderForValue)
optional .wallet.ScryptParameters encryption_parameters = 6;
-
mergeEncryptionParameters
public Protos.Wallet.Builder mergeEncryptionParameters(Protos.ScryptParameters value)
optional .wallet.ScryptParameters encryption_parameters = 6;
-
clearEncryptionParameters
public Protos.Wallet.Builder clearEncryptionParameters()
optional .wallet.ScryptParameters encryption_parameters = 6;
-
hasVersion
public boolean hasVersion()
The version number of the wallet - used to detect wallets that were produced in the future (i.e. the wallet may contain some future format this protobuf or parser code does not know about). A version that's higher than the default is considered from the future.
optional int32 version = 7 [default = 1];- Specified by:
hasVersionin interfaceProtos.WalletOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
public int getVersion()
The version number of the wallet - used to detect wallets that were produced in the future (i.e. the wallet may contain some future format this protobuf or parser code does not know about). A version that's higher than the default is considered from the future.
optional int32 version = 7 [default = 1];- Specified by:
getVersionin interfaceProtos.WalletOrBuilder- Returns:
- The version.
-
setVersion
public Protos.Wallet.Builder setVersion(int value)
The version number of the wallet - used to detect wallets that were produced in the future (i.e. the wallet may contain some future format this protobuf or parser code does not know about). A version that's higher than the default is considered from the future.
optional int32 version = 7 [default = 1];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public Protos.Wallet.Builder clearVersion()
The version number of the wallet - used to detect wallets that were produced in the future (i.e. the wallet may contain some future format this protobuf or parser code does not know about). A version that's higher than the default is considered from the future.
optional int32 version = 7 [default = 1];- Returns:
- This builder for chaining.
-
getExtensionList
public java.util.List<Protos.Extension> getExtensionList()
repeated .wallet.Extension extension = 10;- Specified by:
getExtensionListin interfaceProtos.WalletOrBuilder
-
getExtensionCount
public int getExtensionCount()
repeated .wallet.Extension extension = 10;- Specified by:
getExtensionCountin interfaceProtos.WalletOrBuilder
-
getExtension
public Protos.Extension getExtension(int index)
repeated .wallet.Extension extension = 10;- Specified by:
getExtensionin interfaceProtos.WalletOrBuilder
-
setExtension
public Protos.Wallet.Builder setExtension(int index, Protos.Extension value)
repeated .wallet.Extension extension = 10;
-
setExtension
public Protos.Wallet.Builder setExtension(int index, Protos.Extension.Builder builderForValue)
repeated .wallet.Extension extension = 10;
-
addExtension
public Protos.Wallet.Builder addExtension(Protos.Extension value)
repeated .wallet.Extension extension = 10;
-
addExtension
public Protos.Wallet.Builder addExtension(int index, Protos.Extension value)
repeated .wallet.Extension extension = 10;
-
addExtension
public Protos.Wallet.Builder addExtension(Protos.Extension.Builder builderForValue)
repeated .wallet.Extension extension = 10;
-
addExtension
public Protos.Wallet.Builder addExtension(int index, Protos.Extension.Builder builderForValue)
repeated .wallet.Extension extension = 10;
-
addAllExtension
public Protos.Wallet.Builder addAllExtension(java.lang.Iterable<? extends Protos.Extension> values)
repeated .wallet.Extension extension = 10;
-
clearExtension
public Protos.Wallet.Builder clearExtension()
repeated .wallet.Extension extension = 10;
-
removeExtension
public Protos.Wallet.Builder removeExtension(int index)
repeated .wallet.Extension extension = 10;
-
hasDescription
public boolean hasDescription()
A UTF8 encoded text description of the wallet that is intended for end user provided text.
optional string description = 11;- Specified by:
hasDescriptionin interfaceProtos.WalletOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public java.lang.String getDescription()
A UTF8 encoded text description of the wallet that is intended for end user provided text.
optional string description = 11;- Specified by:
getDescriptionin interfaceProtos.WalletOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A UTF8 encoded text description of the wallet that is intended for end user provided text.
optional string description = 11;- Specified by:
getDescriptionBytesin interfaceProtos.WalletOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Protos.Wallet.Builder setDescription(java.lang.String value)
A UTF8 encoded text description of the wallet that is intended for end user provided text.
optional string description = 11;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Protos.Wallet.Builder clearDescription()
A UTF8 encoded text description of the wallet that is intended for end user provided text.
optional string description = 11;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Protos.Wallet.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A UTF8 encoded text description of the wallet that is intended for end user provided text.
optional string description = 11;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasKeyRotationTime
public boolean hasKeyRotationTime()
UNIX time in seconds since the epoch. If set, then any keys created before this date are assumed to be no longer wanted. Money sent to them will be re-spent automatically to the first key that was created after this time. It can be used to recover a compromised wallet, or just as part of preventative defence-in-depth measures.
optional uint64 key_rotation_time = 13;- Specified by:
hasKeyRotationTimein interfaceProtos.WalletOrBuilder- Returns:
- Whether the keyRotationTime field is set.
-
getKeyRotationTime
public long getKeyRotationTime()
UNIX time in seconds since the epoch. If set, then any keys created before this date are assumed to be no longer wanted. Money sent to them will be re-spent automatically to the first key that was created after this time. It can be used to recover a compromised wallet, or just as part of preventative defence-in-depth measures.
optional uint64 key_rotation_time = 13;- Specified by:
getKeyRotationTimein interfaceProtos.WalletOrBuilder- Returns:
- The keyRotationTime.
-
setKeyRotationTime
public Protos.Wallet.Builder setKeyRotationTime(long value)
UNIX time in seconds since the epoch. If set, then any keys created before this date are assumed to be no longer wanted. Money sent to them will be re-spent automatically to the first key that was created after this time. It can be used to recover a compromised wallet, or just as part of preventative defence-in-depth measures.
optional uint64 key_rotation_time = 13;- Parameters:
value- The keyRotationTime to set.- Returns:
- This builder for chaining.
-
clearKeyRotationTime
public Protos.Wallet.Builder clearKeyRotationTime()
UNIX time in seconds since the epoch. If set, then any keys created before this date are assumed to be no longer wanted. Money sent to them will be re-spent automatically to the first key that was created after this time. It can be used to recover a compromised wallet, or just as part of preventative defence-in-depth measures.
optional uint64 key_rotation_time = 13;- Returns:
- This builder for chaining.
-
getTagsList
public java.util.List<Protos.Tag> getTagsList()
repeated .wallet.Tag tags = 16;- Specified by:
getTagsListin interfaceProtos.WalletOrBuilder
-
getTagsCount
public int getTagsCount()
repeated .wallet.Tag tags = 16;- Specified by:
getTagsCountin interfaceProtos.WalletOrBuilder
-
getTags
public Protos.Tag getTags(int index)
repeated .wallet.Tag tags = 16;- Specified by:
getTagsin interfaceProtos.WalletOrBuilder
-
setTags
public Protos.Wallet.Builder setTags(int index, Protos.Tag value)
repeated .wallet.Tag tags = 16;
-
setTags
public Protos.Wallet.Builder setTags(int index, Protos.Tag.Builder builderForValue)
repeated .wallet.Tag tags = 16;
-
addTags
public Protos.Wallet.Builder addTags(Protos.Tag value)
repeated .wallet.Tag tags = 16;
-
addTags
public Protos.Wallet.Builder addTags(int index, Protos.Tag value)
repeated .wallet.Tag tags = 16;
-
addTags
public Protos.Wallet.Builder addTags(Protos.Tag.Builder builderForValue)
repeated .wallet.Tag tags = 16;
-
addTags
public Protos.Wallet.Builder addTags(int index, Protos.Tag.Builder builderForValue)
repeated .wallet.Tag tags = 16;
-
addAllTags
public Protos.Wallet.Builder addAllTags(java.lang.Iterable<? extends Protos.Tag> values)
repeated .wallet.Tag tags = 16;
-
clearTags
public Protos.Wallet.Builder clearTags()
repeated .wallet.Tag tags = 16;
-
removeTags
public Protos.Wallet.Builder removeTags(int index)
repeated .wallet.Tag tags = 16;
-
-