public static final class LightningApi.CloseChannelRequest extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.CloseChannelRequestOrBuilder
lnrpc.CloseChannelRequest| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.CloseChannelRequest.Builder
Protobuf type
lnrpc.CloseChannelRequest |
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 |
CHANNEL_POINT_FIELD_NUMBER |
static int |
DELIVERY_ADDRESS_FIELD_NUMBER |
static int |
FORCE_FIELD_NUMBER |
static int |
MAX_FEE_PER_VBYTE_FIELD_NUMBER |
static int |
SAT_PER_BYTE_FIELD_NUMBER |
static int |
SAT_PER_VBYTE_FIELD_NUMBER |
static int |
TARGET_CONF_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
LightningApi.ChannelPoint |
getChannelPoint()
The outpoint (txid:index) of the funding transaction.
|
LightningApi.ChannelPointOrBuilder |
getChannelPointOrBuilder()
The outpoint (txid:index) of the funding transaction.
|
static LightningApi.CloseChannelRequest |
getDefaultInstance() |
LightningApi.CloseChannelRequest |
getDefaultInstanceForType() |
java.lang.String |
getDeliveryAddress()
An optional address to send funds to in the case of a cooperative close.
|
com.google.protobuf.ByteString |
getDeliveryAddressBytes()
An optional address to send funds to in the case of a cooperative close.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getForce()
If true, then the channel will be closed forcibly.
|
long |
getMaxFeePerVbyte()
The maximum fee rate the closer is willing to pay.
|
com.google.protobuf.Parser<LightningApi.CloseChannelRequest> |
getParserForType() |
long |
getSatPerByte()
Deprecated.
lnrpc.CloseChannelRequest.sat_per_byte is deprecated.
See lightning.api.proto;l=2018
|
long |
getSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the
closure transaction.
|
int |
getSerializedSize() |
int |
getTargetConf()
The target number of blocks that the closure transaction should be
confirmed by.
|
boolean |
hasChannelPoint()
The outpoint (txid:index) of the funding transaction.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.CloseChannelRequest.Builder |
newBuilder() |
static LightningApi.CloseChannelRequest.Builder |
newBuilder(LightningApi.CloseChannelRequest prototype) |
LightningApi.CloseChannelRequest.Builder |
newBuilderForType() |
protected LightningApi.CloseChannelRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.CloseChannelRequest |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.CloseChannelRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.CloseChannelRequest |
parseFrom(byte[] data) |
static LightningApi.CloseChannelRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.CloseChannelRequest |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.CloseChannelRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.CloseChannelRequest |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.CloseChannelRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.CloseChannelRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.CloseChannelRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.CloseChannelRequest |
parseFrom(java.io.InputStream input) |
static LightningApi.CloseChannelRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.CloseChannelRequest> |
parser() |
LightningApi.CloseChannelRequest.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 CHANNEL_POINT_FIELD_NUMBER
public static final int FORCE_FIELD_NUMBER
public static final int TARGET_CONF_FIELD_NUMBER
public static final int SAT_PER_BYTE_FIELD_NUMBER
public static final int DELIVERY_ADDRESS_FIELD_NUMBER
public static final int SAT_PER_VBYTE_FIELD_NUMBER
public static final int MAX_FEE_PER_VBYTE_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 boolean hasChannelPoint()
The outpoint (txid:index) of the funding transaction. With this value, Bob will be able to generate a signature for Alice's version of the commitment transaction.
.lnrpc.ChannelPoint channel_point = 1;hasChannelPoint in interface LightningApi.CloseChannelRequestOrBuilderpublic LightningApi.ChannelPoint getChannelPoint()
The outpoint (txid:index) of the funding transaction. With this value, Bob will be able to generate a signature for Alice's version of the commitment transaction.
.lnrpc.ChannelPoint channel_point = 1;getChannelPoint in interface LightningApi.CloseChannelRequestOrBuilderpublic LightningApi.ChannelPointOrBuilder getChannelPointOrBuilder()
The outpoint (txid:index) of the funding transaction. With this value, Bob will be able to generate a signature for Alice's version of the commitment transaction.
.lnrpc.ChannelPoint channel_point = 1;getChannelPointOrBuilder in interface LightningApi.CloseChannelRequestOrBuilderpublic boolean getForce()
If true, then the channel will be closed forcibly. This means the current commitment transaction will be signed and broadcast.
bool force = 2;getForce in interface LightningApi.CloseChannelRequestOrBuilderpublic int getTargetConf()
The target number of blocks that the closure transaction should be confirmed by.
int32 target_conf = 3;getTargetConf in interface LightningApi.CloseChannelRequestOrBuilder@Deprecated public long getSatPerByte()
Deprecated, use sat_per_vbyte. A manual fee rate set in sat/vbyte that should be used when crafting the closure transaction.
int64 sat_per_byte = 4 [deprecated = true];getSatPerByte in interface LightningApi.CloseChannelRequestOrBuilderpublic java.lang.String getDeliveryAddress()
An optional address to send funds to in the case of a cooperative close. If the channel was opened with an upfront shutdown script and this field is set, the request to close will fail because the channel must pay out to the upfront shutdown addresss.
string delivery_address = 5;getDeliveryAddress in interface LightningApi.CloseChannelRequestOrBuilderpublic com.google.protobuf.ByteString getDeliveryAddressBytes()
An optional address to send funds to in the case of a cooperative close. If the channel was opened with an upfront shutdown script and this field is set, the request to close will fail because the channel must pay out to the upfront shutdown addresss.
string delivery_address = 5;getDeliveryAddressBytes in interface LightningApi.CloseChannelRequestOrBuilderpublic long getSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the closure transaction.
uint64 sat_per_vbyte = 6;getSatPerVbyte in interface LightningApi.CloseChannelRequestOrBuilderpublic long getMaxFeePerVbyte()
The maximum fee rate the closer is willing to pay. NOTE: This field is only respected if we're the initiator of the channel.
uint64 max_fee_per_vbyte = 7;getMaxFeePerVbyte in interface LightningApi.CloseChannelRequestOrBuilderpublic 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.CloseChannelRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.CloseChannelRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.CloseChannelRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.CloseChannelRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.CloseChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.CloseChannelRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.CloseChannelRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.CloseChannelRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.CloseChannelRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.CloseChannelRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.CloseChannelRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.CloseChannelRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.CloseChannelRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.CloseChannelRequest.Builder newBuilder()
public static LightningApi.CloseChannelRequest.Builder newBuilder(LightningApi.CloseChannelRequest prototype)
public LightningApi.CloseChannelRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.CloseChannelRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.CloseChannelRequest getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.CloseChannelRequest> parser()
public com.google.protobuf.Parser<LightningApi.CloseChannelRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.CloseChannelRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder