public static final class LightningApi.PendingChannelsResponse.PendingChannel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.PendingChannel.Builder> implements LightningApi.PendingChannelsResponse.PendingChannelOrBuilder
lnrpc.PendingChannelsResponse.PendingChannel| Modifier and Type | Method and Description |
|---|---|
LightningApi.PendingChannelsResponse.PendingChannel |
build() |
LightningApi.PendingChannelsResponse.PendingChannel |
buildPartial() |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clear() |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearCapacity()
int64 capacity = 3; |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearChannelPoint()
string channel_point = 2; |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearChanStatusFlags()
A set of flags showing the current state of the channel.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearCommitmentType()
The commitment type used by this channel.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearInitiator()
The party that initiated opening the channel.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearLocalBalance()
int64 local_balance = 4; |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearLocalChanReserveSat()
The minimum satoshis this node is required to reserve in its
balance.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearMemo()
An optional note-to-self to go along with the channel containing some
useful information.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearNumForwardingPackages()
Total number of forwarding packages created in this channel.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearPrivate()
Whether this channel is advertised to the network or not.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearRemoteBalance()
int64 remote_balance = 5; |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearRemoteChanReserveSat()
The minimum satoshis the other node is required to reserve in its
balance.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
clearRemoteNodePub()
string remote_node_pub = 1; |
long |
getCapacity()
int64 capacity = 3; |
java.lang.String |
getChannelPoint()
string channel_point = 2; |
com.google.protobuf.ByteString |
getChannelPointBytes()
string channel_point = 2; |
java.lang.String |
getChanStatusFlags()
A set of flags showing the current state of the channel.
|
com.google.protobuf.ByteString |
getChanStatusFlagsBytes()
A set of flags showing the current state of the channel.
|
LightningApi.CommitmentType |
getCommitmentType()
The commitment type used by this channel.
|
int |
getCommitmentTypeValue()
The commitment type used by this channel.
|
LightningApi.PendingChannelsResponse.PendingChannel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.Initiator |
getInitiator()
The party that initiated opening the channel.
|
int |
getInitiatorValue()
The party that initiated opening the channel.
|
long |
getLocalBalance()
int64 local_balance = 4; |
long |
getLocalChanReserveSat()
The minimum satoshis this node is required to reserve in its
balance.
|
java.lang.String |
getMemo()
An optional note-to-self to go along with the channel containing some
useful information.
|
com.google.protobuf.ByteString |
getMemoBytes()
An optional note-to-self to go along with the channel containing some
useful information.
|
long |
getNumForwardingPackages()
Total number of forwarding packages created in this channel.
|
boolean |
getPrivate()
Whether this channel is advertised to the network or not.
|
long |
getRemoteBalance()
int64 remote_balance = 5; |
long |
getRemoteChanReserveSat()
The minimum satoshis the other node is required to reserve in its
balance.
|
java.lang.String |
getRemoteNodePub()
string remote_node_pub = 1; |
com.google.protobuf.ByteString |
getRemoteNodePubBytes()
string remote_node_pub = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
mergeFrom(LightningApi.PendingChannelsResponse.PendingChannel other) |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setCapacity(long value)
int64 capacity = 3; |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setChannelPoint(java.lang.String value)
string channel_point = 2; |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setChannelPointBytes(com.google.protobuf.ByteString value)
string channel_point = 2; |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setChanStatusFlags(java.lang.String value)
A set of flags showing the current state of the channel.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setChanStatusFlagsBytes(com.google.protobuf.ByteString value)
A set of flags showing the current state of the channel.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setCommitmentType(LightningApi.CommitmentType value)
The commitment type used by this channel.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setCommitmentTypeValue(int value)
The commitment type used by this channel.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setInitiator(LightningApi.Initiator value)
The party that initiated opening the channel.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setInitiatorValue(int value)
The party that initiated opening the channel.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setLocalBalance(long value)
int64 local_balance = 4; |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setLocalChanReserveSat(long value)
The minimum satoshis this node is required to reserve in its
balance.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setMemo(java.lang.String value)
An optional note-to-self to go along with the channel containing some
useful information.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setMemoBytes(com.google.protobuf.ByteString value)
An optional note-to-self to go along with the channel containing some
useful information.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setNumForwardingPackages(long value)
Total number of forwarding packages created in this channel.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setPrivate(boolean value)
Whether this channel is advertised to the network or not.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setRemoteBalance(long value)
int64 remote_balance = 5; |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setRemoteChanReserveSat(long value)
The minimum satoshis the other node is required to reserve in its
balance.
|
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setRemoteNodePub(java.lang.String value)
string remote_node_pub = 1; |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
setRemoteNodePubBytes(com.google.protobuf.ByteString value)
string remote_node_pub = 1; |
LightningApi.PendingChannelsResponse.PendingChannel.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.PendingChannelsResponse.PendingChannel.Builder>public LightningApi.PendingChannelsResponse.PendingChannel.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.PendingChannelsResponse.PendingChannel.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.PendingChannelsResponse.PendingChannel.Builder>public LightningApi.PendingChannelsResponse.PendingChannel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PendingChannelsResponse.PendingChannel buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.PendingChannelsResponse.PendingChannel.Builder>public LightningApi.PendingChannelsResponse.PendingChannel.Builder mergeFrom(LightningApi.PendingChannelsResponse.PendingChannel other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.PendingChannel.Builder>public LightningApi.PendingChannelsResponse.PendingChannel.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.PendingChannelsResponse.PendingChannel.Builder>java.io.IOExceptionpublic java.lang.String getRemoteNodePub()
string remote_node_pub = 1;getRemoteNodePub in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic com.google.protobuf.ByteString getRemoteNodePubBytes()
string remote_node_pub = 1;getRemoteNodePubBytes in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setRemoteNodePub(java.lang.String value)
string remote_node_pub = 1;value - The remoteNodePub to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearRemoteNodePub()
string remote_node_pub = 1;public LightningApi.PendingChannelsResponse.PendingChannel.Builder setRemoteNodePubBytes(com.google.protobuf.ByteString value)
string remote_node_pub = 1;value - The bytes for remoteNodePub to set.public java.lang.String getChannelPoint()
string channel_point = 2;getChannelPoint in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic com.google.protobuf.ByteString getChannelPointBytes()
string channel_point = 2;getChannelPointBytes in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setChannelPoint(java.lang.String value)
string channel_point = 2;value - The channelPoint to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearChannelPoint()
string channel_point = 2;public LightningApi.PendingChannelsResponse.PendingChannel.Builder setChannelPointBytes(com.google.protobuf.ByteString value)
string channel_point = 2;value - The bytes for channelPoint to set.public long getCapacity()
int64 capacity = 3;getCapacity in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setCapacity(long value)
int64 capacity = 3;value - The capacity to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearCapacity()
int64 capacity = 3;public long getLocalBalance()
int64 local_balance = 4;getLocalBalance in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setLocalBalance(long value)
int64 local_balance = 4;value - The localBalance to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearLocalBalance()
int64 local_balance = 4;public long getRemoteBalance()
int64 remote_balance = 5;getRemoteBalance in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setRemoteBalance(long value)
int64 remote_balance = 5;value - The remoteBalance to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearRemoteBalance()
int64 remote_balance = 5;public long getLocalChanReserveSat()
The minimum satoshis this node is required to reserve in its balance.
int64 local_chan_reserve_sat = 6;getLocalChanReserveSat in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setLocalChanReserveSat(long value)
The minimum satoshis this node is required to reserve in its balance.
int64 local_chan_reserve_sat = 6;value - The localChanReserveSat to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearLocalChanReserveSat()
The minimum satoshis this node is required to reserve in its balance.
int64 local_chan_reserve_sat = 6;public long getRemoteChanReserveSat()
The minimum satoshis the other node is required to reserve in its balance.
int64 remote_chan_reserve_sat = 7;getRemoteChanReserveSat in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setRemoteChanReserveSat(long value)
The minimum satoshis the other node is required to reserve in its balance.
int64 remote_chan_reserve_sat = 7;value - The remoteChanReserveSat to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearRemoteChanReserveSat()
The minimum satoshis the other node is required to reserve in its balance.
int64 remote_chan_reserve_sat = 7;public int getInitiatorValue()
The party that initiated opening the channel.
.lnrpc.Initiator initiator = 8;getInitiatorValue in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setInitiatorValue(int value)
The party that initiated opening the channel.
.lnrpc.Initiator initiator = 8;value - The enum numeric value on the wire for initiator to set.public LightningApi.Initiator getInitiator()
The party that initiated opening the channel.
.lnrpc.Initiator initiator = 8;getInitiator in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setInitiator(LightningApi.Initiator value)
The party that initiated opening the channel.
.lnrpc.Initiator initiator = 8;value - The initiator to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearInitiator()
The party that initiated opening the channel.
.lnrpc.Initiator initiator = 8;public int getCommitmentTypeValue()
The commitment type used by this channel.
.lnrpc.CommitmentType commitment_type = 9;getCommitmentTypeValue in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setCommitmentTypeValue(int value)
The commitment type used by this channel.
.lnrpc.CommitmentType commitment_type = 9;value - The enum numeric value on the wire for commitmentType to set.public LightningApi.CommitmentType getCommitmentType()
The commitment type used by this channel.
.lnrpc.CommitmentType commitment_type = 9;getCommitmentType in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setCommitmentType(LightningApi.CommitmentType value)
The commitment type used by this channel.
.lnrpc.CommitmentType commitment_type = 9;value - The commitmentType to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearCommitmentType()
The commitment type used by this channel.
.lnrpc.CommitmentType commitment_type = 9;public long getNumForwardingPackages()
Total number of forwarding packages created in this channel.
int64 num_forwarding_packages = 10;getNumForwardingPackages in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setNumForwardingPackages(long value)
Total number of forwarding packages created in this channel.
int64 num_forwarding_packages = 10;value - The numForwardingPackages to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearNumForwardingPackages()
Total number of forwarding packages created in this channel.
int64 num_forwarding_packages = 10;public java.lang.String getChanStatusFlags()
A set of flags showing the current state of the channel.
string chan_status_flags = 11;getChanStatusFlags in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic com.google.protobuf.ByteString getChanStatusFlagsBytes()
A set of flags showing the current state of the channel.
string chan_status_flags = 11;getChanStatusFlagsBytes in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setChanStatusFlags(java.lang.String value)
A set of flags showing the current state of the channel.
string chan_status_flags = 11;value - The chanStatusFlags to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearChanStatusFlags()
A set of flags showing the current state of the channel.
string chan_status_flags = 11;public LightningApi.PendingChannelsResponse.PendingChannel.Builder setChanStatusFlagsBytes(com.google.protobuf.ByteString value)
A set of flags showing the current state of the channel.
string chan_status_flags = 11;value - The bytes for chanStatusFlags to set.public boolean getPrivate()
Whether this channel is advertised to the network or not.
bool private = 12;getPrivate in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setPrivate(boolean value)
Whether this channel is advertised to the network or not.
bool private = 12;value - The private to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearPrivate()
Whether this channel is advertised to the network or not.
bool private = 12;public java.lang.String getMemo()
An optional note-to-self to go along with the channel containing some useful information. This is only ever stored locally and in no way impacts the channel's operation.
string memo = 13;getMemo in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic com.google.protobuf.ByteString getMemoBytes()
An optional note-to-self to go along with the channel containing some useful information. This is only ever stored locally and in no way impacts the channel's operation.
string memo = 13;getMemoBytes in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder setMemo(java.lang.String value)
An optional note-to-self to go along with the channel containing some useful information. This is only ever stored locally and in no way impacts the channel's operation.
string memo = 13;value - The memo to set.public LightningApi.PendingChannelsResponse.PendingChannel.Builder clearMemo()
An optional note-to-self to go along with the channel containing some useful information. This is only ever stored locally and in no way impacts the channel's operation.
string memo = 13;public LightningApi.PendingChannelsResponse.PendingChannel.Builder setMemoBytes(com.google.protobuf.ByteString value)
An optional note-to-self to go along with the channel containing some useful information. This is only ever stored locally and in no way impacts the channel's operation.
string memo = 13;value - The bytes for memo to set.public final LightningApi.PendingChannelsResponse.PendingChannel.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.PendingChannel.Builder>public final LightningApi.PendingChannelsResponse.PendingChannel.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.PendingChannel.Builder>