public static final class LightningApi.ChannelBackup.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelBackup.Builder> implements LightningApi.ChannelBackupOrBuilder
lnrpc.ChannelBackup| Modifier and Type | Method and Description |
|---|---|
LightningApi.ChannelBackup |
build() |
LightningApi.ChannelBackup |
buildPartial() |
LightningApi.ChannelBackup.Builder |
clear() |
LightningApi.ChannelBackup.Builder |
clearChanBackup()
Is an encrypted single-chan backup.
|
LightningApi.ChannelBackup.Builder |
clearChanPoint()
Identifies the channel that this backup belongs to.
|
com.google.protobuf.ByteString |
getChanBackup()
Is an encrypted single-chan backup.
|
LightningApi.ChannelPoint |
getChanPoint()
Identifies the channel that this backup belongs to.
|
LightningApi.ChannelPoint.Builder |
getChanPointBuilder()
Identifies the channel that this backup belongs to.
|
LightningApi.ChannelPointOrBuilder |
getChanPointOrBuilder()
Identifies the channel that this backup belongs to.
|
LightningApi.ChannelBackup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasChanPoint()
Identifies the channel that this backup belongs to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ChannelBackup.Builder |
mergeChanPoint(LightningApi.ChannelPoint value)
Identifies the channel that this backup belongs to.
|
LightningApi.ChannelBackup.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ChannelBackup.Builder |
mergeFrom(LightningApi.ChannelBackup other) |
LightningApi.ChannelBackup.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ChannelBackup.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ChannelBackup.Builder |
setChanBackup(com.google.protobuf.ByteString value)
Is an encrypted single-chan backup.
|
LightningApi.ChannelBackup.Builder |
setChanPoint(LightningApi.ChannelPoint.Builder builderForValue)
Identifies the channel that this backup belongs to.
|
LightningApi.ChannelBackup.Builder |
setChanPoint(LightningApi.ChannelPoint value)
Identifies the channel that this backup belongs to.
|
LightningApi.ChannelBackup.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<LightningApi.ChannelBackup.Builder>public LightningApi.ChannelBackup.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelBackup.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<LightningApi.ChannelBackup.Builder>public LightningApi.ChannelBackup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.ChannelBackup build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ChannelBackup buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ChannelBackup.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ChannelBackup.Builder>public LightningApi.ChannelBackup.Builder mergeFrom(LightningApi.ChannelBackup other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelBackup.Builder>public LightningApi.ChannelBackup.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<LightningApi.ChannelBackup.Builder>java.io.IOExceptionpublic boolean hasChanPoint()
Identifies the channel that this backup belongs to.
.lnrpc.ChannelPoint chan_point = 1;hasChanPoint in interface LightningApi.ChannelBackupOrBuilderpublic LightningApi.ChannelPoint getChanPoint()
Identifies the channel that this backup belongs to.
.lnrpc.ChannelPoint chan_point = 1;getChanPoint in interface LightningApi.ChannelBackupOrBuilderpublic LightningApi.ChannelBackup.Builder setChanPoint(LightningApi.ChannelPoint value)
Identifies the channel that this backup belongs to.
.lnrpc.ChannelPoint chan_point = 1;public LightningApi.ChannelBackup.Builder setChanPoint(LightningApi.ChannelPoint.Builder builderForValue)
Identifies the channel that this backup belongs to.
.lnrpc.ChannelPoint chan_point = 1;public LightningApi.ChannelBackup.Builder mergeChanPoint(LightningApi.ChannelPoint value)
Identifies the channel that this backup belongs to.
.lnrpc.ChannelPoint chan_point = 1;public LightningApi.ChannelBackup.Builder clearChanPoint()
Identifies the channel that this backup belongs to.
.lnrpc.ChannelPoint chan_point = 1;public LightningApi.ChannelPoint.Builder getChanPointBuilder()
Identifies the channel that this backup belongs to.
.lnrpc.ChannelPoint chan_point = 1;public LightningApi.ChannelPointOrBuilder getChanPointOrBuilder()
Identifies the channel that this backup belongs to.
.lnrpc.ChannelPoint chan_point = 1;getChanPointOrBuilder in interface LightningApi.ChannelBackupOrBuilderpublic com.google.protobuf.ByteString getChanBackup()
Is an encrypted single-chan backup. this can be passed to RestoreChannelBackups, or the WalletUnlocker Init and Unlock methods in order to trigger the recovery protocol. When using REST, this field must be encoded as base64.
bytes chan_backup = 2;getChanBackup in interface LightningApi.ChannelBackupOrBuilderpublic LightningApi.ChannelBackup.Builder setChanBackup(com.google.protobuf.ByteString value)
Is an encrypted single-chan backup. this can be passed to RestoreChannelBackups, or the WalletUnlocker Init and Unlock methods in order to trigger the recovery protocol. When using REST, this field must be encoded as base64.
bytes chan_backup = 2;value - The chanBackup to set.public LightningApi.ChannelBackup.Builder clearChanBackup()
Is an encrypted single-chan backup. this can be passed to RestoreChannelBackups, or the WalletUnlocker Init and Unlock methods in order to trigger the recovery protocol. When using REST, this field must be encoded as base64.
bytes chan_backup = 2;public final LightningApi.ChannelBackup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelBackup.Builder>public final LightningApi.ChannelBackup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelBackup.Builder>