public static final class LightningApi.MultiChanBackup.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MultiChanBackup.Builder> implements LightningApi.MultiChanBackupOrBuilder
lnrpc.MultiChanBackup| Modifier and Type | Method and Description |
|---|---|
LightningApi.MultiChanBackup.Builder |
addAllChanPoints(java.lang.Iterable<? extends LightningApi.ChannelPoint> values)
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.MultiChanBackup.Builder |
addChanPoints(int index,
LightningApi.ChannelPoint.Builder builderForValue)
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.MultiChanBackup.Builder |
addChanPoints(int index,
LightningApi.ChannelPoint value)
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.MultiChanBackup.Builder |
addChanPoints(LightningApi.ChannelPoint.Builder builderForValue)
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.MultiChanBackup.Builder |
addChanPoints(LightningApi.ChannelPoint value)
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.ChannelPoint.Builder |
addChanPointsBuilder()
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.ChannelPoint.Builder |
addChanPointsBuilder(int index)
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.MultiChanBackup |
build() |
LightningApi.MultiChanBackup |
buildPartial() |
LightningApi.MultiChanBackup.Builder |
clear() |
LightningApi.MultiChanBackup.Builder |
clearChanPoints()
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.MultiChanBackup.Builder |
clearMultiChanBackup()
A single encrypted blob containing all the static channel backups of the
channel listed above.
|
LightningApi.ChannelPoint |
getChanPoints(int index)
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.ChannelPoint.Builder |
getChanPointsBuilder(int index)
Is the set of all channels that are included in this multi-channel backup.
|
java.util.List<LightningApi.ChannelPoint.Builder> |
getChanPointsBuilderList()
Is the set of all channels that are included in this multi-channel backup.
|
int |
getChanPointsCount()
Is the set of all channels that are included in this multi-channel backup.
|
java.util.List<LightningApi.ChannelPoint> |
getChanPointsList()
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.ChannelPointOrBuilder |
getChanPointsOrBuilder(int index)
Is the set of all channels that are included in this multi-channel backup.
|
java.util.List<? extends LightningApi.ChannelPointOrBuilder> |
getChanPointsOrBuilderList()
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.MultiChanBackup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getMultiChanBackup()
A single encrypted blob containing all the static channel backups of the
channel listed above.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.MultiChanBackup.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.MultiChanBackup.Builder |
mergeFrom(LightningApi.MultiChanBackup other) |
LightningApi.MultiChanBackup.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.MultiChanBackup.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.MultiChanBackup.Builder |
removeChanPoints(int index)
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.MultiChanBackup.Builder |
setChanPoints(int index,
LightningApi.ChannelPoint.Builder builderForValue)
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.MultiChanBackup.Builder |
setChanPoints(int index,
LightningApi.ChannelPoint value)
Is the set of all channels that are included in this multi-channel backup.
|
LightningApi.MultiChanBackup.Builder |
setMultiChanBackup(com.google.protobuf.ByteString value)
A single encrypted blob containing all the static channel backups of the
channel listed above.
|
LightningApi.MultiChanBackup.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.MultiChanBackup.Builder>public LightningApi.MultiChanBackup.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.MultiChanBackup.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.MultiChanBackup.Builder>public LightningApi.MultiChanBackup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.MultiChanBackup build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.MultiChanBackup buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.MultiChanBackup.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.MultiChanBackup.Builder>public LightningApi.MultiChanBackup.Builder mergeFrom(LightningApi.MultiChanBackup other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MultiChanBackup.Builder>public LightningApi.MultiChanBackup.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.MultiChanBackup.Builder>java.io.IOExceptionpublic java.util.List<LightningApi.ChannelPoint> getChanPointsList()
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;getChanPointsList in interface LightningApi.MultiChanBackupOrBuilderpublic int getChanPointsCount()
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;getChanPointsCount in interface LightningApi.MultiChanBackupOrBuilderpublic LightningApi.ChannelPoint getChanPoints(int index)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;getChanPoints in interface LightningApi.MultiChanBackupOrBuilderpublic LightningApi.MultiChanBackup.Builder setChanPoints(int index, LightningApi.ChannelPoint value)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public LightningApi.MultiChanBackup.Builder setChanPoints(int index, LightningApi.ChannelPoint.Builder builderForValue)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public LightningApi.MultiChanBackup.Builder addChanPoints(LightningApi.ChannelPoint value)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public LightningApi.MultiChanBackup.Builder addChanPoints(int index, LightningApi.ChannelPoint value)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public LightningApi.MultiChanBackup.Builder addChanPoints(LightningApi.ChannelPoint.Builder builderForValue)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public LightningApi.MultiChanBackup.Builder addChanPoints(int index, LightningApi.ChannelPoint.Builder builderForValue)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public LightningApi.MultiChanBackup.Builder addAllChanPoints(java.lang.Iterable<? extends LightningApi.ChannelPoint> values)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public LightningApi.MultiChanBackup.Builder clearChanPoints()
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public LightningApi.MultiChanBackup.Builder removeChanPoints(int index)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public LightningApi.ChannelPoint.Builder getChanPointsBuilder(int index)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public LightningApi.ChannelPointOrBuilder getChanPointsOrBuilder(int index)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;getChanPointsOrBuilder in interface LightningApi.MultiChanBackupOrBuilderpublic java.util.List<? extends LightningApi.ChannelPointOrBuilder> getChanPointsOrBuilderList()
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;getChanPointsOrBuilderList in interface LightningApi.MultiChanBackupOrBuilderpublic LightningApi.ChannelPoint.Builder addChanPointsBuilder()
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public LightningApi.ChannelPoint.Builder addChanPointsBuilder(int index)
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public java.util.List<LightningApi.ChannelPoint.Builder> getChanPointsBuilderList()
Is the set of all channels that are included in this multi-channel backup.
repeated .lnrpc.ChannelPoint chan_points = 1;public com.google.protobuf.ByteString getMultiChanBackup()
A single encrypted blob containing all the static channel backups of the channel listed above. This can be stored as a single file or blob, and safely be replaced with any prior/future versions. When using REST, this field must be encoded as base64.
bytes multi_chan_backup = 2;getMultiChanBackup in interface LightningApi.MultiChanBackupOrBuilderpublic LightningApi.MultiChanBackup.Builder setMultiChanBackup(com.google.protobuf.ByteString value)
A single encrypted blob containing all the static channel backups of the channel listed above. This can be stored as a single file or blob, and safely be replaced with any prior/future versions. When using REST, this field must be encoded as base64.
bytes multi_chan_backup = 2;value - The multiChanBackup to set.public LightningApi.MultiChanBackup.Builder clearMultiChanBackup()
A single encrypted blob containing all the static channel backups of the channel listed above. This can be stored as a single file or blob, and safely be replaced with any prior/future versions. When using REST, this field must be encoded as base64.
bytes multi_chan_backup = 2;public final LightningApi.MultiChanBackup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MultiChanBackup.Builder>public final LightningApi.MultiChanBackup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MultiChanBackup.Builder>