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 SummaryAll 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.Builderbuild, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
 - 
Methods inherited from class com.google.protobuf.AbstractMessageLite.BuilderaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
- 
 
- 
- 
- 
Method Detail- 
hasNetworkIdentifierpublic boolean hasNetworkIdentifier() the network used by this wallet required string network_identifier = 1;- Specified by:
- hasNetworkIdentifierin interface- Protos.WalletOrBuilder
- Returns:
- Whether the networkIdentifier field is set.
 
 - 
getNetworkIdentifierpublic java.lang.String getNetworkIdentifier() the network used by this wallet required string network_identifier = 1;- Specified by:
- getNetworkIdentifierin interface- Protos.WalletOrBuilder
- Returns:
- The networkIdentifier.
 
 - 
getNetworkIdentifierBytespublic com.google.protobuf.ByteString getNetworkIdentifierBytes() the network used by this wallet required string network_identifier = 1;- Specified by:
- getNetworkIdentifierBytesin interface- Protos.WalletOrBuilder
- Returns:
- The bytes for networkIdentifier.
 
 - 
setNetworkIdentifierpublic 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.
 
 - 
clearNetworkIdentifierpublic Protos.Wallet.Builder clearNetworkIdentifier() the network used by this wallet required string network_identifier = 1;- Returns:
- This builder for chaining.
 
 - 
setNetworkIdentifierBytespublic 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.
 
 - 
hasLastSeenBlockHashpublic 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 interface- Protos.WalletOrBuilder
- Returns:
- Whether the lastSeenBlockHash field is set.
 
 - 
getLastSeenBlockHashpublic 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 interface- Protos.WalletOrBuilder
- Returns:
- The lastSeenBlockHash.
 
 - 
setLastSeenBlockHashpublic 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.
 
 - 
clearLastSeenBlockHashpublic 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.
 
 - 
hasLastSeenBlockHeightpublic boolean hasLastSeenBlockHeight() The height in the chain of the last seen block. optional uint32 last_seen_block_height = 12;- Specified by:
- hasLastSeenBlockHeightin interface- Protos.WalletOrBuilder
- Returns:
- Whether the lastSeenBlockHeight field is set.
 
 - 
getLastSeenBlockHeightpublic int getLastSeenBlockHeight() The height in the chain of the last seen block. optional uint32 last_seen_block_height = 12;- Specified by:
- getLastSeenBlockHeightin interface- Protos.WalletOrBuilder
- Returns:
- The lastSeenBlockHeight.
 
 - 
setLastSeenBlockHeightpublic 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.
 
 - 
clearLastSeenBlockHeightpublic 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.
 
 - 
hasLastSeenBlockTimeSecspublic boolean hasLastSeenBlockTimeSecs() optional int64 last_seen_block_time_secs = 14;- Specified by:
- hasLastSeenBlockTimeSecsin interface- Protos.WalletOrBuilder
- Returns:
- Whether the lastSeenBlockTimeSecs field is set.
 
 - 
getLastSeenBlockTimeSecspublic long getLastSeenBlockTimeSecs() optional int64 last_seen_block_time_secs = 14;- Specified by:
- getLastSeenBlockTimeSecsin interface- Protos.WalletOrBuilder
- Returns:
- The lastSeenBlockTimeSecs.
 
 - 
setLastSeenBlockTimeSecspublic 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.
 
 - 
clearLastSeenBlockTimeSecspublic Protos.Wallet.Builder clearLastSeenBlockTimeSecs() optional int64 last_seen_block_time_secs = 14;- Returns:
- This builder for chaining.
 
 - 
getKeyListpublic java.util.List<Protos.Key> getKeyList() repeated .wallet.Key key = 3;- Specified by:
- getKeyListin interface- Protos.WalletOrBuilder
 
 - 
getKeyCountpublic int getKeyCount() repeated .wallet.Key key = 3;- Specified by:
- getKeyCountin interface- Protos.WalletOrBuilder
 
 - 
getKeypublic Protos.Key getKey(int index) repeated .wallet.Key key = 3;- Specified by:
- getKeyin interface- Protos.WalletOrBuilder
 
 - 
setKeypublic Protos.Wallet.Builder setKey(int index, Protos.Key value) repeated .wallet.Key key = 3;
 - 
setKeypublic Protos.Wallet.Builder setKey(int index, Protos.Key.Builder builderForValue) repeated .wallet.Key key = 3;
 - 
addKeypublic Protos.Wallet.Builder addKey(Protos.Key value) repeated .wallet.Key key = 3;
 - 
addKeypublic Protos.Wallet.Builder addKey(int index, Protos.Key value) repeated .wallet.Key key = 3;
 - 
addKeypublic Protos.Wallet.Builder addKey(Protos.Key.Builder builderForValue) repeated .wallet.Key key = 3;
 - 
addKeypublic Protos.Wallet.Builder addKey(int index, Protos.Key.Builder builderForValue) repeated .wallet.Key key = 3;
 - 
addAllKeypublic Protos.Wallet.Builder addAllKey(java.lang.Iterable<? extends Protos.Key> values) repeated .wallet.Key key = 3;
 - 
clearKeypublic Protos.Wallet.Builder clearKey() repeated .wallet.Key key = 3;
 - 
removeKeypublic Protos.Wallet.Builder removeKey(int index) repeated .wallet.Key key = 3;
 - 
getTransactionListpublic java.util.List<Protos.Transaction> getTransactionList() repeated .wallet.Transaction transaction = 4;- Specified by:
- getTransactionListin interface- Protos.WalletOrBuilder
 
 - 
getTransactionCountpublic int getTransactionCount() repeated .wallet.Transaction transaction = 4;- Specified by:
- getTransactionCountin interface- Protos.WalletOrBuilder
 
 - 
getTransactionpublic Protos.Transaction getTransaction(int index) repeated .wallet.Transaction transaction = 4;- Specified by:
- getTransactionin interface- Protos.WalletOrBuilder
 
 - 
setTransactionpublic Protos.Wallet.Builder setTransaction(int index, Protos.Transaction value) repeated .wallet.Transaction transaction = 4;
 - 
setTransactionpublic Protos.Wallet.Builder setTransaction(int index, Protos.Transaction.Builder builderForValue) repeated .wallet.Transaction transaction = 4;
 - 
addTransactionpublic Protos.Wallet.Builder addTransaction(Protos.Transaction value) repeated .wallet.Transaction transaction = 4;
 - 
addTransactionpublic Protos.Wallet.Builder addTransaction(int index, Protos.Transaction value) repeated .wallet.Transaction transaction = 4;
 - 
addTransactionpublic Protos.Wallet.Builder addTransaction(Protos.Transaction.Builder builderForValue) repeated .wallet.Transaction transaction = 4;
 - 
addTransactionpublic Protos.Wallet.Builder addTransaction(int index, Protos.Transaction.Builder builderForValue) repeated .wallet.Transaction transaction = 4;
 - 
addAllTransactionpublic Protos.Wallet.Builder addAllTransaction(java.lang.Iterable<? extends Protos.Transaction> values) repeated .wallet.Transaction transaction = 4;
 - 
clearTransactionpublic Protos.Wallet.Builder clearTransaction() repeated .wallet.Transaction transaction = 4;
 - 
removeTransactionpublic Protos.Wallet.Builder removeTransaction(int index) repeated .wallet.Transaction transaction = 4;
 - 
getWatchedScriptListpublic java.util.List<Protos.Script> getWatchedScriptList() repeated .wallet.Script watched_script = 15;- Specified by:
- getWatchedScriptListin interface- Protos.WalletOrBuilder
 
 - 
getWatchedScriptCountpublic int getWatchedScriptCount() repeated .wallet.Script watched_script = 15;- Specified by:
- getWatchedScriptCountin interface- Protos.WalletOrBuilder
 
 - 
getWatchedScriptpublic Protos.Script getWatchedScript(int index) repeated .wallet.Script watched_script = 15;- Specified by:
- getWatchedScriptin interface- Protos.WalletOrBuilder
 
 - 
setWatchedScriptpublic Protos.Wallet.Builder setWatchedScript(int index, Protos.Script value) repeated .wallet.Script watched_script = 15;
 - 
setWatchedScriptpublic Protos.Wallet.Builder setWatchedScript(int index, Protos.Script.Builder builderForValue) repeated .wallet.Script watched_script = 15;
 - 
addWatchedScriptpublic Protos.Wallet.Builder addWatchedScript(Protos.Script value) repeated .wallet.Script watched_script = 15;
 - 
addWatchedScriptpublic Protos.Wallet.Builder addWatchedScript(int index, Protos.Script value) repeated .wallet.Script watched_script = 15;
 - 
addWatchedScriptpublic Protos.Wallet.Builder addWatchedScript(Protos.Script.Builder builderForValue) repeated .wallet.Script watched_script = 15;
 - 
addWatchedScriptpublic Protos.Wallet.Builder addWatchedScript(int index, Protos.Script.Builder builderForValue) repeated .wallet.Script watched_script = 15;
 - 
addAllWatchedScriptpublic Protos.Wallet.Builder addAllWatchedScript(java.lang.Iterable<? extends Protos.Script> values) repeated .wallet.Script watched_script = 15;
 - 
clearWatchedScriptpublic Protos.Wallet.Builder clearWatchedScript() repeated .wallet.Script watched_script = 15;
 - 
removeWatchedScriptpublic Protos.Wallet.Builder removeWatchedScript(int index) repeated .wallet.Script watched_script = 15;
 - 
hasEncryptionTypepublic boolean hasEncryptionType() optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];- Specified by:
- hasEncryptionTypein interface- Protos.WalletOrBuilder
- Returns:
- Whether the encryptionType field is set.
 
 - 
getEncryptionTypepublic Protos.Wallet.EncryptionType getEncryptionType() optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];- Specified by:
- getEncryptionTypein interface- Protos.WalletOrBuilder
- Returns:
- The encryptionType.
 
 - 
setEncryptionTypepublic 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.
 
 - 
clearEncryptionTypepublic Protos.Wallet.Builder clearEncryptionType() optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];- Returns:
- This builder for chaining.
 
 - 
hasEncryptionParameterspublic boolean hasEncryptionParameters() optional .wallet.ScryptParameters encryption_parameters = 6;- Specified by:
- hasEncryptionParametersin interface- Protos.WalletOrBuilder
- Returns:
- Whether the encryptionParameters field is set.
 
 - 
getEncryptionParameterspublic Protos.ScryptParameters getEncryptionParameters() optional .wallet.ScryptParameters encryption_parameters = 6;- Specified by:
- getEncryptionParametersin interface- Protos.WalletOrBuilder
- Returns:
- The encryptionParameters.
 
 - 
setEncryptionParameterspublic Protos.Wallet.Builder setEncryptionParameters(Protos.ScryptParameters value) optional .wallet.ScryptParameters encryption_parameters = 6;
 - 
setEncryptionParameterspublic Protos.Wallet.Builder setEncryptionParameters(Protos.ScryptParameters.Builder builderForValue) optional .wallet.ScryptParameters encryption_parameters = 6;
 - 
mergeEncryptionParameterspublic Protos.Wallet.Builder mergeEncryptionParameters(Protos.ScryptParameters value) optional .wallet.ScryptParameters encryption_parameters = 6;
 - 
clearEncryptionParameterspublic Protos.Wallet.Builder clearEncryptionParameters() optional .wallet.ScryptParameters encryption_parameters = 6;
 - 
hasVersionpublic 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 interface- Protos.WalletOrBuilder
- Returns:
- Whether the version field is set.
 
 - 
getVersionpublic 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 interface- Protos.WalletOrBuilder
- Returns:
- The version.
 
 - 
setVersionpublic 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.
 
 - 
clearVersionpublic 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.
 
 - 
getExtensionListpublic java.util.List<Protos.Extension> getExtensionList() repeated .wallet.Extension extension = 10;- Specified by:
- getExtensionListin interface- Protos.WalletOrBuilder
 
 - 
getExtensionCountpublic int getExtensionCount() repeated .wallet.Extension extension = 10;- Specified by:
- getExtensionCountin interface- Protos.WalletOrBuilder
 
 - 
getExtensionpublic Protos.Extension getExtension(int index) repeated .wallet.Extension extension = 10;- Specified by:
- getExtensionin interface- Protos.WalletOrBuilder
 
 - 
setExtensionpublic Protos.Wallet.Builder setExtension(int index, Protos.Extension value) repeated .wallet.Extension extension = 10;
 - 
setExtensionpublic Protos.Wallet.Builder setExtension(int index, Protos.Extension.Builder builderForValue) repeated .wallet.Extension extension = 10;
 - 
addExtensionpublic Protos.Wallet.Builder addExtension(Protos.Extension value) repeated .wallet.Extension extension = 10;
 - 
addExtensionpublic Protos.Wallet.Builder addExtension(int index, Protos.Extension value) repeated .wallet.Extension extension = 10;
 - 
addExtensionpublic Protos.Wallet.Builder addExtension(Protos.Extension.Builder builderForValue) repeated .wallet.Extension extension = 10;
 - 
addExtensionpublic Protos.Wallet.Builder addExtension(int index, Protos.Extension.Builder builderForValue) repeated .wallet.Extension extension = 10;
 - 
addAllExtensionpublic Protos.Wallet.Builder addAllExtension(java.lang.Iterable<? extends Protos.Extension> values) repeated .wallet.Extension extension = 10;
 - 
clearExtensionpublic Protos.Wallet.Builder clearExtension() repeated .wallet.Extension extension = 10;
 - 
removeExtensionpublic Protos.Wallet.Builder removeExtension(int index) repeated .wallet.Extension extension = 10;
 - 
hasDescriptionpublic 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 interface- Protos.WalletOrBuilder
- Returns:
- Whether the description field is set.
 
 - 
getDescriptionpublic 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 interface- Protos.WalletOrBuilder
- Returns:
- The description.
 
 - 
getDescriptionBytespublic 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 interface- Protos.WalletOrBuilder
- Returns:
- The bytes for description.
 
 - 
setDescriptionpublic 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.
 
 - 
clearDescriptionpublic 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.
 
 - 
setDescriptionBytespublic 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.
 
 - 
hasKeyRotationTimepublic 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 interface- Protos.WalletOrBuilder
- Returns:
- Whether the keyRotationTime field is set.
 
 - 
getKeyRotationTimepublic 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 interface- Protos.WalletOrBuilder
- Returns:
- The keyRotationTime.
 
 - 
setKeyRotationTimepublic 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.
 
 - 
clearKeyRotationTimepublic 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.
 
 - 
getTagsListpublic java.util.List<Protos.Tag> getTagsList() repeated .wallet.Tag tags = 16;- Specified by:
- getTagsListin interface- Protos.WalletOrBuilder
 
 - 
getTagsCountpublic int getTagsCount() repeated .wallet.Tag tags = 16;- Specified by:
- getTagsCountin interface- Protos.WalletOrBuilder
 
 - 
getTagspublic Protos.Tag getTags(int index) repeated .wallet.Tag tags = 16;- Specified by:
- getTagsin interface- Protos.WalletOrBuilder
 
 - 
setTagspublic Protos.Wallet.Builder setTags(int index, Protos.Tag value) repeated .wallet.Tag tags = 16;
 - 
setTagspublic Protos.Wallet.Builder setTags(int index, Protos.Tag.Builder builderForValue) repeated .wallet.Tag tags = 16;
 - 
addTagspublic Protos.Wallet.Builder addTags(Protos.Tag value) repeated .wallet.Tag tags = 16;
 - 
addTagspublic Protos.Wallet.Builder addTags(int index, Protos.Tag value) repeated .wallet.Tag tags = 16;
 - 
addTagspublic Protos.Wallet.Builder addTags(Protos.Tag.Builder builderForValue) repeated .wallet.Tag tags = 16;
 - 
addTagspublic Protos.Wallet.Builder addTags(int index, Protos.Tag.Builder builderForValue) repeated .wallet.Tag tags = 16;
 - 
addAllTagspublic Protos.Wallet.Builder addAllTags(java.lang.Iterable<? extends Protos.Tag> values) repeated .wallet.Tag tags = 16;
 - 
clearTagspublic Protos.Wallet.Builder clearTags() repeated .wallet.Tag tags = 16;
 - 
removeTagspublic Protos.Wallet.Builder removeTags(int index) repeated .wallet.Tag tags = 16;
 
- 
 
-