public static final class LightningApi.PendingChannelsResponse.PendingChannel extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.PendingChannelsResponse.PendingChannelOrBuilder
lnrpc.PendingChannelsResponse.PendingChannel| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.PendingChannelsResponse.PendingChannel.Builder
Protobuf type
lnrpc.PendingChannelsResponse.PendingChannel |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CAPACITY_FIELD_NUMBER |
static int |
CHAN_STATUS_FLAGS_FIELD_NUMBER |
static int |
CHANNEL_POINT_FIELD_NUMBER |
static int |
COMMITMENT_TYPE_FIELD_NUMBER |
static int |
INITIATOR_FIELD_NUMBER |
static int |
LOCAL_BALANCE_FIELD_NUMBER |
static int |
LOCAL_CHAN_RESERVE_SAT_FIELD_NUMBER |
static int |
MEMO_FIELD_NUMBER |
static int |
NUM_FORWARDING_PACKAGES_FIELD_NUMBER |
static int |
PRIVATE_FIELD_NUMBER |
static int |
REMOTE_BALANCE_FIELD_NUMBER |
static int |
REMOTE_CHAN_RESERVE_SAT_FIELD_NUMBER |
static int |
REMOTE_NODE_PUB_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
static LightningApi.PendingChannelsResponse.PendingChannel |
getDefaultInstance() |
LightningApi.PendingChannelsResponse.PendingChannel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<LightningApi.PendingChannelsResponse.PendingChannel> |
getParserForType() |
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; |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.PendingChannelsResponse.PendingChannel.Builder |
newBuilder() |
static LightningApi.PendingChannelsResponse.PendingChannel.Builder |
newBuilder(LightningApi.PendingChannelsResponse.PendingChannel prototype) |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
newBuilderForType() |
protected LightningApi.PendingChannelsResponse.PendingChannel.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseFrom(byte[] data) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseFrom(java.io.InputStream input) |
static LightningApi.PendingChannelsResponse.PendingChannel |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.PendingChannelsResponse.PendingChannel> |
parser() |
LightningApi.PendingChannelsResponse.PendingChannel.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REMOTE_NODE_PUB_FIELD_NUMBER
public static final int CHANNEL_POINT_FIELD_NUMBER
public static final int CAPACITY_FIELD_NUMBER
public static final int LOCAL_BALANCE_FIELD_NUMBER
public static final int REMOTE_BALANCE_FIELD_NUMBER
public static final int LOCAL_CHAN_RESERVE_SAT_FIELD_NUMBER
public static final int REMOTE_CHAN_RESERVE_SAT_FIELD_NUMBER
public static final int INITIATOR_FIELD_NUMBER
public static final int COMMITMENT_TYPE_FIELD_NUMBER
public static final int NUM_FORWARDING_PACKAGES_FIELD_NUMBER
public static final int CHAN_STATUS_FLAGS_FIELD_NUMBER
public static final int PRIVATE_FIELD_NUMBER
public static final int MEMO_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 long getCapacity()
int64 capacity = 3;getCapacity in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic long getLocalBalance()
int64 local_balance = 4;getLocalBalance in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic long getRemoteBalance()
int64 remote_balance = 5;getRemoteBalance in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic 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 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 int getInitiatorValue()
The party that initiated opening the channel.
.lnrpc.Initiator initiator = 8;getInitiatorValue in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.Initiator getInitiator()
The party that initiated opening the channel.
.lnrpc.Initiator initiator = 8;getInitiator in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic int getCommitmentTypeValue()
The commitment type used by this channel.
.lnrpc.CommitmentType commitment_type = 9;getCommitmentTypeValue in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic LightningApi.CommitmentType getCommitmentType()
The commitment type used by this channel.
.lnrpc.CommitmentType commitment_type = 9;getCommitmentType in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic long getNumForwardingPackages()
Total number of forwarding packages created in this channel.
int64 num_forwarding_packages = 10;getNumForwardingPackages in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic 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 boolean getPrivate()
Whether this channel is advertised to the network or not.
bool private = 12;getPrivate in interface LightningApi.PendingChannelsResponse.PendingChannelOrBuilderpublic 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LightningApi.PendingChannelsResponse.PendingChannel parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.PendingChannel parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.PendingChannel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.PendingChannel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.PendingChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.PendingChannel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.PendingChannel parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PendingChannelsResponse.PendingChannel parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PendingChannelsResponse.PendingChannel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PendingChannelsResponse.PendingChannel parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PendingChannelsResponse.PendingChannel parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PendingChannelsResponse.PendingChannel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.PendingChannelsResponse.PendingChannel.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.PendingChannelsResponse.PendingChannel.Builder newBuilder()
public static LightningApi.PendingChannelsResponse.PendingChannel.Builder newBuilder(LightningApi.PendingChannelsResponse.PendingChannel prototype)
public LightningApi.PendingChannelsResponse.PendingChannel.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.PendingChannelsResponse.PendingChannel.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.PendingChannelsResponse.PendingChannel getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.PendingChannelsResponse.PendingChannel> parser()
public com.google.protobuf.Parser<LightningApi.PendingChannelsResponse.PendingChannel> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.PendingChannelsResponse.PendingChannel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder