public static final class Walletunlocker.UnlockWalletRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.UnlockWalletRequest.Builder> implements Walletunlocker.UnlockWalletRequestOrBuilder
lnrpc.UnlockWalletRequest
Modifier and Type | Method and Description |
---|---|
Walletunlocker.UnlockWalletRequest |
build() |
Walletunlocker.UnlockWalletRequest |
buildPartial() |
Walletunlocker.UnlockWalletRequest.Builder |
clear() |
Walletunlocker.UnlockWalletRequest.Builder |
clearChannelBackups()
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
Walletunlocker.UnlockWalletRequest.Builder |
clearRecoveryWindow()
recovery_window is an optional argument specifying the address lookahead
when restoring a wallet seed.
|
Walletunlocker.UnlockWalletRequest.Builder |
clearStatelessInit()
stateless_init is an optional argument instructing the daemon NOT to create
any *.macaroon files in its file system.
|
Walletunlocker.UnlockWalletRequest.Builder |
clearWalletPassword()
wallet_password should be the current valid passphrase for the daemon.
|
LightningApi.ChanBackupSnapshot |
getChannelBackups()
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
LightningApi.ChanBackupSnapshot.Builder |
getChannelBackupsBuilder()
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
LightningApi.ChanBackupSnapshotOrBuilder |
getChannelBackupsOrBuilder()
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
Walletunlocker.UnlockWalletRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getRecoveryWindow()
recovery_window is an optional argument specifying the address lookahead
when restoring a wallet seed.
|
boolean |
getStatelessInit()
stateless_init is an optional argument instructing the daemon NOT to create
any *.macaroon files in its file system.
|
com.google.protobuf.ByteString |
getWalletPassword()
wallet_password should be the current valid passphrase for the daemon.
|
boolean |
hasChannelBackups()
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Walletunlocker.UnlockWalletRequest.Builder |
mergeChannelBackups(LightningApi.ChanBackupSnapshot value)
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
Walletunlocker.UnlockWalletRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Walletunlocker.UnlockWalletRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Walletunlocker.UnlockWalletRequest.Builder |
mergeFrom(Walletunlocker.UnlockWalletRequest other) |
Walletunlocker.UnlockWalletRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Walletunlocker.UnlockWalletRequest.Builder |
setChannelBackups(LightningApi.ChanBackupSnapshot.Builder builderForValue)
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
Walletunlocker.UnlockWalletRequest.Builder |
setChannelBackups(LightningApi.ChanBackupSnapshot value)
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
Walletunlocker.UnlockWalletRequest.Builder |
setRecoveryWindow(int value)
recovery_window is an optional argument specifying the address lookahead
when restoring a wallet seed.
|
Walletunlocker.UnlockWalletRequest.Builder |
setStatelessInit(boolean value)
stateless_init is an optional argument instructing the daemon NOT to create
any *.macaroon files in its file system.
|
Walletunlocker.UnlockWalletRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Walletunlocker.UnlockWalletRequest.Builder |
setWalletPassword(com.google.protobuf.ByteString value)
wallet_password should be the current valid passphrase for the daemon.
|
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.UnlockWalletRequest.Builder>
public Walletunlocker.UnlockWalletRequest.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.UnlockWalletRequest.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.UnlockWalletRequest.Builder>
public Walletunlocker.UnlockWalletRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Walletunlocker.UnlockWalletRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Walletunlocker.UnlockWalletRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Walletunlocker.UnlockWalletRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Walletunlocker.UnlockWalletRequest.Builder>
public Walletunlocker.UnlockWalletRequest.Builder mergeFrom(Walletunlocker.UnlockWalletRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.UnlockWalletRequest.Builder>
public Walletunlocker.UnlockWalletRequest.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.UnlockWalletRequest.Builder>
java.io.IOException
public com.google.protobuf.ByteString getWalletPassword()
wallet_password should be the current valid passphrase for the daemon. This will be required to decrypt on-disk material that the daemon requires to function properly. When using REST, this field must be encoded as base64.
bytes wallet_password = 1;
getWalletPassword
in interface Walletunlocker.UnlockWalletRequestOrBuilder
public Walletunlocker.UnlockWalletRequest.Builder setWalletPassword(com.google.protobuf.ByteString value)
wallet_password should be the current valid passphrase for the daemon. This will be required to decrypt on-disk material that the daemon requires to function properly. When using REST, this field must be encoded as base64.
bytes wallet_password = 1;
value
- The walletPassword to set.public Walletunlocker.UnlockWalletRequest.Builder clearWalletPassword()
wallet_password should be the current valid passphrase for the daemon. This will be required to decrypt on-disk material that the daemon requires to function properly. When using REST, this field must be encoded as base64.
bytes wallet_password = 1;
public int getRecoveryWindow()
recovery_window is an optional argument specifying the address lookahead when restoring a wallet seed. The recovery window applies to each individual branch of the BIP44 derivation paths. Supplying a recovery window of zero indicates that no addresses should be recovered, such after the first initialization of the wallet.
int32 recovery_window = 2;
getRecoveryWindow
in interface Walletunlocker.UnlockWalletRequestOrBuilder
public Walletunlocker.UnlockWalletRequest.Builder setRecoveryWindow(int value)
recovery_window is an optional argument specifying the address lookahead when restoring a wallet seed. The recovery window applies to each individual branch of the BIP44 derivation paths. Supplying a recovery window of zero indicates that no addresses should be recovered, such after the first initialization of the wallet.
int32 recovery_window = 2;
value
- The recoveryWindow to set.public Walletunlocker.UnlockWalletRequest.Builder clearRecoveryWindow()
recovery_window is an optional argument specifying the address lookahead when restoring a wallet seed. The recovery window applies to each individual branch of the BIP44 derivation paths. Supplying a recovery window of zero indicates that no addresses should be recovered, such after the first initialization of the wallet.
int32 recovery_window = 2;
public boolean hasChannelBackups()
channel_backups is an optional argument that allows clients to recover the settled funds within a set of channels. This should be populated if the user was unable to close out all channels and sweep funds before partial or total data loss occurred. If specified, then after on-chain recovery of funds, lnd begin to carry out the data loss recovery protocol in order to recover the funds in each channel from a remote force closed transaction.
.lnrpc.ChanBackupSnapshot channel_backups = 3;
hasChannelBackups
in interface Walletunlocker.UnlockWalletRequestOrBuilder
public LightningApi.ChanBackupSnapshot getChannelBackups()
channel_backups is an optional argument that allows clients to recover the settled funds within a set of channels. This should be populated if the user was unable to close out all channels and sweep funds before partial or total data loss occurred. If specified, then after on-chain recovery of funds, lnd begin to carry out the data loss recovery protocol in order to recover the funds in each channel from a remote force closed transaction.
.lnrpc.ChanBackupSnapshot channel_backups = 3;
getChannelBackups
in interface Walletunlocker.UnlockWalletRequestOrBuilder
public Walletunlocker.UnlockWalletRequest.Builder setChannelBackups(LightningApi.ChanBackupSnapshot value)
channel_backups is an optional argument that allows clients to recover the settled funds within a set of channels. This should be populated if the user was unable to close out all channels and sweep funds before partial or total data loss occurred. If specified, then after on-chain recovery of funds, lnd begin to carry out the data loss recovery protocol in order to recover the funds in each channel from a remote force closed transaction.
.lnrpc.ChanBackupSnapshot channel_backups = 3;
public Walletunlocker.UnlockWalletRequest.Builder setChannelBackups(LightningApi.ChanBackupSnapshot.Builder builderForValue)
channel_backups is an optional argument that allows clients to recover the settled funds within a set of channels. This should be populated if the user was unable to close out all channels and sweep funds before partial or total data loss occurred. If specified, then after on-chain recovery of funds, lnd begin to carry out the data loss recovery protocol in order to recover the funds in each channel from a remote force closed transaction.
.lnrpc.ChanBackupSnapshot channel_backups = 3;
public Walletunlocker.UnlockWalletRequest.Builder mergeChannelBackups(LightningApi.ChanBackupSnapshot value)
channel_backups is an optional argument that allows clients to recover the settled funds within a set of channels. This should be populated if the user was unable to close out all channels and sweep funds before partial or total data loss occurred. If specified, then after on-chain recovery of funds, lnd begin to carry out the data loss recovery protocol in order to recover the funds in each channel from a remote force closed transaction.
.lnrpc.ChanBackupSnapshot channel_backups = 3;
public Walletunlocker.UnlockWalletRequest.Builder clearChannelBackups()
channel_backups is an optional argument that allows clients to recover the settled funds within a set of channels. This should be populated if the user was unable to close out all channels and sweep funds before partial or total data loss occurred. If specified, then after on-chain recovery of funds, lnd begin to carry out the data loss recovery protocol in order to recover the funds in each channel from a remote force closed transaction.
.lnrpc.ChanBackupSnapshot channel_backups = 3;
public LightningApi.ChanBackupSnapshot.Builder getChannelBackupsBuilder()
channel_backups is an optional argument that allows clients to recover the settled funds within a set of channels. This should be populated if the user was unable to close out all channels and sweep funds before partial or total data loss occurred. If specified, then after on-chain recovery of funds, lnd begin to carry out the data loss recovery protocol in order to recover the funds in each channel from a remote force closed transaction.
.lnrpc.ChanBackupSnapshot channel_backups = 3;
public LightningApi.ChanBackupSnapshotOrBuilder getChannelBackupsOrBuilder()
channel_backups is an optional argument that allows clients to recover the settled funds within a set of channels. This should be populated if the user was unable to close out all channels and sweep funds before partial or total data loss occurred. If specified, then after on-chain recovery of funds, lnd begin to carry out the data loss recovery protocol in order to recover the funds in each channel from a remote force closed transaction.
.lnrpc.ChanBackupSnapshot channel_backups = 3;
getChannelBackupsOrBuilder
in interface Walletunlocker.UnlockWalletRequestOrBuilder
public boolean getStatelessInit()
stateless_init is an optional argument instructing the daemon NOT to create any *.macaroon files in its file system.
bool stateless_init = 4;
getStatelessInit
in interface Walletunlocker.UnlockWalletRequestOrBuilder
public Walletunlocker.UnlockWalletRequest.Builder setStatelessInit(boolean value)
stateless_init is an optional argument instructing the daemon NOT to create any *.macaroon files in its file system.
bool stateless_init = 4;
value
- The statelessInit to set.public Walletunlocker.UnlockWalletRequest.Builder clearStatelessInit()
stateless_init is an optional argument instructing the daemon NOT to create any *.macaroon files in its file system.
bool stateless_init = 4;
public final Walletunlocker.UnlockWalletRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.UnlockWalletRequest.Builder>
public final Walletunlocker.UnlockWalletRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.UnlockWalletRequest.Builder>