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, 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.ChannelBackup.Builder>
public LightningApi.ChannelBackup.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.ChannelBackup.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.ChannelBackup.Builder>
public LightningApi.ChannelBackup getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.ChannelBackup build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ChannelBackup buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ChannelBackup.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ChannelBackup.Builder>
java.io.IOException
public boolean hasChanPoint()
Identifies the channel that this backup belongs to.
.lnrpc.ChannelPoint chan_point = 1;
hasChanPoint
in interface LightningApi.ChannelBackupOrBuilder
public LightningApi.ChannelPoint getChanPoint()
Identifies the channel that this backup belongs to.
.lnrpc.ChannelPoint chan_point = 1;
getChanPoint
in interface LightningApi.ChannelBackupOrBuilder
public 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.ChannelBackupOrBuilder
public 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.ChannelBackupOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelBackup.Builder>