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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.WatchOnly.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.WatchOnly.Builder>
public Walletunlocker.WatchOnly getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Walletunlocker.WatchOnly build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Walletunlocker.WatchOnly buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Walletunlocker.WatchOnly.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Walletunlocker.WatchOnly.Builder>
java.io.IOException
public 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.WatchOnlyOrBuilder
public 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.WatchOnlyOrBuilder
public 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.WatchOnlyOrBuilder
public 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.WatchOnlyOrBuilder
public 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.WatchOnlyOrBuilder
public 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.WatchOnlyOrBuilder
public 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.WatchOnlyOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.WatchOnly.Builder>