public static final class Walletunlocker.WatchOnly.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.WatchOnly.Builder> implements Walletunlocker.WatchOnlyOrBuilder
lnrpc.WatchOnly| Modifier and Type | Method and Description |
|---|---|
Walletunlocker.WatchOnly.Builder |
addAccounts(int index,
Walletunlocker.WatchOnlyAccount.Builder builderForValue)
The list of accounts to import.
|
Walletunlocker.WatchOnly.Builder |
addAccounts(int index,
Walletunlocker.WatchOnlyAccount value)
The list of accounts to import.
|
Walletunlocker.WatchOnly.Builder |
addAccounts(Walletunlocker.WatchOnlyAccount.Builder builderForValue)
The list of accounts to import.
|
Walletunlocker.WatchOnly.Builder |
addAccounts(Walletunlocker.WatchOnlyAccount value)
The list of accounts to import.
|
Walletunlocker.WatchOnlyAccount.Builder |
addAccountsBuilder()
The list of accounts to import.
|
Walletunlocker.WatchOnlyAccount.Builder |
addAccountsBuilder(int index)
The list of accounts to import.
|
Walletunlocker.WatchOnly.Builder |
addAllAccounts(java.lang.Iterable<? extends Walletunlocker.WatchOnlyAccount> values)
The list of accounts to import.
|
Walletunlocker.WatchOnly |
build() |
Walletunlocker.WatchOnly |
buildPartial() |
Walletunlocker.WatchOnly.Builder |
clear() |
Walletunlocker.WatchOnly.Builder |
clearAccounts()
The list of accounts to import.
|
Walletunlocker.WatchOnly.Builder |
clearMasterKeyBirthdayTimestamp()
The unix timestamp in seconds of when the master key was created.
|
Walletunlocker.WatchOnly.Builder |
clearMasterKeyFingerprint()
The fingerprint of the root key (also known as the key with derivation path
m/) from which the account public keys were derived from.
|
Walletunlocker.WatchOnlyAccount |
getAccounts(int index)
The list of accounts to import.
|
Walletunlocker.WatchOnlyAccount.Builder |
getAccountsBuilder(int index)
The list of accounts to import.
|
java.util.List<Walletunlocker.WatchOnlyAccount.Builder> |
getAccountsBuilderList()
The list of accounts to import.
|
int |
getAccountsCount()
The list of accounts to import.
|
java.util.List<Walletunlocker.WatchOnlyAccount> |
getAccountsList()
The list of accounts to import.
|
Walletunlocker.WatchOnlyAccountOrBuilder |
getAccountsOrBuilder(int index)
The list of accounts to import.
|
java.util.List<? extends Walletunlocker.WatchOnlyAccountOrBuilder> |
getAccountsOrBuilderList()
The list of accounts to import.
|
Walletunlocker.WatchOnly |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getMasterKeyBirthdayTimestamp()
The unix timestamp in seconds of when the master key was created.
|
com.google.protobuf.ByteString |
getMasterKeyFingerprint()
The fingerprint of the root key (also known as the key with derivation path
m/) from which the account public keys were derived from.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Walletunlocker.WatchOnly.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Walletunlocker.WatchOnly.Builder |
mergeFrom(com.google.protobuf.Message other) |
Walletunlocker.WatchOnly.Builder |
mergeFrom(Walletunlocker.WatchOnly other) |
Walletunlocker.WatchOnly.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Walletunlocker.WatchOnly.Builder |
removeAccounts(int index)
The list of accounts to import.
|
Walletunlocker.WatchOnly.Builder |
setAccounts(int index,
Walletunlocker.WatchOnlyAccount.Builder builderForValue)
The list of accounts to import.
|
Walletunlocker.WatchOnly.Builder |
setAccounts(int index,
Walletunlocker.WatchOnlyAccount value)
The list of accounts to import.
|
Walletunlocker.WatchOnly.Builder |
setMasterKeyBirthdayTimestamp(long value)
The unix timestamp in seconds of when the master key was created.
|
Walletunlocker.WatchOnly.Builder |
setMasterKeyFingerprint(com.google.protobuf.ByteString value)
The fingerprint of the root key (also known as the key with derivation path
m/) from which the account public keys were derived from.
|
Walletunlocker.WatchOnly.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.WatchOnly.Builder>public Walletunlocker.WatchOnly.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.WatchOnly.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.WatchOnly.Builder>public Walletunlocker.WatchOnly getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Walletunlocker.WatchOnly build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Walletunlocker.WatchOnly buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Walletunlocker.WatchOnly.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Walletunlocker.WatchOnly.Builder>public Walletunlocker.WatchOnly.Builder mergeFrom(Walletunlocker.WatchOnly other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.WatchOnly.Builder>public Walletunlocker.WatchOnly.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Walletunlocker.WatchOnly.Builder>java.io.IOExceptionpublic long getMasterKeyBirthdayTimestamp()
The unix timestamp in seconds of when the master key was created. lnd will only start scanning for funds in blocks that are after the birthday which can speed up the process significantly. If the birthday is not known, this should be left at its default value of 0 in which case lnd will start scanning from the first SegWit block (481824 on mainnet).
uint64 master_key_birthday_timestamp = 1;getMasterKeyBirthdayTimestamp in interface Walletunlocker.WatchOnlyOrBuilderpublic Walletunlocker.WatchOnly.Builder setMasterKeyBirthdayTimestamp(long value)
The unix timestamp in seconds of when the master key was created. lnd will only start scanning for funds in blocks that are after the birthday which can speed up the process significantly. If the birthday is not known, this should be left at its default value of 0 in which case lnd will start scanning from the first SegWit block (481824 on mainnet).
uint64 master_key_birthday_timestamp = 1;value - The masterKeyBirthdayTimestamp to set.public Walletunlocker.WatchOnly.Builder clearMasterKeyBirthdayTimestamp()
The unix timestamp in seconds of when the master key was created. lnd will only start scanning for funds in blocks that are after the birthday which can speed up the process significantly. If the birthday is not known, this should be left at its default value of 0 in which case lnd will start scanning from the first SegWit block (481824 on mainnet).
uint64 master_key_birthday_timestamp = 1;public com.google.protobuf.ByteString getMasterKeyFingerprint()
The fingerprint of the root key (also known as the key with derivation path m/) from which the account public keys were derived from. This may be required by some hardware wallets for proper identification and signing. The bytes must be in big-endian order.
bytes master_key_fingerprint = 2;getMasterKeyFingerprint in interface Walletunlocker.WatchOnlyOrBuilderpublic Walletunlocker.WatchOnly.Builder setMasterKeyFingerprint(com.google.protobuf.ByteString value)
The fingerprint of the root key (also known as the key with derivation path m/) from which the account public keys were derived from. This may be required by some hardware wallets for proper identification and signing. The bytes must be in big-endian order.
bytes master_key_fingerprint = 2;value - The masterKeyFingerprint to set.public Walletunlocker.WatchOnly.Builder clearMasterKeyFingerprint()
The fingerprint of the root key (also known as the key with derivation path m/) from which the account public keys were derived from. This may be required by some hardware wallets for proper identification and signing. The bytes must be in big-endian order.
bytes master_key_fingerprint = 2;public java.util.List<Walletunlocker.WatchOnlyAccount> getAccountsList()
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;getAccountsList in interface Walletunlocker.WatchOnlyOrBuilderpublic int getAccountsCount()
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;getAccountsCount in interface Walletunlocker.WatchOnlyOrBuilderpublic Walletunlocker.WatchOnlyAccount getAccounts(int index)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;getAccounts in interface Walletunlocker.WatchOnlyOrBuilderpublic Walletunlocker.WatchOnly.Builder setAccounts(int index, Walletunlocker.WatchOnlyAccount value)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public Walletunlocker.WatchOnly.Builder setAccounts(int index, Walletunlocker.WatchOnlyAccount.Builder builderForValue)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public Walletunlocker.WatchOnly.Builder addAccounts(Walletunlocker.WatchOnlyAccount value)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public Walletunlocker.WatchOnly.Builder addAccounts(int index, Walletunlocker.WatchOnlyAccount value)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public Walletunlocker.WatchOnly.Builder addAccounts(Walletunlocker.WatchOnlyAccount.Builder builderForValue)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public Walletunlocker.WatchOnly.Builder addAccounts(int index, Walletunlocker.WatchOnlyAccount.Builder builderForValue)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public Walletunlocker.WatchOnly.Builder addAllAccounts(java.lang.Iterable<? extends Walletunlocker.WatchOnlyAccount> values)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public Walletunlocker.WatchOnly.Builder clearAccounts()
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public Walletunlocker.WatchOnly.Builder removeAccounts(int index)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public Walletunlocker.WatchOnlyAccount.Builder getAccountsBuilder(int index)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public Walletunlocker.WatchOnlyAccountOrBuilder getAccountsOrBuilder(int index)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;getAccountsOrBuilder in interface Walletunlocker.WatchOnlyOrBuilderpublic java.util.List<? extends Walletunlocker.WatchOnlyAccountOrBuilder> getAccountsOrBuilderList()
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;getAccountsOrBuilderList in interface Walletunlocker.WatchOnlyOrBuilderpublic Walletunlocker.WatchOnlyAccount.Builder addAccountsBuilder()
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public Walletunlocker.WatchOnlyAccount.Builder addAccountsBuilder(int index)
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public java.util.List<Walletunlocker.WatchOnlyAccount.Builder> getAccountsBuilderList()
The list of accounts to import. There _must_ be an account for all of lnd's main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the coin type is always 0, even for testnet/regtest) and lnd's internal key scope (m/1017'/<coin_type>'/<account>'), where account is the key family as defined in `keychain/derivation.go` (currently indices 0 to 9).
repeated .lnrpc.WatchOnlyAccount accounts = 3;public final Walletunlocker.WatchOnly.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.WatchOnly.Builder>public final Walletunlocker.WatchOnly.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.WatchOnly.Builder>