org.bitcoinj.wallet
Interface Protos.WalletOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Protos.Wallet, Protos.Wallet.Builder
Enclosing class:
Protos

public static interface Protos.WalletOrBuilder
extends com.google.protobuf.MessageOrBuilder


Method Summary
 String getDescription()
          optional string description = 11;
 com.google.protobuf.ByteString getDescriptionBytes()
          optional string description = 11;
 Protos.ScryptParameters getEncryptionParameters()
          optional .wallet.ScryptParameters encryption_parameters = 6;
 Protos.ScryptParametersOrBuilder getEncryptionParametersOrBuilder()
          optional .wallet.ScryptParameters encryption_parameters = 6;
 Protos.Wallet.EncryptionType getEncryptionType()
          optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
 Protos.Extension getExtension(int index)
          repeated .wallet.Extension extension = 10;
 int getExtensionCount()
          repeated .wallet.Extension extension = 10;
 List<Protos.Extension> getExtensionList()
          repeated .wallet.Extension extension = 10;
 Protos.ExtensionOrBuilder getExtensionOrBuilder(int index)
          repeated .wallet.Extension extension = 10;
 List<? extends Protos.ExtensionOrBuilder> getExtensionOrBuilderList()
          repeated .wallet.Extension extension = 10;
 Protos.Key getKey(int index)
          repeated .wallet.Key key = 3;
 int getKeyCount()
          repeated .wallet.Key key = 3;
 List<Protos.Key> getKeyList()
          repeated .wallet.Key key = 3;
 Protos.KeyOrBuilder getKeyOrBuilder(int index)
          repeated .wallet.Key key = 3;
 List<? extends Protos.KeyOrBuilder> getKeyOrBuilderList()
          repeated .wallet.Key key = 3;
 long getKeyRotationTime()
          optional uint64 key_rotation_time = 13;
 com.google.protobuf.ByteString getLastSeenBlockHash()
          optional bytes last_seen_block_hash = 2;
 int getLastSeenBlockHeight()
          optional uint32 last_seen_block_height = 12;
 long getLastSeenBlockTimeSecs()
          optional int64 last_seen_block_time_secs = 14;
 String getNetworkIdentifier()
          required string network_identifier = 1;
 com.google.protobuf.ByteString getNetworkIdentifierBytes()
          required string network_identifier = 1;
 Protos.Transaction getTransaction(int index)
          repeated .wallet.Transaction transaction = 4;
 int getTransactionCount()
          repeated .wallet.Transaction transaction = 4;
 List<Protos.Transaction> getTransactionList()
          repeated .wallet.Transaction transaction = 4;
 Protos.TransactionOrBuilder getTransactionOrBuilder(int index)
          repeated .wallet.Transaction transaction = 4;
 List<? extends Protos.TransactionOrBuilder> getTransactionOrBuilderList()
          repeated .wallet.Transaction transaction = 4;
 int getVersion()
          optional int32 version = 7;
 Protos.Script getWatchedScript(int index)
          repeated .wallet.Script watched_script = 15;
 int getWatchedScriptCount()
          repeated .wallet.Script watched_script = 15;
 List<Protos.Script> getWatchedScriptList()
          repeated .wallet.Script watched_script = 15;
 Protos.ScriptOrBuilder getWatchedScriptOrBuilder(int index)
          repeated .wallet.Script watched_script = 15;
 List<? extends Protos.ScriptOrBuilder> getWatchedScriptOrBuilderList()
          repeated .wallet.Script watched_script = 15;
 boolean hasDescription()
          optional string description = 11;
 boolean hasEncryptionParameters()
          optional .wallet.ScryptParameters encryption_parameters = 6;
 boolean hasEncryptionType()
          optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
 boolean hasKeyRotationTime()
          optional uint64 key_rotation_time = 13;
 boolean hasLastSeenBlockHash()
          optional bytes last_seen_block_hash = 2;
 boolean hasLastSeenBlockHeight()
          optional uint32 last_seen_block_height = 12;
 boolean hasLastSeenBlockTimeSecs()
          optional int64 last_seen_block_time_secs = 14;
 boolean hasNetworkIdentifier()
          required string network_identifier = 1;
 boolean hasVersion()
          optional int32 version = 7;
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasNetworkIdentifier

boolean hasNetworkIdentifier()
required string network_identifier = 1;
 the network used by this wallet
 


getNetworkIdentifier

String getNetworkIdentifier()
required string network_identifier = 1;
 the network used by this wallet
 


getNetworkIdentifierBytes

com.google.protobuf.ByteString getNetworkIdentifierBytes()
required string network_identifier = 1;
 the network used by this wallet
 


hasLastSeenBlockHash

boolean hasLastSeenBlockHash()
optional bytes last_seen_block_hash = 2;
 The SHA256 hash of the head of the best chain seen by this wallet.
 


getLastSeenBlockHash

com.google.protobuf.ByteString getLastSeenBlockHash()
optional bytes last_seen_block_hash = 2;
 The SHA256 hash of the head of the best chain seen by this wallet.
 


hasLastSeenBlockHeight

boolean hasLastSeenBlockHeight()
optional uint32 last_seen_block_height = 12;
 The height in the chain of the last seen block.
 


getLastSeenBlockHeight

int getLastSeenBlockHeight()
optional uint32 last_seen_block_height = 12;
 The height in the chain of the last seen block.
 


hasLastSeenBlockTimeSecs

boolean hasLastSeenBlockTimeSecs()
optional int64 last_seen_block_time_secs = 14;


getLastSeenBlockTimeSecs

long getLastSeenBlockTimeSecs()
optional int64 last_seen_block_time_secs = 14;


getKeyList

List<Protos.Key> getKeyList()
repeated .wallet.Key key = 3;


getKey

Protos.Key getKey(int index)
repeated .wallet.Key key = 3;


getKeyCount

int getKeyCount()
repeated .wallet.Key key = 3;


getKeyOrBuilderList

List<? extends Protos.KeyOrBuilder> getKeyOrBuilderList()
repeated .wallet.Key key = 3;


getKeyOrBuilder

Protos.KeyOrBuilder getKeyOrBuilder(int index)
repeated .wallet.Key key = 3;


getTransactionList

List<Protos.Transaction> getTransactionList()
repeated .wallet.Transaction transaction = 4;


getTransaction

Protos.Transaction getTransaction(int index)
repeated .wallet.Transaction transaction = 4;


getTransactionCount

int getTransactionCount()
repeated .wallet.Transaction transaction = 4;


getTransactionOrBuilderList

List<? extends Protos.TransactionOrBuilder> getTransactionOrBuilderList()
repeated .wallet.Transaction transaction = 4;


getTransactionOrBuilder

Protos.TransactionOrBuilder getTransactionOrBuilder(int index)
repeated .wallet.Transaction transaction = 4;


getWatchedScriptList

List<Protos.Script> getWatchedScriptList()
repeated .wallet.Script watched_script = 15;


getWatchedScript

Protos.Script getWatchedScript(int index)
repeated .wallet.Script watched_script = 15;


getWatchedScriptCount

int getWatchedScriptCount()
repeated .wallet.Script watched_script = 15;


getWatchedScriptOrBuilderList

List<? extends Protos.ScriptOrBuilder> getWatchedScriptOrBuilderList()
repeated .wallet.Script watched_script = 15;


getWatchedScriptOrBuilder

Protos.ScriptOrBuilder getWatchedScriptOrBuilder(int index)
repeated .wallet.Script watched_script = 15;


hasEncryptionType

boolean hasEncryptionType()
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];


getEncryptionType

Protos.Wallet.EncryptionType getEncryptionType()
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];


hasEncryptionParameters

boolean hasEncryptionParameters()
optional .wallet.ScryptParameters encryption_parameters = 6;


getEncryptionParameters

Protos.ScryptParameters getEncryptionParameters()
optional .wallet.ScryptParameters encryption_parameters = 6;


getEncryptionParametersOrBuilder

Protos.ScryptParametersOrBuilder getEncryptionParametersOrBuilder()
optional .wallet.ScryptParameters encryption_parameters = 6;


hasVersion

boolean hasVersion()
optional int32 version = 7;
 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/ code does not know about)
 


getVersion

int getVersion()
optional int32 version = 7;
 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/ code does not know about)
 


getExtensionList

List<Protos.Extension> getExtensionList()
repeated .wallet.Extension extension = 10;


getExtension

Protos.Extension getExtension(int index)
repeated .wallet.Extension extension = 10;


getExtensionCount

int getExtensionCount()
repeated .wallet.Extension extension = 10;


getExtensionOrBuilderList

List<? extends Protos.ExtensionOrBuilder> getExtensionOrBuilderList()
repeated .wallet.Extension extension = 10;


getExtensionOrBuilder

Protos.ExtensionOrBuilder getExtensionOrBuilder(int index)
repeated .wallet.Extension extension = 10;


hasDescription

boolean hasDescription()
optional string description = 11;
 A UTF8 encoded text description of the wallet that is intended for end user provided text.
 


getDescription

String getDescription()
optional string description = 11;
 A UTF8 encoded text description of the wallet that is intended for end user provided text.
 


getDescriptionBytes

com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 11;
 A UTF8 encoded text description of the wallet that is intended for end user provided text.
 


hasKeyRotationTime

boolean hasKeyRotationTime()
optional uint64 key_rotation_time = 13;
 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.
 


getKeyRotationTime

long getKeyRotationTime()
optional uint64 key_rotation_time = 13;
 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.
 



Copyright © 2014. All rights reserved.