public static final class LightningApi.GetRecoveryInfoResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetRecoveryInfoResponse.Builder> implements LightningApi.GetRecoveryInfoResponseOrBuilder
lnrpc.GetRecoveryInfoResponse
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<LightningApi.GetRecoveryInfoResponse.Builder>
public LightningApi.GetRecoveryInfoResponse.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<LightningApi.GetRecoveryInfoResponse.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<LightningApi.GetRecoveryInfoResponse.Builder>
public LightningApi.GetRecoveryInfoResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.GetRecoveryInfoResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.GetRecoveryInfoResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.GetRecoveryInfoResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.GetRecoveryInfoResponse.Builder>
public LightningApi.GetRecoveryInfoResponse.Builder mergeFrom(LightningApi.GetRecoveryInfoResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetRecoveryInfoResponse.Builder>
public LightningApi.GetRecoveryInfoResponse.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<LightningApi.GetRecoveryInfoResponse.Builder>
java.io.IOException
public boolean getRecoveryMode()
Whether the wallet is in recovery mode
bool recovery_mode = 1;
getRecoveryMode
in interface LightningApi.GetRecoveryInfoResponseOrBuilder
public LightningApi.GetRecoveryInfoResponse.Builder setRecoveryMode(boolean value)
Whether the wallet is in recovery mode
bool recovery_mode = 1;
value
- The recoveryMode to set.public LightningApi.GetRecoveryInfoResponse.Builder clearRecoveryMode()
Whether the wallet is in recovery mode
bool recovery_mode = 1;
public boolean getRecoveryFinished()
Whether the wallet recovery progress is finished
bool recovery_finished = 2;
getRecoveryFinished
in interface LightningApi.GetRecoveryInfoResponseOrBuilder
public LightningApi.GetRecoveryInfoResponse.Builder setRecoveryFinished(boolean value)
Whether the wallet recovery progress is finished
bool recovery_finished = 2;
value
- The recoveryFinished to set.public LightningApi.GetRecoveryInfoResponse.Builder clearRecoveryFinished()
Whether the wallet recovery progress is finished
bool recovery_finished = 2;
public double getProgress()
The recovery progress, ranging from 0 to 1.
double progress = 3;
getProgress
in interface LightningApi.GetRecoveryInfoResponseOrBuilder
public LightningApi.GetRecoveryInfoResponse.Builder setProgress(double value)
The recovery progress, ranging from 0 to 1.
double progress = 3;
value
- The progress to set.public LightningApi.GetRecoveryInfoResponse.Builder clearProgress()
The recovery progress, ranging from 0 to 1.
double progress = 3;
public final LightningApi.GetRecoveryInfoResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetRecoveryInfoResponse.Builder>
public final LightningApi.GetRecoveryInfoResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetRecoveryInfoResponse.Builder>