public static final class Protos.Wallet extends com.google.protobuf.GeneratedMessageLite<Protos.Wallet,Protos.Wallet.Builder> implements Protos.WalletOrBuilder
A bitcoin walletProtobuf type
wallet.Wallet| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.Wallet.Builder
A bitcoin wallet
|
static class |
Protos.Wallet.EncryptionType
The encryption type of the wallet.
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ENCRYPTION_PARAMETERS_FIELD_NUMBER |
static int |
ENCRYPTION_TYPE_FIELD_NUMBER |
static int |
EXTENSION_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
KEY_ROTATION_TIME_FIELD_NUMBER |
static int |
LAST_SEEN_BLOCK_HASH_FIELD_NUMBER |
static int |
LAST_SEEN_BLOCK_HEIGHT_FIELD_NUMBER |
static int |
LAST_SEEN_BLOCK_TIME_SECS_FIELD_NUMBER |
static int |
NETWORK_IDENTIFIER_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
TRANSACTION_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
static int |
WATCHED_SCRIPT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0,
java.lang.Object arg1) |
static Protos.Wallet |
getDefaultInstance() |
java.lang.String |
getDescription()
A UTF8 encoded text description of the wallet that is intended for end user provided text.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A UTF8 encoded text description of the wallet that is intended for end user provided text.
|
Protos.ScryptParameters |
getEncryptionParameters()
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; |
java.util.List<Protos.Extension> |
getExtensionList()
repeated .wallet.Extension extension = 10; |
Protos.ExtensionOrBuilder |
getExtensionOrBuilder(int index)
repeated .wallet.Extension extension = 10; |
java.util.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; |
java.util.List<Protos.Key> |
getKeyList()
repeated .wallet.Key key = 3; |
Protos.KeyOrBuilder |
getKeyOrBuilder(int index)
repeated .wallet.Key key = 3; |
java.util.List<? extends Protos.KeyOrBuilder> |
getKeyOrBuilderList()
repeated .wallet.Key key = 3; |
long |
getKeyRotationTime()
UNIX time in seconds since the epoch.
|
com.google.protobuf.ByteString |
getLastSeenBlockHash()
The SHA256 hash of the head of the best chain seen by this wallet.
|
int |
getLastSeenBlockHeight()
The height in the chain of the last seen block.
|
long |
getLastSeenBlockTimeSecs()
optional int64 last_seen_block_time_secs = 14; |
java.lang.String |
getNetworkIdentifier()
the network used by this wallet
|
com.google.protobuf.ByteString |
getNetworkIdentifierBytes()
the network used by this wallet
|
Protos.Tag |
getTags(int index)
repeated .wallet.Tag tags = 16; |
int |
getTagsCount()
repeated .wallet.Tag tags = 16; |
java.util.List<Protos.Tag> |
getTagsList()
repeated .wallet.Tag tags = 16; |
Protos.TagOrBuilder |
getTagsOrBuilder(int index)
repeated .wallet.Tag tags = 16; |
java.util.List<? extends Protos.TagOrBuilder> |
getTagsOrBuilderList()
repeated .wallet.Tag tags = 16; |
Protos.Transaction |
getTransaction(int index)
repeated .wallet.Transaction transaction = 4; |
int |
getTransactionCount()
repeated .wallet.Transaction transaction = 4; |
java.util.List<Protos.Transaction> |
getTransactionList()
repeated .wallet.Transaction transaction = 4; |
Protos.TransactionOrBuilder |
getTransactionOrBuilder(int index)
repeated .wallet.Transaction transaction = 4; |
java.util.List<? extends Protos.TransactionOrBuilder> |
getTransactionOrBuilderList()
repeated .wallet.Transaction transaction = 4; |
int |
getVersion()
The version number of the wallet - used to detect wallets that were produced in the future
(i.e.
|
Protos.Script |
getWatchedScript(int index)
repeated .wallet.Script watched_script = 15; |
int |
getWatchedScriptCount()
repeated .wallet.Script watched_script = 15; |
java.util.List<Protos.Script> |
getWatchedScriptList()
repeated .wallet.Script watched_script = 15; |
Protos.ScriptOrBuilder |
getWatchedScriptOrBuilder(int index)
repeated .wallet.Script watched_script = 15; |
java.util.List<? extends Protos.ScriptOrBuilder> |
getWatchedScriptOrBuilderList()
repeated .wallet.Script watched_script = 15; |
boolean |
hasDescription()
A UTF8 encoded text description of the wallet that is intended for end user provided text.
|
boolean |
hasEncryptionParameters()
optional .wallet.ScryptParameters encryption_parameters = 6; |
boolean |
hasEncryptionType()
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED]; |
boolean |
hasKeyRotationTime()
UNIX time in seconds since the epoch.
|
boolean |
hasLastSeenBlockHash()
The SHA256 hash of the head of the best chain seen by this wallet.
|
boolean |
hasLastSeenBlockHeight()
The height in the chain of the last seen block.
|
boolean |
hasLastSeenBlockTimeSecs()
optional int64 last_seen_block_time_secs = 14; |
boolean |
hasNetworkIdentifier()
the network used by this wallet
|
boolean |
hasVersion()
The version number of the wallet - used to detect wallets that were produced in the future
(i.e.
|
static Protos.Wallet.Builder |
newBuilder() |
static Protos.Wallet.Builder |
newBuilder(Protos.Wallet prototype) |
static Protos.Wallet |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Wallet |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Wallet |
parseFrom(byte[] data) |
static Protos.Wallet |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Wallet |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Wallet |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Wallet |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Wallet |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Wallet |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Wallet |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Wallet |
parseFrom(java.io.InputStream input) |
static Protos.Wallet |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Protos.Wallet> |
parser() |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NETWORK_IDENTIFIER_FIELD_NUMBER
public static final int LAST_SEEN_BLOCK_HASH_FIELD_NUMBER
public static final int LAST_SEEN_BLOCK_HEIGHT_FIELD_NUMBER
public static final int LAST_SEEN_BLOCK_TIME_SECS_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
public static final int WATCHED_SCRIPT_FIELD_NUMBER
public static final int ENCRYPTION_TYPE_FIELD_NUMBER
public static final int ENCRYPTION_PARAMETERS_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int EXTENSION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int KEY_ROTATION_TIME_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
public boolean hasNetworkIdentifier()
the network used by this wallet
required string network_identifier = 1;hasNetworkIdentifier in interface Protos.WalletOrBuilderpublic java.lang.String getNetworkIdentifier()
the network used by this wallet
required string network_identifier = 1;getNetworkIdentifier in interface Protos.WalletOrBuilderpublic com.google.protobuf.ByteString getNetworkIdentifierBytes()
the network used by this wallet
required string network_identifier = 1;getNetworkIdentifierBytes in interface Protos.WalletOrBuilderpublic boolean hasLastSeenBlockHash()
The SHA256 hash of the head of the best chain seen by this wallet.
optional bytes last_seen_block_hash = 2;hasLastSeenBlockHash in interface Protos.WalletOrBuilderpublic 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;getLastSeenBlockHash in interface Protos.WalletOrBuilderpublic boolean hasLastSeenBlockHeight()
The height in the chain of the last seen block.
optional uint32 last_seen_block_height = 12;hasLastSeenBlockHeight in interface Protos.WalletOrBuilderpublic int getLastSeenBlockHeight()
The height in the chain of the last seen block.
optional uint32 last_seen_block_height = 12;getLastSeenBlockHeight in interface Protos.WalletOrBuilderpublic boolean hasLastSeenBlockTimeSecs()
optional int64 last_seen_block_time_secs = 14;hasLastSeenBlockTimeSecs in interface Protos.WalletOrBuilderpublic long getLastSeenBlockTimeSecs()
optional int64 last_seen_block_time_secs = 14;getLastSeenBlockTimeSecs in interface Protos.WalletOrBuilderpublic java.util.List<Protos.Key> getKeyList()
repeated .wallet.Key key = 3;getKeyList in interface Protos.WalletOrBuilderpublic java.util.List<? extends Protos.KeyOrBuilder> getKeyOrBuilderList()
repeated .wallet.Key key = 3;public int getKeyCount()
repeated .wallet.Key key = 3;getKeyCount in interface Protos.WalletOrBuilderpublic Protos.Key getKey(int index)
repeated .wallet.Key key = 3;getKey in interface Protos.WalletOrBuilderpublic Protos.KeyOrBuilder getKeyOrBuilder(int index)
repeated .wallet.Key key = 3;public java.util.List<Protos.Transaction> getTransactionList()
repeated .wallet.Transaction transaction = 4;getTransactionList in interface Protos.WalletOrBuilderpublic java.util.List<? extends Protos.TransactionOrBuilder> getTransactionOrBuilderList()
repeated .wallet.Transaction transaction = 4;public int getTransactionCount()
repeated .wallet.Transaction transaction = 4;getTransactionCount in interface Protos.WalletOrBuilderpublic Protos.Transaction getTransaction(int index)
repeated .wallet.Transaction transaction = 4;getTransaction in interface Protos.WalletOrBuilderpublic Protos.TransactionOrBuilder getTransactionOrBuilder(int index)
repeated .wallet.Transaction transaction = 4;public java.util.List<Protos.Script> getWatchedScriptList()
repeated .wallet.Script watched_script = 15;getWatchedScriptList in interface Protos.WalletOrBuilderpublic java.util.List<? extends Protos.ScriptOrBuilder> getWatchedScriptOrBuilderList()
repeated .wallet.Script watched_script = 15;public int getWatchedScriptCount()
repeated .wallet.Script watched_script = 15;getWatchedScriptCount in interface Protos.WalletOrBuilderpublic Protos.Script getWatchedScript(int index)
repeated .wallet.Script watched_script = 15;getWatchedScript in interface Protos.WalletOrBuilderpublic Protos.ScriptOrBuilder getWatchedScriptOrBuilder(int index)
repeated .wallet.Script watched_script = 15;public boolean hasEncryptionType()
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];hasEncryptionType in interface Protos.WalletOrBuilderpublic Protos.Wallet.EncryptionType getEncryptionType()
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];getEncryptionType in interface Protos.WalletOrBuilderpublic boolean hasEncryptionParameters()
optional .wallet.ScryptParameters encryption_parameters = 6;hasEncryptionParameters in interface Protos.WalletOrBuilderpublic Protos.ScryptParameters getEncryptionParameters()
optional .wallet.ScryptParameters encryption_parameters = 6;getEncryptionParameters in interface Protos.WalletOrBuilderpublic 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];hasVersion in interface Protos.WalletOrBuilderpublic 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];getVersion in interface Protos.WalletOrBuilderpublic java.util.List<Protos.Extension> getExtensionList()
repeated .wallet.Extension extension = 10;getExtensionList in interface Protos.WalletOrBuilderpublic java.util.List<? extends Protos.ExtensionOrBuilder> getExtensionOrBuilderList()
repeated .wallet.Extension extension = 10;public int getExtensionCount()
repeated .wallet.Extension extension = 10;getExtensionCount in interface Protos.WalletOrBuilderpublic Protos.Extension getExtension(int index)
repeated .wallet.Extension extension = 10;getExtension in interface Protos.WalletOrBuilderpublic Protos.ExtensionOrBuilder getExtensionOrBuilder(int index)
repeated .wallet.Extension extension = 10;public boolean hasDescription()
A UTF8 encoded text description of the wallet that is intended for end user provided text.
optional string description = 11;hasDescription in interface Protos.WalletOrBuilderpublic java.lang.String getDescription()
A UTF8 encoded text description of the wallet that is intended for end user provided text.
optional string description = 11;getDescription in interface Protos.WalletOrBuilderpublic 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;getDescriptionBytes in interface Protos.WalletOrBuilderpublic 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;hasKeyRotationTime in interface Protos.WalletOrBuilderpublic 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;getKeyRotationTime in interface Protos.WalletOrBuilderpublic java.util.List<Protos.Tag> getTagsList()
repeated .wallet.Tag tags = 16;getTagsList in interface Protos.WalletOrBuilderpublic java.util.List<? extends Protos.TagOrBuilder> getTagsOrBuilderList()
repeated .wallet.Tag tags = 16;public int getTagsCount()
repeated .wallet.Tag tags = 16;getTagsCount in interface Protos.WalletOrBuilderpublic Protos.Tag getTags(int index)
repeated .wallet.Tag tags = 16;getTags in interface Protos.WalletOrBuilderpublic Protos.TagOrBuilder getTagsOrBuilder(int index)
repeated .wallet.Tag tags = 16;public static Protos.Wallet parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Wallet parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Wallet parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Wallet parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Wallet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Wallet parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Wallet parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Wallet parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Wallet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Wallet parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Wallet parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Wallet parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Wallet.Builder newBuilder()
public static Protos.Wallet.Builder newBuilder(Protos.Wallet prototype)
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0,
java.lang.Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Protos.Wallet,Protos.Wallet.Builder>public static Protos.Wallet getDefaultInstance()
public static com.google.protobuf.Parser<Protos.Wallet> parser()