public static final class LightningApi.BatchOpenChannel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BatchOpenChannel.Builder> implements LightningApi.BatchOpenChannelOrBuilder
lnrpc.BatchOpenChannel| Modifier and Type | Method and Description |
|---|---|
LightningApi.BatchOpenChannel |
build() |
LightningApi.BatchOpenChannel |
buildPartial() |
LightningApi.BatchOpenChannel.Builder |
clear() |
LightningApi.BatchOpenChannel.Builder |
clearBaseFee()
The base fee charged regardless of the number of milli-satoshis sent.
|
LightningApi.BatchOpenChannel.Builder |
clearCloseAddress()
Close address is an optional address which specifies the address to which
funds should be paid out to upon cooperative close.
|
LightningApi.BatchOpenChannel.Builder |
clearCommitmentType()
The explicit commitment type to use.
|
LightningApi.BatchOpenChannel.Builder |
clearFeeRate()
The fee rate in ppm (parts per million) that will be charged in
proportion of the value of each forwarded HTLC.
|
LightningApi.BatchOpenChannel.Builder |
clearLocalFundingAmount()
The number of satoshis the wallet should commit to the channel.
|
LightningApi.BatchOpenChannel.Builder |
clearMaxLocalCsv()
Max local csv is the maximum csv delay we will allow for our own commitment
transaction.
|
LightningApi.BatchOpenChannel.Builder |
clearMemo()
An optional note-to-self to go along with the channel containing some
useful information.
|
LightningApi.BatchOpenChannel.Builder |
clearMinHtlcMsat()
The minimum value in millisatoshi we will require for incoming HTLCs on
the channel.
|
LightningApi.BatchOpenChannel.Builder |
clearNodePubkey()
The pubkey of the node to open a channel with.
|
LightningApi.BatchOpenChannel.Builder |
clearPendingChanId()
An optional, unique identifier of 32 random bytes that will be used as the
pending channel ID to identify the channel while it is in the pre-pending
state.
|
LightningApi.BatchOpenChannel.Builder |
clearPrivate()
Whether this channel should be private, not announced to the greater
network.
|
LightningApi.BatchOpenChannel.Builder |
clearPushSat()
The number of satoshis to push to the remote side as part of the initial
commitment state.
|
LightningApi.BatchOpenChannel.Builder |
clearRemoteChanReserveSat()
The number of satoshis we require the remote peer to reserve.
|
LightningApi.BatchOpenChannel.Builder |
clearRemoteCsvDelay()
The delay we require on the remote's commitment transaction.
|
LightningApi.BatchOpenChannel.Builder |
clearRemoteMaxHtlcs()
The maximum number of concurrent HTLCs we will allow the remote party to add
to the commitment transaction.
|
LightningApi.BatchOpenChannel.Builder |
clearRemoteMaxValueInFlightMsat()
The maximum amount of coins in millisatoshi that can be pending within
the channel.
|
LightningApi.BatchOpenChannel.Builder |
clearScidAlias()
If this is true, then an option-scid-alias channel-type open will be
attempted.
|
LightningApi.BatchOpenChannel.Builder |
clearUseBaseFee()
If use_base_fee is true the open channel announcement will update the
channel base fee with the value specified in base_fee.
|
LightningApi.BatchOpenChannel.Builder |
clearUseFeeRate()
If use_fee_rate is true the open channel announcement will update the
channel fee rate with the value specified in fee_rate.
|
LightningApi.BatchOpenChannel.Builder |
clearZeroConf()
If this is true, then a zero-conf channel open will be attempted.
|
long |
getBaseFee()
The base fee charged regardless of the number of milli-satoshis sent.
|
java.lang.String |
getCloseAddress()
Close address is an optional address which specifies the address to which
funds should be paid out to upon cooperative close.
|
com.google.protobuf.ByteString |
getCloseAddressBytes()
Close address is an optional address which specifies the address to which
funds should be paid out to upon cooperative close.
|
LightningApi.CommitmentType |
getCommitmentType()
The explicit commitment type to use.
|
int |
getCommitmentTypeValue()
The explicit commitment type to use.
|
LightningApi.BatchOpenChannel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getFeeRate()
The fee rate in ppm (parts per million) that will be charged in
proportion of the value of each forwarded HTLC.
|
long |
getLocalFundingAmount()
The number of satoshis the wallet should commit to the channel.
|
int |
getMaxLocalCsv()
Max local csv is the maximum csv delay we will allow for our own commitment
transaction.
|
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 |
getMinHtlcMsat()
The minimum value in millisatoshi we will require for incoming HTLCs on
the channel.
|
com.google.protobuf.ByteString |
getNodePubkey()
The pubkey of the node to open a channel with.
|
com.google.protobuf.ByteString |
getPendingChanId()
An optional, unique identifier of 32 random bytes that will be used as the
pending channel ID to identify the channel while it is in the pre-pending
state.
|
boolean |
getPrivate()
Whether this channel should be private, not announced to the greater
network.
|
long |
getPushSat()
The number of satoshis to push to the remote side as part of the initial
commitment state.
|
long |
getRemoteChanReserveSat()
The number of satoshis we require the remote peer to reserve.
|
int |
getRemoteCsvDelay()
The delay we require on the remote's commitment transaction.
|
int |
getRemoteMaxHtlcs()
The maximum number of concurrent HTLCs we will allow the remote party to add
to the commitment transaction.
|
long |
getRemoteMaxValueInFlightMsat()
The maximum amount of coins in millisatoshi that can be pending within
the channel.
|
boolean |
getScidAlias()
If this is true, then an option-scid-alias channel-type open will be
attempted.
|
boolean |
getUseBaseFee()
If use_base_fee is true the open channel announcement will update the
channel base fee with the value specified in base_fee.
|
boolean |
getUseFeeRate()
If use_fee_rate is true the open channel announcement will update the
channel fee rate with the value specified in fee_rate.
|
boolean |
getZeroConf()
If this is true, then a zero-conf channel open will be attempted.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.BatchOpenChannel.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.BatchOpenChannel.Builder |
mergeFrom(LightningApi.BatchOpenChannel other) |
LightningApi.BatchOpenChannel.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.BatchOpenChannel.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.BatchOpenChannel.Builder |
setBaseFee(long value)
The base fee charged regardless of the number of milli-satoshis sent.
|
LightningApi.BatchOpenChannel.Builder |
setCloseAddress(java.lang.String value)
Close address is an optional address which specifies the address to which
funds should be paid out to upon cooperative close.
|
LightningApi.BatchOpenChannel.Builder |
setCloseAddressBytes(com.google.protobuf.ByteString value)
Close address is an optional address which specifies the address to which
funds should be paid out to upon cooperative close.
|
LightningApi.BatchOpenChannel.Builder |
setCommitmentType(LightningApi.CommitmentType value)
The explicit commitment type to use.
|
LightningApi.BatchOpenChannel.Builder |
setCommitmentTypeValue(int value)
The explicit commitment type to use.
|
LightningApi.BatchOpenChannel.Builder |
setFeeRate(long value)
The fee rate in ppm (parts per million) that will be charged in
proportion of the value of each forwarded HTLC.
|
LightningApi.BatchOpenChannel.Builder |
setLocalFundingAmount(long value)
The number of satoshis the wallet should commit to the channel.
|
LightningApi.BatchOpenChannel.Builder |
setMaxLocalCsv(int value)
Max local csv is the maximum csv delay we will allow for our own commitment
transaction.
|
LightningApi.BatchOpenChannel.Builder |
setMemo(java.lang.String value)
An optional note-to-self to go along with the channel containing some
useful information.
|
LightningApi.BatchOpenChannel.Builder |
setMemoBytes(com.google.protobuf.ByteString value)
An optional note-to-self to go along with the channel containing some
useful information.
|
LightningApi.BatchOpenChannel.Builder |
setMinHtlcMsat(long value)
The minimum value in millisatoshi we will require for incoming HTLCs on
the channel.
|
LightningApi.BatchOpenChannel.Builder |
setNodePubkey(com.google.protobuf.ByteString value)
The pubkey of the node to open a channel with.
|
LightningApi.BatchOpenChannel.Builder |
setPendingChanId(com.google.protobuf.ByteString value)
An optional, unique identifier of 32 random bytes that will be used as the
pending channel ID to identify the channel while it is in the pre-pending
state.
|
LightningApi.BatchOpenChannel.Builder |
setPrivate(boolean value)
Whether this channel should be private, not announced to the greater
network.
|
LightningApi.BatchOpenChannel.Builder |
setPushSat(long value)
The number of satoshis to push to the remote side as part of the initial
commitment state.
|
LightningApi.BatchOpenChannel.Builder |
setRemoteChanReserveSat(long value)
The number of satoshis we require the remote peer to reserve.
|
LightningApi.BatchOpenChannel.Builder |
setRemoteCsvDelay(int value)
The delay we require on the remote's commitment transaction.
|
LightningApi.BatchOpenChannel.Builder |
setRemoteMaxHtlcs(int value)
The maximum number of concurrent HTLCs we will allow the remote party to add
to the commitment transaction.
|
LightningApi.BatchOpenChannel.Builder |
setRemoteMaxValueInFlightMsat(long value)
The maximum amount of coins in millisatoshi that can be pending within
the channel.
|
LightningApi.BatchOpenChannel.Builder |
setScidAlias(boolean value)
If this is true, then an option-scid-alias channel-type open will be
attempted.
|
LightningApi.BatchOpenChannel.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.BatchOpenChannel.Builder |
setUseBaseFee(boolean value)
If use_base_fee is true the open channel announcement will update the
channel base fee with the value specified in base_fee.
|
LightningApi.BatchOpenChannel.Builder |
setUseFeeRate(boolean value)
If use_fee_rate is true the open channel announcement will update the
channel fee rate with the value specified in fee_rate.
|
LightningApi.BatchOpenChannel.Builder |
setZeroConf(boolean value)
If this is true, then a zero-conf channel open will be attempted.
|
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.BatchOpenChannel.Builder>public LightningApi.BatchOpenChannel.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.BatchOpenChannel.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.BatchOpenChannel.Builder>public LightningApi.BatchOpenChannel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.BatchOpenChannel build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.BatchOpenChannel buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.BatchOpenChannel.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.BatchOpenChannel.Builder>public LightningApi.BatchOpenChannel.Builder mergeFrom(LightningApi.BatchOpenChannel other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BatchOpenChannel.Builder>public LightningApi.BatchOpenChannel.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.BatchOpenChannel.Builder>java.io.IOExceptionpublic com.google.protobuf.ByteString getNodePubkey()
The pubkey of the node to open a channel with. When using REST, this field must be encoded as base64.
bytes node_pubkey = 1;getNodePubkey in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setNodePubkey(com.google.protobuf.ByteString value)
The pubkey of the node to open a channel with. When using REST, this field must be encoded as base64.
bytes node_pubkey = 1;value - The nodePubkey to set.public LightningApi.BatchOpenChannel.Builder clearNodePubkey()
The pubkey of the node to open a channel with. When using REST, this field must be encoded as base64.
bytes node_pubkey = 1;public long getLocalFundingAmount()
The number of satoshis the wallet should commit to the channel.
int64 local_funding_amount = 2;getLocalFundingAmount in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setLocalFundingAmount(long value)
The number of satoshis the wallet should commit to the channel.
int64 local_funding_amount = 2;value - The localFundingAmount to set.public LightningApi.BatchOpenChannel.Builder clearLocalFundingAmount()
The number of satoshis the wallet should commit to the channel.
int64 local_funding_amount = 2;public long getPushSat()
The number of satoshis to push to the remote side as part of the initial commitment state.
int64 push_sat = 3;getPushSat in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setPushSat(long value)
The number of satoshis to push to the remote side as part of the initial commitment state.
int64 push_sat = 3;value - The pushSat to set.public LightningApi.BatchOpenChannel.Builder clearPushSat()
The number of satoshis to push to the remote side as part of the initial commitment state.
int64 push_sat = 3;public boolean getPrivate()
Whether this channel should be private, not announced to the greater network.
bool private = 4;getPrivate in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setPrivate(boolean value)
Whether this channel should be private, not announced to the greater network.
bool private = 4;value - The private to set.public LightningApi.BatchOpenChannel.Builder clearPrivate()
Whether this channel should be private, not announced to the greater network.
bool private = 4;public long getMinHtlcMsat()
The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
int64 min_htlc_msat = 5;getMinHtlcMsat in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setMinHtlcMsat(long value)
The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
int64 min_htlc_msat = 5;value - The minHtlcMsat to set.public LightningApi.BatchOpenChannel.Builder clearMinHtlcMsat()
The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
int64 min_htlc_msat = 5;public int getRemoteCsvDelay()
The delay we require on the remote's commitment transaction. If this is not set, it will be scaled automatically with the channel size.
uint32 remote_csv_delay = 6;getRemoteCsvDelay in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setRemoteCsvDelay(int value)
The delay we require on the remote's commitment transaction. If this is not set, it will be scaled automatically with the channel size.
uint32 remote_csv_delay = 6;value - The remoteCsvDelay to set.public LightningApi.BatchOpenChannel.Builder clearRemoteCsvDelay()
The delay we require on the remote's commitment transaction. If this is not set, it will be scaled automatically with the channel size.
uint32 remote_csv_delay = 6;public java.lang.String getCloseAddress()
Close address is an optional address which specifies the address to which funds should be paid out to upon cooperative close. This field may only be set if the peer supports the option upfront feature bit (call listpeers to check). The remote peer will only accept cooperative closes to this address if it is set. Note: If this value is set on channel creation, you will *not* be able to cooperatively close out to a different address.
string close_address = 7;getCloseAddress in interface LightningApi.BatchOpenChannelOrBuilderpublic com.google.protobuf.ByteString getCloseAddressBytes()
Close address is an optional address which specifies the address to which funds should be paid out to upon cooperative close. This field may only be set if the peer supports the option upfront feature bit (call listpeers to check). The remote peer will only accept cooperative closes to this address if it is set. Note: If this value is set on channel creation, you will *not* be able to cooperatively close out to a different address.
string close_address = 7;getCloseAddressBytes in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setCloseAddress(java.lang.String value)
Close address is an optional address which specifies the address to which funds should be paid out to upon cooperative close. This field may only be set if the peer supports the option upfront feature bit (call listpeers to check). The remote peer will only accept cooperative closes to this address if it is set. Note: If this value is set on channel creation, you will *not* be able to cooperatively close out to a different address.
string close_address = 7;value - The closeAddress to set.public LightningApi.BatchOpenChannel.Builder clearCloseAddress()
Close address is an optional address which specifies the address to which funds should be paid out to upon cooperative close. This field may only be set if the peer supports the option upfront feature bit (call listpeers to check). The remote peer will only accept cooperative closes to this address if it is set. Note: If this value is set on channel creation, you will *not* be able to cooperatively close out to a different address.
string close_address = 7;public LightningApi.BatchOpenChannel.Builder setCloseAddressBytes(com.google.protobuf.ByteString value)
Close address is an optional address which specifies the address to which funds should be paid out to upon cooperative close. This field may only be set if the peer supports the option upfront feature bit (call listpeers to check). The remote peer will only accept cooperative closes to this address if it is set. Note: If this value is set on channel creation, you will *not* be able to cooperatively close out to a different address.
string close_address = 7;value - The bytes for closeAddress to set.public com.google.protobuf.ByteString getPendingChanId()
An optional, unique identifier of 32 random bytes that will be used as the pending channel ID to identify the channel while it is in the pre-pending state.
bytes pending_chan_id = 8;getPendingChanId in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setPendingChanId(com.google.protobuf.ByteString value)
An optional, unique identifier of 32 random bytes that will be used as the pending channel ID to identify the channel while it is in the pre-pending state.
bytes pending_chan_id = 8;value - The pendingChanId to set.public LightningApi.BatchOpenChannel.Builder clearPendingChanId()
An optional, unique identifier of 32 random bytes that will be used as the pending channel ID to identify the channel while it is in the pre-pending state.
bytes pending_chan_id = 8;public int getCommitmentTypeValue()
The explicit commitment type to use. Note this field will only be used if the remote peer supports explicit channel negotiation.
.lnrpc.CommitmentType commitment_type = 9;getCommitmentTypeValue in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setCommitmentTypeValue(int value)
The explicit commitment type to use. Note this field will only be used if the remote peer supports explicit channel negotiation.
.lnrpc.CommitmentType commitment_type = 9;value - The enum numeric value on the wire for commitmentType to set.public LightningApi.CommitmentType getCommitmentType()
The explicit commitment type to use. Note this field will only be used if the remote peer supports explicit channel negotiation.
.lnrpc.CommitmentType commitment_type = 9;getCommitmentType in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setCommitmentType(LightningApi.CommitmentType value)
The explicit commitment type to use. Note this field will only be used if the remote peer supports explicit channel negotiation.
.lnrpc.CommitmentType commitment_type = 9;value - The commitmentType to set.public LightningApi.BatchOpenChannel.Builder clearCommitmentType()
The explicit commitment type to use. Note this field will only be used if the remote peer supports explicit channel negotiation.
.lnrpc.CommitmentType commitment_type = 9;public long getRemoteMaxValueInFlightMsat()
The maximum amount of coins in millisatoshi that can be pending within the channel. It only applies to the remote party.
uint64 remote_max_value_in_flight_msat = 10;getRemoteMaxValueInFlightMsat in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setRemoteMaxValueInFlightMsat(long value)
The maximum amount of coins in millisatoshi that can be pending within the channel. It only applies to the remote party.
uint64 remote_max_value_in_flight_msat = 10;value - The remoteMaxValueInFlightMsat to set.public LightningApi.BatchOpenChannel.Builder clearRemoteMaxValueInFlightMsat()
The maximum amount of coins in millisatoshi that can be pending within the channel. It only applies to the remote party.
uint64 remote_max_value_in_flight_msat = 10;public int getRemoteMaxHtlcs()
The maximum number of concurrent HTLCs we will allow the remote party to add to the commitment transaction.
uint32 remote_max_htlcs = 11;getRemoteMaxHtlcs in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setRemoteMaxHtlcs(int value)
The maximum number of concurrent HTLCs we will allow the remote party to add to the commitment transaction.
uint32 remote_max_htlcs = 11;value - The remoteMaxHtlcs to set.public LightningApi.BatchOpenChannel.Builder clearRemoteMaxHtlcs()
The maximum number of concurrent HTLCs we will allow the remote party to add to the commitment transaction.
uint32 remote_max_htlcs = 11;public int getMaxLocalCsv()
Max local csv is the maximum csv delay we will allow for our own commitment transaction.
uint32 max_local_csv = 12;getMaxLocalCsv in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setMaxLocalCsv(int value)
Max local csv is the maximum csv delay we will allow for our own commitment transaction.
uint32 max_local_csv = 12;value - The maxLocalCsv to set.public LightningApi.BatchOpenChannel.Builder clearMaxLocalCsv()
Max local csv is the maximum csv delay we will allow for our own commitment transaction.
uint32 max_local_csv = 12;public boolean getZeroConf()
If this is true, then a zero-conf channel open will be attempted.
bool zero_conf = 13;getZeroConf in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setZeroConf(boolean value)
If this is true, then a zero-conf channel open will be attempted.
bool zero_conf = 13;value - The zeroConf to set.public LightningApi.BatchOpenChannel.Builder clearZeroConf()
If this is true, then a zero-conf channel open will be attempted.
bool zero_conf = 13;public boolean getScidAlias()
If this is true, then an option-scid-alias channel-type open will be attempted.
bool scid_alias = 14;getScidAlias in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setScidAlias(boolean value)
If this is true, then an option-scid-alias channel-type open will be attempted.
bool scid_alias = 14;value - The scidAlias to set.public LightningApi.BatchOpenChannel.Builder clearScidAlias()
If this is true, then an option-scid-alias channel-type open will be attempted.
bool scid_alias = 14;public long getBaseFee()
The base fee charged regardless of the number of milli-satoshis sent.
uint64 base_fee = 15;getBaseFee in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setBaseFee(long value)
The base fee charged regardless of the number of milli-satoshis sent.
uint64 base_fee = 15;value - The baseFee to set.public LightningApi.BatchOpenChannel.Builder clearBaseFee()
The base fee charged regardless of the number of milli-satoshis sent.
uint64 base_fee = 15;public long getFeeRate()
The fee rate in ppm (parts per million) that will be charged in proportion of the value of each forwarded HTLC.
uint64 fee_rate = 16;getFeeRate in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setFeeRate(long value)
The fee rate in ppm (parts per million) that will be charged in proportion of the value of each forwarded HTLC.
uint64 fee_rate = 16;value - The feeRate to set.public LightningApi.BatchOpenChannel.Builder clearFeeRate()
The fee rate in ppm (parts per million) that will be charged in proportion of the value of each forwarded HTLC.
uint64 fee_rate = 16;public boolean getUseBaseFee()
If use_base_fee is true the open channel announcement will update the channel base fee with the value specified in base_fee. In the case of a base_fee of 0 use_base_fee is needed downstream to distinguish whether to use the default base fee value specified in the config or 0.
bool use_base_fee = 17;getUseBaseFee in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setUseBaseFee(boolean value)
If use_base_fee is true the open channel announcement will update the channel base fee with the value specified in base_fee. In the case of a base_fee of 0 use_base_fee is needed downstream to distinguish whether to use the default base fee value specified in the config or 0.
bool use_base_fee = 17;value - The useBaseFee to set.public LightningApi.BatchOpenChannel.Builder clearUseBaseFee()
If use_base_fee is true the open channel announcement will update the channel base fee with the value specified in base_fee. In the case of a base_fee of 0 use_base_fee is needed downstream to distinguish whether to use the default base fee value specified in the config or 0.
bool use_base_fee = 17;public boolean getUseFeeRate()
If use_fee_rate is true the open channel announcement will update the channel fee rate with the value specified in fee_rate. In the case of a fee_rate of 0 use_fee_rate is needed downstream to distinguish whether to use the default fee rate value specified in the config or 0.
bool use_fee_rate = 18;getUseFeeRate in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setUseFeeRate(boolean value)
If use_fee_rate is true the open channel announcement will update the channel fee rate with the value specified in fee_rate. In the case of a fee_rate of 0 use_fee_rate is needed downstream to distinguish whether to use the default fee rate value specified in the config or 0.
bool use_fee_rate = 18;value - The useFeeRate to set.public LightningApi.BatchOpenChannel.Builder clearUseFeeRate()
If use_fee_rate is true the open channel announcement will update the channel fee rate with the value specified in fee_rate. In the case of a fee_rate of 0 use_fee_rate is needed downstream to distinguish whether to use the default fee rate value specified in the config or 0.
bool use_fee_rate = 18;public long getRemoteChanReserveSat()
The number of satoshis we require the remote peer to reserve. This value, if specified, must be above the dust limit and below 20% of the channel capacity.
uint64 remote_chan_reserve_sat = 19;getRemoteChanReserveSat in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setRemoteChanReserveSat(long value)
The number of satoshis we require the remote peer to reserve. This value, if specified, must be above the dust limit and below 20% of the channel capacity.
uint64 remote_chan_reserve_sat = 19;value - The remoteChanReserveSat to set.public LightningApi.BatchOpenChannel.Builder clearRemoteChanReserveSat()
The number of satoshis we require the remote peer to reserve. This value, if specified, must be above the dust limit and below 20% of the channel capacity.
uint64 remote_chan_reserve_sat = 19;public 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 = 20;getMemo in interface LightningApi.BatchOpenChannelOrBuilderpublic 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 = 20;getMemoBytes in interface LightningApi.BatchOpenChannelOrBuilderpublic LightningApi.BatchOpenChannel.Builder setMemo(java.lang.String value)
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 = 20;value - The memo to set.public LightningApi.BatchOpenChannel.Builder clearMemo()
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 = 20;public LightningApi.BatchOpenChannel.Builder setMemoBytes(com.google.protobuf.ByteString value)
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 = 20;value - The bytes for memo to set.public final LightningApi.BatchOpenChannel.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BatchOpenChannel.Builder>public final LightningApi.BatchOpenChannel.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BatchOpenChannel.Builder>