public static final class Walletunlocker.UnlockWalletRequest extends com.google.protobuf.GeneratedMessageV3 implements Walletunlocker.UnlockWalletRequestOrBuilder
lnrpc.UnlockWalletRequest| Modifier and Type | Class and Description |
|---|---|
static class |
Walletunlocker.UnlockWalletRequest.Builder
Protobuf type
lnrpc.UnlockWalletRequest |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHANNEL_BACKUPS_FIELD_NUMBER |
static int |
RECOVERY_WINDOW_FIELD_NUMBER |
static int |
STATELESS_INIT_FIELD_NUMBER |
static int |
WALLET_PASSWORD_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
LightningApi.ChanBackupSnapshot |
getChannelBackups()
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.
|
static Walletunlocker.UnlockWalletRequest |
getDefaultInstance() |
Walletunlocker.UnlockWalletRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Walletunlocker.UnlockWalletRequest> |
getParserForType() |
int |
getRecoveryWindow()
recovery_window is an optional argument specifying the address lookahead
when restoring a wallet seed.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Walletunlocker.UnlockWalletRequest.Builder |
newBuilder() |
static Walletunlocker.UnlockWalletRequest.Builder |
newBuilder(Walletunlocker.UnlockWalletRequest prototype) |
Walletunlocker.UnlockWalletRequest.Builder |
newBuilderForType() |
protected Walletunlocker.UnlockWalletRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Walletunlocker.UnlockWalletRequest |
parseDelimitedFrom(java.io.InputStream input) |
static Walletunlocker.UnlockWalletRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Walletunlocker.UnlockWalletRequest |
parseFrom(byte[] data) |
static Walletunlocker.UnlockWalletRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Walletunlocker.UnlockWalletRequest |
parseFrom(java.nio.ByteBuffer data) |
static Walletunlocker.UnlockWalletRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Walletunlocker.UnlockWalletRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Walletunlocker.UnlockWalletRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Walletunlocker.UnlockWalletRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Walletunlocker.UnlockWalletRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Walletunlocker.UnlockWalletRequest |
parseFrom(java.io.InputStream input) |
static Walletunlocker.UnlockWalletRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Walletunlocker.UnlockWalletRequest> |
parser() |
Walletunlocker.UnlockWalletRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int WALLET_PASSWORD_FIELD_NUMBER
public static final int RECOVERY_WINDOW_FIELD_NUMBER
public static final int CHANNEL_BACKUPS_FIELD_NUMBER
public static final int STATELESS_INIT_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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.UnlockWalletRequestOrBuilderpublic 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.UnlockWalletRequestOrBuilderpublic 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.UnlockWalletRequestOrBuilderpublic 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.UnlockWalletRequestOrBuilderpublic 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.UnlockWalletRequestOrBuilderpublic 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.UnlockWalletRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Walletunlocker.UnlockWalletRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Walletunlocker.UnlockWalletRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Walletunlocker.UnlockWalletRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Walletunlocker.UnlockWalletRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Walletunlocker.UnlockWalletRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Walletunlocker.UnlockWalletRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Walletunlocker.UnlockWalletRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Walletunlocker.UnlockWalletRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Walletunlocker.UnlockWalletRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Walletunlocker.UnlockWalletRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Walletunlocker.UnlockWalletRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Walletunlocker.UnlockWalletRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Walletunlocker.UnlockWalletRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Walletunlocker.UnlockWalletRequest.Builder newBuilder()
public static Walletunlocker.UnlockWalletRequest.Builder newBuilder(Walletunlocker.UnlockWalletRequest prototype)
public Walletunlocker.UnlockWalletRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Walletunlocker.UnlockWalletRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Walletunlocker.UnlockWalletRequest getDefaultInstance()
public static com.google.protobuf.Parser<Walletunlocker.UnlockWalletRequest> parser()
public com.google.protobuf.Parser<Walletunlocker.UnlockWalletRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Walletunlocker.UnlockWalletRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder