public static final class LightningApi.CloseChannelRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.CloseChannelRequest.Builder> implements LightningApi.CloseChannelRequestOrBuilder
lnrpc.CloseChannelRequest| Modifier and Type | Method and Description |
|---|---|
LightningApi.CloseChannelRequest |
build() |
LightningApi.CloseChannelRequest |
buildPartial() |
LightningApi.CloseChannelRequest.Builder |
clear() |
LightningApi.CloseChannelRequest.Builder |
clearChannelPoint()
The outpoint (txid:index) of the funding transaction.
|
LightningApi.CloseChannelRequest.Builder |
clearDeliveryAddress()
An optional address to send funds to in the case of a cooperative close.
|
LightningApi.CloseChannelRequest.Builder |
clearForce()
If true, then the channel will be closed forcibly.
|
LightningApi.CloseChannelRequest.Builder |
clearMaxFeePerVbyte()
The maximum fee rate the closer is willing to pay.
|
LightningApi.CloseChannelRequest.Builder |
clearSatPerByte()
Deprecated.
lnrpc.CloseChannelRequest.sat_per_byte is deprecated.
See lightning.api.proto;l=2018
|
LightningApi.CloseChannelRequest.Builder |
clearSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the
closure transaction.
|
LightningApi.CloseChannelRequest.Builder |
clearTargetConf()
The target number of blocks that the closure transaction should be
confirmed by.
|
LightningApi.ChannelPoint |
getChannelPoint()
The outpoint (txid:index) of the funding transaction.
|
LightningApi.ChannelPoint.Builder |
getChannelPointBuilder()
The outpoint (txid:index) of the funding transaction.
|
LightningApi.ChannelPointOrBuilder |
getChannelPointOrBuilder()
The outpoint (txid:index) of the funding transaction.
|
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() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getForce()
If true, then the channel will be closed forcibly.
|
long |
getMaxFeePerVbyte()
The maximum fee rate the closer is willing to pay.
|
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 |
getTargetConf()
The target number of blocks that the closure transaction should be
confirmed by.
|
boolean |
hasChannelPoint()
The outpoint (txid:index) of the funding transaction.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.CloseChannelRequest.Builder |
mergeChannelPoint(LightningApi.ChannelPoint value)
The outpoint (txid:index) of the funding transaction.
|
LightningApi.CloseChannelRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.CloseChannelRequest.Builder |
mergeFrom(LightningApi.CloseChannelRequest other) |
LightningApi.CloseChannelRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.CloseChannelRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.CloseChannelRequest.Builder |
setChannelPoint(LightningApi.ChannelPoint.Builder builderForValue)
The outpoint (txid:index) of the funding transaction.
|
LightningApi.CloseChannelRequest.Builder |
setChannelPoint(LightningApi.ChannelPoint value)
The outpoint (txid:index) of the funding transaction.
|
LightningApi.CloseChannelRequest.Builder |
setDeliveryAddress(java.lang.String value)
An optional address to send funds to in the case of a cooperative close.
|
LightningApi.CloseChannelRequest.Builder |
setDeliveryAddressBytes(com.google.protobuf.ByteString value)
An optional address to send funds to in the case of a cooperative close.
|
LightningApi.CloseChannelRequest.Builder |
setForce(boolean value)
If true, then the channel will be closed forcibly.
|
LightningApi.CloseChannelRequest.Builder |
setMaxFeePerVbyte(long value)
The maximum fee rate the closer is willing to pay.
|
LightningApi.CloseChannelRequest.Builder |
setSatPerByte(long value)
Deprecated.
lnrpc.CloseChannelRequest.sat_per_byte is deprecated.
See lightning.api.proto;l=2018
|
LightningApi.CloseChannelRequest.Builder |
setSatPerVbyte(long value)
A manual fee rate set in sat/vbyte that should be used when crafting the
closure transaction.
|
LightningApi.CloseChannelRequest.Builder |
setTargetConf(int value)
The target number of blocks that the closure transaction should be
confirmed by.
|
LightningApi.CloseChannelRequest.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.CloseChannelRequest.Builder>public LightningApi.CloseChannelRequest.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.CloseChannelRequest.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.CloseChannelRequest.Builder>public LightningApi.CloseChannelRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.CloseChannelRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.CloseChannelRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.CloseChannelRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.CloseChannelRequest.Builder>public LightningApi.CloseChannelRequest.Builder mergeFrom(LightningApi.CloseChannelRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.CloseChannelRequest.Builder>public LightningApi.CloseChannelRequest.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.CloseChannelRequest.Builder>java.io.IOExceptionpublic 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.CloseChannelRequest.Builder setChannelPoint(LightningApi.ChannelPoint value)
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;public LightningApi.CloseChannelRequest.Builder setChannelPoint(LightningApi.ChannelPoint.Builder builderForValue)
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;public LightningApi.CloseChannelRequest.Builder mergeChannelPoint(LightningApi.ChannelPoint value)
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;public LightningApi.CloseChannelRequest.Builder clearChannelPoint()
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;public LightningApi.ChannelPoint.Builder getChannelPointBuilder()
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;public 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 LightningApi.CloseChannelRequest.Builder setForce(boolean value)
If true, then the channel will be closed forcibly. This means the current commitment transaction will be signed and broadcast.
bool force = 2;value - The force to set.public LightningApi.CloseChannelRequest.Builder clearForce()
If true, then the channel will be closed forcibly. This means the current commitment transaction will be signed and broadcast.
bool force = 2;public int getTargetConf()
The target number of blocks that the closure transaction should be confirmed by.
int32 target_conf = 3;getTargetConf in interface LightningApi.CloseChannelRequestOrBuilderpublic LightningApi.CloseChannelRequest.Builder setTargetConf(int value)
The target number of blocks that the closure transaction should be confirmed by.
int32 target_conf = 3;value - The targetConf to set.public LightningApi.CloseChannelRequest.Builder clearTargetConf()
The target number of blocks that the closure transaction should be confirmed by.
int32 target_conf = 3;@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.CloseChannelRequestOrBuilder@Deprecated public LightningApi.CloseChannelRequest.Builder setSatPerByte(long value)
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];value - The satPerByte to set.@Deprecated public LightningApi.CloseChannelRequest.Builder clearSatPerByte()
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];public 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 LightningApi.CloseChannelRequest.Builder setDeliveryAddress(java.lang.String value)
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;value - The deliveryAddress to set.public LightningApi.CloseChannelRequest.Builder clearDeliveryAddress()
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;public LightningApi.CloseChannelRequest.Builder setDeliveryAddressBytes(com.google.protobuf.ByteString value)
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;value - The bytes for deliveryAddress to set.public 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 LightningApi.CloseChannelRequest.Builder setSatPerVbyte(long value)
A manual fee rate set in sat/vbyte that should be used when crafting the closure transaction.
uint64 sat_per_vbyte = 6;value - The satPerVbyte to set.public LightningApi.CloseChannelRequest.Builder clearSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the closure transaction.
uint64 sat_per_vbyte = 6;public 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 LightningApi.CloseChannelRequest.Builder setMaxFeePerVbyte(long value)
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;value - The maxFeePerVbyte to set.public LightningApi.CloseChannelRequest.Builder clearMaxFeePerVbyte()
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;public final LightningApi.CloseChannelRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.CloseChannelRequest.Builder>public final LightningApi.CloseChannelRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.CloseChannelRequest.Builder>