public static final class Walletunlocker.ChangePasswordRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.ChangePasswordRequest.Builder> implements Walletunlocker.ChangePasswordRequestOrBuilder
lnrpc.ChangePasswordRequest| Modifier and Type | Method and Description |
|---|---|
Walletunlocker.ChangePasswordRequest |
build() |
Walletunlocker.ChangePasswordRequest |
buildPartial() |
Walletunlocker.ChangePasswordRequest.Builder |
clear() |
Walletunlocker.ChangePasswordRequest.Builder |
clearCurrentPassword()
current_password should be the current valid passphrase used to unlock the
daemon.
|
Walletunlocker.ChangePasswordRequest.Builder |
clearNewMacaroonRootKey()
new_macaroon_root_key is an optional argument instructing the daemon to
rotate the macaroon root key when set to true.
|
Walletunlocker.ChangePasswordRequest.Builder |
clearNewPassword()
new_password should be the new passphrase that will be needed to unlock the
daemon.
|
Walletunlocker.ChangePasswordRequest.Builder |
clearStatelessInit()
stateless_init is an optional argument instructing the daemon NOT to create
any *.macaroon files in its filesystem.
|
com.google.protobuf.ByteString |
getCurrentPassword()
current_password should be the current valid passphrase used to unlock the
daemon.
|
Walletunlocker.ChangePasswordRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getNewMacaroonRootKey()
new_macaroon_root_key is an optional argument instructing the daemon to
rotate the macaroon root key when set to true.
|
com.google.protobuf.ByteString |
getNewPassword()
new_password should be the new passphrase that will be needed to unlock the
daemon.
|
boolean |
getStatelessInit()
stateless_init is an optional argument instructing the daemon NOT to create
any *.macaroon files in its filesystem.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Walletunlocker.ChangePasswordRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Walletunlocker.ChangePasswordRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Walletunlocker.ChangePasswordRequest.Builder |
mergeFrom(Walletunlocker.ChangePasswordRequest other) |
Walletunlocker.ChangePasswordRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Walletunlocker.ChangePasswordRequest.Builder |
setCurrentPassword(com.google.protobuf.ByteString value)
current_password should be the current valid passphrase used to unlock the
daemon.
|
Walletunlocker.ChangePasswordRequest.Builder |
setNewMacaroonRootKey(boolean value)
new_macaroon_root_key is an optional argument instructing the daemon to
rotate the macaroon root key when set to true.
|
Walletunlocker.ChangePasswordRequest.Builder |
setNewPassword(com.google.protobuf.ByteString value)
new_password should be the new passphrase that will be needed to unlock the
daemon.
|
Walletunlocker.ChangePasswordRequest.Builder |
setStatelessInit(boolean value)
stateless_init is an optional argument instructing the daemon NOT to create
any *.macaroon files in its filesystem.
|
Walletunlocker.ChangePasswordRequest.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.ChangePasswordRequest.Builder>public Walletunlocker.ChangePasswordRequest.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.ChangePasswordRequest.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.ChangePasswordRequest.Builder>public Walletunlocker.ChangePasswordRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Walletunlocker.ChangePasswordRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Walletunlocker.ChangePasswordRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Walletunlocker.ChangePasswordRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Walletunlocker.ChangePasswordRequest.Builder>public Walletunlocker.ChangePasswordRequest.Builder mergeFrom(Walletunlocker.ChangePasswordRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.ChangePasswordRequest.Builder>public Walletunlocker.ChangePasswordRequest.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.ChangePasswordRequest.Builder>java.io.IOExceptionpublic com.google.protobuf.ByteString getCurrentPassword()
current_password should be the current valid passphrase used to unlock the daemon. When using REST, this field must be encoded as base64.
bytes current_password = 1;getCurrentPassword in interface Walletunlocker.ChangePasswordRequestOrBuilderpublic Walletunlocker.ChangePasswordRequest.Builder setCurrentPassword(com.google.protobuf.ByteString value)
current_password should be the current valid passphrase used to unlock the daemon. When using REST, this field must be encoded as base64.
bytes current_password = 1;value - The currentPassword to set.public Walletunlocker.ChangePasswordRequest.Builder clearCurrentPassword()
current_password should be the current valid passphrase used to unlock the daemon. When using REST, this field must be encoded as base64.
bytes current_password = 1;public com.google.protobuf.ByteString getNewPassword()
new_password should be the new passphrase that will be needed to unlock the daemon. When using REST, this field must be encoded as base64.
bytes new_password = 2;getNewPassword in interface Walletunlocker.ChangePasswordRequestOrBuilderpublic Walletunlocker.ChangePasswordRequest.Builder setNewPassword(com.google.protobuf.ByteString value)
new_password should be the new passphrase that will be needed to unlock the daemon. When using REST, this field must be encoded as base64.
bytes new_password = 2;value - The newPassword to set.public Walletunlocker.ChangePasswordRequest.Builder clearNewPassword()
new_password should be the new passphrase that will be needed to unlock the daemon. When using REST, this field must be encoded as base64.
bytes new_password = 2;public boolean getStatelessInit()
stateless_init is an optional argument instructing the daemon NOT to create any *.macaroon files in its filesystem. If this parameter is set, then the admin macaroon returned in the response MUST be stored by the caller of the RPC as otherwise all access to the daemon will be lost!
bool stateless_init = 3;getStatelessInit in interface Walletunlocker.ChangePasswordRequestOrBuilderpublic Walletunlocker.ChangePasswordRequest.Builder setStatelessInit(boolean value)
stateless_init is an optional argument instructing the daemon NOT to create any *.macaroon files in its filesystem. If this parameter is set, then the admin macaroon returned in the response MUST be stored by the caller of the RPC as otherwise all access to the daemon will be lost!
bool stateless_init = 3;value - The statelessInit to set.public Walletunlocker.ChangePasswordRequest.Builder clearStatelessInit()
stateless_init is an optional argument instructing the daemon NOT to create any *.macaroon files in its filesystem. If this parameter is set, then the admin macaroon returned in the response MUST be stored by the caller of the RPC as otherwise all access to the daemon will be lost!
bool stateless_init = 3;public boolean getNewMacaroonRootKey()
new_macaroon_root_key is an optional argument instructing the daemon to rotate the macaroon root key when set to true. This will invalidate all previously generated macaroons.
bool new_macaroon_root_key = 4;getNewMacaroonRootKey in interface Walletunlocker.ChangePasswordRequestOrBuilderpublic Walletunlocker.ChangePasswordRequest.Builder setNewMacaroonRootKey(boolean value)
new_macaroon_root_key is an optional argument instructing the daemon to rotate the macaroon root key when set to true. This will invalidate all previously generated macaroons.
bool new_macaroon_root_key = 4;value - The newMacaroonRootKey to set.public Walletunlocker.ChangePasswordRequest.Builder clearNewMacaroonRootKey()
new_macaroon_root_key is an optional argument instructing the daemon to rotate the macaroon root key when set to true. This will invalidate all previously generated macaroons.
bool new_macaroon_root_key = 4;public final Walletunlocker.ChangePasswordRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.ChangePasswordRequest.Builder>public final Walletunlocker.ChangePasswordRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.ChangePasswordRequest.Builder>