public static final class LightningApi.OpenStatusUpdate extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.OpenStatusUpdateOrBuilder
lnrpc.OpenStatusUpdate
Modifier and Type | Class and Description |
---|---|
static class |
LightningApi.OpenStatusUpdate.Builder
Protobuf type
lnrpc.OpenStatusUpdate |
static class |
LightningApi.OpenStatusUpdate.UpdateCase |
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 |
CHAN_OPEN_FIELD_NUMBER |
static int |
CHAN_PENDING_FIELD_NUMBER |
static int |
PENDING_CHAN_ID_FIELD_NUMBER |
static int |
PSBT_FUND_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
LightningApi.ChannelOpenUpdate |
getChanOpen()
Signals that the channel's funding transaction has now reached the
required number of confirmations on chain and can be used.
|
LightningApi.ChannelOpenUpdateOrBuilder |
getChanOpenOrBuilder()
Signals that the channel's funding transaction has now reached the
required number of confirmations on chain and can be used.
|
LightningApi.PendingUpdate |
getChanPending()
Signals that the channel is now fully negotiated and the funding
transaction published.
|
LightningApi.PendingUpdateOrBuilder |
getChanPendingOrBuilder()
Signals that the channel is now fully negotiated and the funding
transaction published.
|
static LightningApi.OpenStatusUpdate |
getDefaultInstance() |
LightningApi.OpenStatusUpdate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<LightningApi.OpenStatusUpdate> |
getParserForType() |
com.google.protobuf.ByteString |
getPendingChanId()
The pending channel ID of the created channel.
|
LightningApi.ReadyForPsbtFunding |
getPsbtFund()
Signals that the funding process has been suspended and the construction
of a PSBT that funds the channel PK script is now required.
|
LightningApi.ReadyForPsbtFundingOrBuilder |
getPsbtFundOrBuilder()
Signals that the funding process has been suspended and the construction
of a PSBT that funds the channel PK script is now required.
|
int |
getSerializedSize() |
LightningApi.OpenStatusUpdate.UpdateCase |
getUpdateCase() |
boolean |
hasChanOpen()
Signals that the channel's funding transaction has now reached the
required number of confirmations on chain and can be used.
|
boolean |
hasChanPending()
Signals that the channel is now fully negotiated and the funding
transaction published.
|
int |
hashCode() |
boolean |
hasPsbtFund()
Signals that the funding process has been suspended and the construction
of a PSBT that funds the channel PK script is now required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.OpenStatusUpdate.Builder |
newBuilder() |
static LightningApi.OpenStatusUpdate.Builder |
newBuilder(LightningApi.OpenStatusUpdate prototype) |
LightningApi.OpenStatusUpdate.Builder |
newBuilderForType() |
protected LightningApi.OpenStatusUpdate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.OpenStatusUpdate |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.OpenStatusUpdate |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.OpenStatusUpdate |
parseFrom(byte[] data) |
static LightningApi.OpenStatusUpdate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.OpenStatusUpdate |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.OpenStatusUpdate |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.OpenStatusUpdate |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.OpenStatusUpdate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.OpenStatusUpdate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.OpenStatusUpdate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.OpenStatusUpdate |
parseFrom(java.io.InputStream input) |
static LightningApi.OpenStatusUpdate |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.OpenStatusUpdate> |
parser() |
LightningApi.OpenStatusUpdate.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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int CHAN_PENDING_FIELD_NUMBER
public static final int CHAN_OPEN_FIELD_NUMBER
public static final int PSBT_FUND_FIELD_NUMBER
public static final int PENDING_CHAN_ID_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public LightningApi.OpenStatusUpdate.UpdateCase getUpdateCase()
getUpdateCase
in interface LightningApi.OpenStatusUpdateOrBuilder
public boolean hasChanPending()
Signals that the channel is now fully negotiated and the funding transaction published.
.lnrpc.PendingUpdate chan_pending = 1;
hasChanPending
in interface LightningApi.OpenStatusUpdateOrBuilder
public LightningApi.PendingUpdate getChanPending()
Signals that the channel is now fully negotiated and the funding transaction published.
.lnrpc.PendingUpdate chan_pending = 1;
getChanPending
in interface LightningApi.OpenStatusUpdateOrBuilder
public LightningApi.PendingUpdateOrBuilder getChanPendingOrBuilder()
Signals that the channel is now fully negotiated and the funding transaction published.
.lnrpc.PendingUpdate chan_pending = 1;
getChanPendingOrBuilder
in interface LightningApi.OpenStatusUpdateOrBuilder
public boolean hasChanOpen()
Signals that the channel's funding transaction has now reached the required number of confirmations on chain and can be used.
.lnrpc.ChannelOpenUpdate chan_open = 3;
hasChanOpen
in interface LightningApi.OpenStatusUpdateOrBuilder
public LightningApi.ChannelOpenUpdate getChanOpen()
Signals that the channel's funding transaction has now reached the required number of confirmations on chain and can be used.
.lnrpc.ChannelOpenUpdate chan_open = 3;
getChanOpen
in interface LightningApi.OpenStatusUpdateOrBuilder
public LightningApi.ChannelOpenUpdateOrBuilder getChanOpenOrBuilder()
Signals that the channel's funding transaction has now reached the required number of confirmations on chain and can be used.
.lnrpc.ChannelOpenUpdate chan_open = 3;
getChanOpenOrBuilder
in interface LightningApi.OpenStatusUpdateOrBuilder
public boolean hasPsbtFund()
Signals that the funding process has been suspended and the construction of a PSBT that funds the channel PK script is now required.
.lnrpc.ReadyForPsbtFunding psbt_fund = 5;
hasPsbtFund
in interface LightningApi.OpenStatusUpdateOrBuilder
public LightningApi.ReadyForPsbtFunding getPsbtFund()
Signals that the funding process has been suspended and the construction of a PSBT that funds the channel PK script is now required.
.lnrpc.ReadyForPsbtFunding psbt_fund = 5;
getPsbtFund
in interface LightningApi.OpenStatusUpdateOrBuilder
public LightningApi.ReadyForPsbtFundingOrBuilder getPsbtFundOrBuilder()
Signals that the funding process has been suspended and the construction of a PSBT that funds the channel PK script is now required.
.lnrpc.ReadyForPsbtFunding psbt_fund = 5;
getPsbtFundOrBuilder
in interface LightningApi.OpenStatusUpdateOrBuilder
public com.google.protobuf.ByteString getPendingChanId()
The pending channel ID of the created channel. This value may be used to further the funding flow manually via the FundingStateStep method.
bytes pending_chan_id = 4;
getPendingChanId
in interface LightningApi.OpenStatusUpdateOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static LightningApi.OpenStatusUpdate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.OpenStatusUpdate parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.OpenStatusUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.OpenStatusUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.OpenStatusUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.OpenStatusUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.OpenStatusUpdate parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.OpenStatusUpdate parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.OpenStatusUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.OpenStatusUpdate parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.OpenStatusUpdate parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.OpenStatusUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public LightningApi.OpenStatusUpdate.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static LightningApi.OpenStatusUpdate.Builder newBuilder()
public static LightningApi.OpenStatusUpdate.Builder newBuilder(LightningApi.OpenStatusUpdate prototype)
public LightningApi.OpenStatusUpdate.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected LightningApi.OpenStatusUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static LightningApi.OpenStatusUpdate getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.OpenStatusUpdate> parser()
public com.google.protobuf.Parser<LightningApi.OpenStatusUpdate> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public LightningApi.OpenStatusUpdate getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder