public static final class LightningApi.ChanPointShim extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.ChanPointShimOrBuilder
lnrpc.ChanPointShim| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.ChanPointShim.Builder
Protobuf type
lnrpc.ChanPointShim |
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 |
AMT_FIELD_NUMBER |
static int |
CHAN_POINT_FIELD_NUMBER |
static int |
LOCAL_KEY_FIELD_NUMBER |
static int |
MUSIG2_FIELD_NUMBER |
static int |
PENDING_CHAN_ID_FIELD_NUMBER |
static int |
REMOTE_KEY_FIELD_NUMBER |
static int |
THAW_HEIGHT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
long |
getAmt()
The size of the pre-crafted output to be used as the channel point for this
channel funding.
|
LightningApi.ChannelPoint |
getChanPoint()
The target channel point to refrence in created commitment transactions.
|
LightningApi.ChannelPointOrBuilder |
getChanPointOrBuilder()
The target channel point to refrence in created commitment transactions.
|
static LightningApi.ChanPointShim |
getDefaultInstance() |
LightningApi.ChanPointShim |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
LightningApi.KeyDescriptor |
getLocalKey()
Our local key to use when creating the multi-sig output.
|
LightningApi.KeyDescriptorOrBuilder |
getLocalKeyOrBuilder()
Our local key to use when creating the multi-sig output.
|
boolean |
getMusig2()
Indicates that the funding output is using a MuSig2 multi-sig output.
|
com.google.protobuf.Parser<LightningApi.ChanPointShim> |
getParserForType() |
com.google.protobuf.ByteString |
getPendingChanId()
If non-zero, then this will be used as the pending channel ID on the wire
protocol to initate the funding request.
|
com.google.protobuf.ByteString |
getRemoteKey()
The key of the remote party to use when creating the multi-sig output.
|
int |
getSerializedSize() |
int |
getThawHeight()
This uint32 indicates if this channel is to be considered 'frozen'.
|
boolean |
hasChanPoint()
The target channel point to refrence in created commitment transactions.
|
int |
hashCode() |
boolean |
hasLocalKey()
Our local key to use when creating the multi-sig output.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.ChanPointShim.Builder |
newBuilder() |
static LightningApi.ChanPointShim.Builder |
newBuilder(LightningApi.ChanPointShim prototype) |
LightningApi.ChanPointShim.Builder |
newBuilderForType() |
protected LightningApi.ChanPointShim.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.ChanPointShim |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.ChanPointShim |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChanPointShim |
parseFrom(byte[] data) |
static LightningApi.ChanPointShim |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChanPointShim |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.ChanPointShim |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChanPointShim |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.ChanPointShim |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChanPointShim |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.ChanPointShim |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChanPointShim |
parseFrom(java.io.InputStream input) |
static LightningApi.ChanPointShim |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.ChanPointShim> |
parser() |
LightningApi.ChanPointShim.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 AMT_FIELD_NUMBER
public static final int CHAN_POINT_FIELD_NUMBER
public static final int LOCAL_KEY_FIELD_NUMBER
public static final int REMOTE_KEY_FIELD_NUMBER
public static final int PENDING_CHAN_ID_FIELD_NUMBER
public static final int THAW_HEIGHT_FIELD_NUMBER
public static final int MUSIG2_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 long getAmt()
The size of the pre-crafted output to be used as the channel point for this channel funding.
int64 amt = 1;getAmt in interface LightningApi.ChanPointShimOrBuilderpublic boolean hasChanPoint()
The target channel point to refrence in created commitment transactions.
.lnrpc.ChannelPoint chan_point = 2;hasChanPoint in interface LightningApi.ChanPointShimOrBuilderpublic LightningApi.ChannelPoint getChanPoint()
The target channel point to refrence in created commitment transactions.
.lnrpc.ChannelPoint chan_point = 2;getChanPoint in interface LightningApi.ChanPointShimOrBuilderpublic LightningApi.ChannelPointOrBuilder getChanPointOrBuilder()
The target channel point to refrence in created commitment transactions.
.lnrpc.ChannelPoint chan_point = 2;getChanPointOrBuilder in interface LightningApi.ChanPointShimOrBuilderpublic boolean hasLocalKey()
Our local key to use when creating the multi-sig output.
.lnrpc.KeyDescriptor local_key = 3;hasLocalKey in interface LightningApi.ChanPointShimOrBuilderpublic LightningApi.KeyDescriptor getLocalKey()
Our local key to use when creating the multi-sig output.
.lnrpc.KeyDescriptor local_key = 3;getLocalKey in interface LightningApi.ChanPointShimOrBuilderpublic LightningApi.KeyDescriptorOrBuilder getLocalKeyOrBuilder()
Our local key to use when creating the multi-sig output.
.lnrpc.KeyDescriptor local_key = 3;getLocalKeyOrBuilder in interface LightningApi.ChanPointShimOrBuilderpublic com.google.protobuf.ByteString getRemoteKey()
The key of the remote party to use when creating the multi-sig output.
bytes remote_key = 4;getRemoteKey in interface LightningApi.ChanPointShimOrBuilderpublic com.google.protobuf.ByteString getPendingChanId()
If non-zero, then this will be used as the pending channel ID on the wire protocol to initate the funding request. This is an optional field, and should only be set if the responder is already expecting a specific pending channel ID.
bytes pending_chan_id = 5;getPendingChanId in interface LightningApi.ChanPointShimOrBuilderpublic int getThawHeight()
This uint32 indicates if this channel is to be considered 'frozen'. A frozen channel does not allow a cooperative channel close by the initiator. The thaw_height is the height that this restriction stops applying to the channel. The height can be interpreted in two ways: as a relative height if the value is less than 500,000, or as an absolute height otherwise.
uint32 thaw_height = 6;getThawHeight in interface LightningApi.ChanPointShimOrBuilderpublic boolean getMusig2()
Indicates that the funding output is using a MuSig2 multi-sig output.
bool musig2 = 7;getMusig2 in interface LightningApi.ChanPointShimOrBuilderpublic 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.ChanPointShim parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChanPointShim parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChanPointShim parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChanPointShim parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChanPointShim parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChanPointShim parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChanPointShim parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ChanPointShim parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ChanPointShim parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ChanPointShim parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ChanPointShim parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ChanPointShim parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.ChanPointShim.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.ChanPointShim.Builder newBuilder()
public static LightningApi.ChanPointShim.Builder newBuilder(LightningApi.ChanPointShim prototype)
public LightningApi.ChanPointShim.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.ChanPointShim.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.ChanPointShim getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.ChanPointShim> parser()
public com.google.protobuf.Parser<LightningApi.ChanPointShim> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.ChanPointShim getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder