public static final class LightningApi.OpenChannelRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder> implements LightningApi.OpenChannelRequestOrBuilder
lnrpc.OpenChannelRequest
Modifier and Type | Method and Description |
---|---|
LightningApi.OpenChannelRequest.Builder |
addAllOutpoints(java.lang.Iterable<? extends LightningApi.OutPoint> values)
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OpenChannelRequest.Builder |
addOutpoints(int index,
LightningApi.OutPoint.Builder builderForValue)
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OpenChannelRequest.Builder |
addOutpoints(int index,
LightningApi.OutPoint value)
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OpenChannelRequest.Builder |
addOutpoints(LightningApi.OutPoint.Builder builderForValue)
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OpenChannelRequest.Builder |
addOutpoints(LightningApi.OutPoint value)
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OutPoint.Builder |
addOutpointsBuilder()
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OutPoint.Builder |
addOutpointsBuilder(int index)
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OpenChannelRequest |
build() |
LightningApi.OpenChannelRequest |
buildPartial() |
LightningApi.OpenChannelRequest.Builder |
clear() |
LightningApi.OpenChannelRequest.Builder |
clearBaseFee()
The base fee charged regardless of the number of milli-satoshis sent.
|
LightningApi.OpenChannelRequest.Builder |
clearCloseAddress()
Close address is an optional address which specifies the address to which
funds should be paid out to upon cooperative close.
|
LightningApi.OpenChannelRequest.Builder |
clearCommitmentType()
The explicit commitment type to use.
|
LightningApi.OpenChannelRequest.Builder |
clearFeeRate()
The fee rate in ppm (parts per million) that will be charged in
proportion of the value of each forwarded HTLC.
|
LightningApi.OpenChannelRequest.Builder |
clearFundingShim()
Funding shims are an optional argument that allow the caller to intercept
certain funding functionality.
|
LightningApi.OpenChannelRequest.Builder |
clearFundMax()
If set, then lnd will attempt to commit all the coins under control of the
internal wallet to open the channel, and the LocalFundingAmount field must
be zero and is ignored.
|
LightningApi.OpenChannelRequest.Builder |
clearLocalFundingAmount()
The number of satoshis the wallet should commit to the channel
|
LightningApi.OpenChannelRequest.Builder |
clearMaxLocalCsv()
Max local csv is the maximum csv delay we will allow for our own commitment
transaction.
|
LightningApi.OpenChannelRequest.Builder |
clearMemo()
An optional note-to-self to go along with the channel containing some
useful information.
|
LightningApi.OpenChannelRequest.Builder |
clearMinConfs()
The minimum number of confirmations each one of your outputs used for
the funding transaction must satisfy.
|
LightningApi.OpenChannelRequest.Builder |
clearMinHtlcMsat()
The minimum value in millisatoshi we will require for incoming HTLCs on
the channel.
|
LightningApi.OpenChannelRequest.Builder |
clearNodePubkey()
The pubkey of the node to open a channel with.
|
LightningApi.OpenChannelRequest.Builder |
clearNodePubkeyString()
Deprecated.
lnrpc.OpenChannelRequest.node_pubkey_string is deprecated.
See lightning.api.proto;l=2235
|
LightningApi.OpenChannelRequest.Builder |
clearOutpoints()
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OpenChannelRequest.Builder |
clearPrivate()
Whether this channel should be private, not announced to the greater
network.
|
LightningApi.OpenChannelRequest.Builder |
clearPushSat()
The number of satoshis to push to the remote side as part of the initial
commitment state
|
LightningApi.OpenChannelRequest.Builder |
clearRemoteChanReserveSat()
The number of satoshis we require the remote peer to reserve.
|
LightningApi.OpenChannelRequest.Builder |
clearRemoteCsvDelay()
The delay we require on the remote's commitment transaction.
|
LightningApi.OpenChannelRequest.Builder |
clearRemoteMaxHtlcs()
The maximum number of concurrent HTLCs we will allow the remote party to add
to the commitment transaction.
|
LightningApi.OpenChannelRequest.Builder |
clearRemoteMaxValueInFlightMsat()
The maximum amount of coins in millisatoshi that can be pending within
the channel.
|
LightningApi.OpenChannelRequest.Builder |
clearSatPerByte()
Deprecated.
lnrpc.OpenChannelRequest.sat_per_byte is deprecated.
See lightning.api.proto;l=2251
|
LightningApi.OpenChannelRequest.Builder |
clearSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the
funding transaction.
|
LightningApi.OpenChannelRequest.Builder |
clearScidAlias()
If this is true, then an option-scid-alias channel-type open will be
attempted.
|
LightningApi.OpenChannelRequest.Builder |
clearSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the funding
transaction.
|
LightningApi.OpenChannelRequest.Builder |
clearTargetConf()
The target number of blocks that the funding transaction should be
confirmed by.
|
LightningApi.OpenChannelRequest.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.OpenChannelRequest.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.OpenChannelRequest.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.OpenChannelRequest |
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.
|
LightningApi.FundingShim |
getFundingShim()
Funding shims are an optional argument that allow the caller to intercept
certain funding functionality.
|
LightningApi.FundingShim.Builder |
getFundingShimBuilder()
Funding shims are an optional argument that allow the caller to intercept
certain funding functionality.
|
LightningApi.FundingShimOrBuilder |
getFundingShimOrBuilder()
Funding shims are an optional argument that allow the caller to intercept
certain funding functionality.
|
boolean |
getFundMax()
If set, then lnd will attempt to commit all the coins under control of the
internal wallet to open the channel, and the LocalFundingAmount field must
be zero and is ignored.
|
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.
|
int |
getMinConfs()
The minimum number of confirmations each one of your outputs used for
the funding transaction must satisfy.
|
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.
|
java.lang.String |
getNodePubkeyString()
Deprecated.
lnrpc.OpenChannelRequest.node_pubkey_string is deprecated.
See lightning.api.proto;l=2235
|
com.google.protobuf.ByteString |
getNodePubkeyStringBytes()
Deprecated.
lnrpc.OpenChannelRequest.node_pubkey_string is deprecated.
See lightning.api.proto;l=2235
|
LightningApi.OutPoint |
getOutpoints(int index)
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OutPoint.Builder |
getOutpointsBuilder(int index)
A list of selected outpoints that are allocated for channel funding.
|
java.util.List<LightningApi.OutPoint.Builder> |
getOutpointsBuilderList()
A list of selected outpoints that are allocated for channel funding.
|
int |
getOutpointsCount()
A list of selected outpoints that are allocated for channel funding.
|
java.util.List<LightningApi.OutPoint> |
getOutpointsList()
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OutPointOrBuilder |
getOutpointsOrBuilder(int index)
A list of selected outpoints that are allocated for channel funding.
|
java.util.List<? extends LightningApi.OutPointOrBuilder> |
getOutpointsOrBuilderList()
A list of selected outpoints that are allocated for channel funding.
|
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.
|
long |
getSatPerByte()
Deprecated.
lnrpc.OpenChannelRequest.sat_per_byte is deprecated.
See lightning.api.proto;l=2251
|
long |
getSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the
funding transaction.
|
boolean |
getScidAlias()
If this is true, then an option-scid-alias channel-type open will be
attempted.
|
boolean |
getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the funding
transaction.
|
int |
getTargetConf()
The target number of blocks that the funding transaction should be
confirmed by.
|
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.
|
boolean |
hasFundingShim()
Funding shims are an optional argument that allow the caller to intercept
certain funding functionality.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.OpenChannelRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.OpenChannelRequest.Builder |
mergeFrom(LightningApi.OpenChannelRequest other) |
LightningApi.OpenChannelRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.OpenChannelRequest.Builder |
mergeFundingShim(LightningApi.FundingShim value)
Funding shims are an optional argument that allow the caller to intercept
certain funding functionality.
|
LightningApi.OpenChannelRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.OpenChannelRequest.Builder |
removeOutpoints(int index)
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OpenChannelRequest.Builder |
setBaseFee(long value)
The base fee charged regardless of the number of milli-satoshis sent.
|
LightningApi.OpenChannelRequest.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.OpenChannelRequest.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.OpenChannelRequest.Builder |
setCommitmentType(LightningApi.CommitmentType value)
The explicit commitment type to use.
|
LightningApi.OpenChannelRequest.Builder |
setCommitmentTypeValue(int value)
The explicit commitment type to use.
|
LightningApi.OpenChannelRequest.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.OpenChannelRequest.Builder |
setFundingShim(LightningApi.FundingShim.Builder builderForValue)
Funding shims are an optional argument that allow the caller to intercept
certain funding functionality.
|
LightningApi.OpenChannelRequest.Builder |
setFundingShim(LightningApi.FundingShim value)
Funding shims are an optional argument that allow the caller to intercept
certain funding functionality.
|
LightningApi.OpenChannelRequest.Builder |
setFundMax(boolean value)
If set, then lnd will attempt to commit all the coins under control of the
internal wallet to open the channel, and the LocalFundingAmount field must
be zero and is ignored.
|
LightningApi.OpenChannelRequest.Builder |
setLocalFundingAmount(long value)
The number of satoshis the wallet should commit to the channel
|
LightningApi.OpenChannelRequest.Builder |
setMaxLocalCsv(int value)
Max local csv is the maximum csv delay we will allow for our own commitment
transaction.
|
LightningApi.OpenChannelRequest.Builder |
setMemo(java.lang.String value)
An optional note-to-self to go along with the channel containing some
useful information.
|
LightningApi.OpenChannelRequest.Builder |
setMemoBytes(com.google.protobuf.ByteString value)
An optional note-to-self to go along with the channel containing some
useful information.
|
LightningApi.OpenChannelRequest.Builder |
setMinConfs(int value)
The minimum number of confirmations each one of your outputs used for
the funding transaction must satisfy.
|
LightningApi.OpenChannelRequest.Builder |
setMinHtlcMsat(long value)
The minimum value in millisatoshi we will require for incoming HTLCs on
the channel.
|
LightningApi.OpenChannelRequest.Builder |
setNodePubkey(com.google.protobuf.ByteString value)
The pubkey of the node to open a channel with.
|
LightningApi.OpenChannelRequest.Builder |
setNodePubkeyString(java.lang.String value)
Deprecated.
lnrpc.OpenChannelRequest.node_pubkey_string is deprecated.
See lightning.api.proto;l=2235
|
LightningApi.OpenChannelRequest.Builder |
setNodePubkeyStringBytes(com.google.protobuf.ByteString value)
Deprecated.
lnrpc.OpenChannelRequest.node_pubkey_string is deprecated.
See lightning.api.proto;l=2235
|
LightningApi.OpenChannelRequest.Builder |
setOutpoints(int index,
LightningApi.OutPoint.Builder builderForValue)
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OpenChannelRequest.Builder |
setOutpoints(int index,
LightningApi.OutPoint value)
A list of selected outpoints that are allocated for channel funding.
|
LightningApi.OpenChannelRequest.Builder |
setPrivate(boolean value)
Whether this channel should be private, not announced to the greater
network.
|
LightningApi.OpenChannelRequest.Builder |
setPushSat(long value)
The number of satoshis to push to the remote side as part of the initial
commitment state
|
LightningApi.OpenChannelRequest.Builder |
setRemoteChanReserveSat(long value)
The number of satoshis we require the remote peer to reserve.
|
LightningApi.OpenChannelRequest.Builder |
setRemoteCsvDelay(int value)
The delay we require on the remote's commitment transaction.
|
LightningApi.OpenChannelRequest.Builder |
setRemoteMaxHtlcs(int value)
The maximum number of concurrent HTLCs we will allow the remote party to add
to the commitment transaction.
|
LightningApi.OpenChannelRequest.Builder |
setRemoteMaxValueInFlightMsat(long value)
The maximum amount of coins in millisatoshi that can be pending within
the channel.
|
LightningApi.OpenChannelRequest.Builder |
setSatPerByte(long value)
Deprecated.
lnrpc.OpenChannelRequest.sat_per_byte is deprecated.
See lightning.api.proto;l=2251
|
LightningApi.OpenChannelRequest.Builder |
setSatPerVbyte(long value)
A manual fee rate set in sat/vbyte that should be used when crafting the
funding transaction.
|
LightningApi.OpenChannelRequest.Builder |
setScidAlias(boolean value)
If this is true, then an option-scid-alias channel-type open will be
attempted.
|
LightningApi.OpenChannelRequest.Builder |
setSpendUnconfirmed(boolean value)
Whether unconfirmed outputs should be used as inputs for the funding
transaction.
|
LightningApi.OpenChannelRequest.Builder |
setTargetConf(int value)
The target number of blocks that the funding transaction should be
confirmed by.
|
LightningApi.OpenChannelRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.OpenChannelRequest.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.OpenChannelRequest.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.OpenChannelRequest.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder>
public LightningApi.OpenChannelRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder>
public LightningApi.OpenChannelRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.OpenChannelRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.OpenChannelRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.OpenChannelRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.OpenChannelRequest.Builder>
public LightningApi.OpenChannelRequest.Builder mergeFrom(LightningApi.OpenChannelRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder>
public LightningApi.OpenChannelRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.OpenChannelRequest.Builder>
java.io.IOException
public long getSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the funding transaction.
uint64 sat_per_vbyte = 1;
getSatPerVbyte
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setSatPerVbyte(long value)
A manual fee rate set in sat/vbyte that should be used when crafting the funding transaction.
uint64 sat_per_vbyte = 1;
value
- The satPerVbyte to set.public LightningApi.OpenChannelRequest.Builder clearSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the funding transaction.
uint64 sat_per_vbyte = 1;
public 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 = 2;
getNodePubkey
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 2;
value
- The nodePubkey to set.public LightningApi.OpenChannelRequest.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 = 2;
@Deprecated public java.lang.String getNodePubkeyString()
The hex encoded pubkey of the node to open a channel with. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string node_pubkey_string = 3 [deprecated = true];
getNodePubkeyString
in interface LightningApi.OpenChannelRequestOrBuilder
@Deprecated public com.google.protobuf.ByteString getNodePubkeyStringBytes()
The hex encoded pubkey of the node to open a channel with. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string node_pubkey_string = 3 [deprecated = true];
getNodePubkeyStringBytes
in interface LightningApi.OpenChannelRequestOrBuilder
@Deprecated public LightningApi.OpenChannelRequest.Builder setNodePubkeyString(java.lang.String value)
The hex encoded pubkey of the node to open a channel with. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string node_pubkey_string = 3 [deprecated = true];
value
- The nodePubkeyString to set.@Deprecated public LightningApi.OpenChannelRequest.Builder clearNodePubkeyString()
The hex encoded pubkey of the node to open a channel with. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string node_pubkey_string = 3 [deprecated = true];
@Deprecated public LightningApi.OpenChannelRequest.Builder setNodePubkeyStringBytes(com.google.protobuf.ByteString value)
The hex encoded pubkey of the node to open a channel with. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string node_pubkey_string = 3 [deprecated = true];
value
- The bytes for nodePubkeyString to set.public long getLocalFundingAmount()
The number of satoshis the wallet should commit to the channel
int64 local_funding_amount = 4;
getLocalFundingAmount
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setLocalFundingAmount(long value)
The number of satoshis the wallet should commit to the channel
int64 local_funding_amount = 4;
value
- The localFundingAmount to set.public LightningApi.OpenChannelRequest.Builder clearLocalFundingAmount()
The number of satoshis the wallet should commit to the channel
int64 local_funding_amount = 4;
public long getPushSat()
The number of satoshis to push to the remote side as part of the initial commitment state
int64 push_sat = 5;
getPushSat
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setPushSat(long value)
The number of satoshis to push to the remote side as part of the initial commitment state
int64 push_sat = 5;
value
- The pushSat to set.public LightningApi.OpenChannelRequest.Builder clearPushSat()
The number of satoshis to push to the remote side as part of the initial commitment state
int64 push_sat = 5;
public int getTargetConf()
The target number of blocks that the funding transaction should be confirmed by.
int32 target_conf = 6;
getTargetConf
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setTargetConf(int value)
The target number of blocks that the funding transaction should be confirmed by.
int32 target_conf = 6;
value
- The targetConf to set.public LightningApi.OpenChannelRequest.Builder clearTargetConf()
The target number of blocks that the funding transaction should be confirmed by.
int32 target_conf = 6;
@Deprecated public long getSatPerByte()
Deprecated, use sat_per_vbyte. A manual fee rate set in sat/vbyte that should be used when crafting the funding transaction.
int64 sat_per_byte = 7 [deprecated = true];
getSatPerByte
in interface LightningApi.OpenChannelRequestOrBuilder
@Deprecated public LightningApi.OpenChannelRequest.Builder setSatPerByte(long value)
Deprecated, use sat_per_vbyte. A manual fee rate set in sat/vbyte that should be used when crafting the funding transaction.
int64 sat_per_byte = 7 [deprecated = true];
value
- The satPerByte to set.@Deprecated public LightningApi.OpenChannelRequest.Builder clearSatPerByte()
Deprecated, use sat_per_vbyte. A manual fee rate set in sat/vbyte that should be used when crafting the funding transaction.
int64 sat_per_byte = 7 [deprecated = true];
public boolean getPrivate()
Whether this channel should be private, not announced to the greater network.
bool private = 8;
getPrivate
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setPrivate(boolean value)
Whether this channel should be private, not announced to the greater network.
bool private = 8;
value
- The private to set.public LightningApi.OpenChannelRequest.Builder clearPrivate()
Whether this channel should be private, not announced to the greater network.
bool private = 8;
public long getMinHtlcMsat()
The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
int64 min_htlc_msat = 9;
getMinHtlcMsat
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setMinHtlcMsat(long value)
The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
int64 min_htlc_msat = 9;
value
- The minHtlcMsat to set.public LightningApi.OpenChannelRequest.Builder clearMinHtlcMsat()
The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
int64 min_htlc_msat = 9;
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 = 10;
getRemoteCsvDelay
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 10;
value
- The remoteCsvDelay to set.public LightningApi.OpenChannelRequest.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 = 10;
public int getMinConfs()
The minimum number of confirmations each one of your outputs used for the funding transaction must satisfy.
int32 min_confs = 11;
getMinConfs
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setMinConfs(int value)
The minimum number of confirmations each one of your outputs used for the funding transaction must satisfy.
int32 min_confs = 11;
value
- The minConfs to set.public LightningApi.OpenChannelRequest.Builder clearMinConfs()
The minimum number of confirmations each one of your outputs used for the funding transaction must satisfy.
int32 min_confs = 11;
public boolean getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the funding transaction.
bool spend_unconfirmed = 12;
getSpendUnconfirmed
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setSpendUnconfirmed(boolean value)
Whether unconfirmed outputs should be used as inputs for the funding transaction.
bool spend_unconfirmed = 12;
value
- The spendUnconfirmed to set.public LightningApi.OpenChannelRequest.Builder clearSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the funding transaction.
bool spend_unconfirmed = 12;
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 = 13;
getCloseAddress
in interface LightningApi.OpenChannelRequestOrBuilder
public 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 = 13;
getCloseAddressBytes
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 13;
value
- The closeAddress to set.public LightningApi.OpenChannelRequest.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 = 13;
public LightningApi.OpenChannelRequest.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 = 13;
value
- The bytes for closeAddress to set.public boolean hasFundingShim()
Funding shims are an optional argument that allow the caller to intercept certain funding functionality. For example, a shim can be provided to use a particular key for the commitment key (ideally cold) rather than use one that is generated by the wallet as normal, or signal that signing will be carried out in an interactive manner (PSBT based).
.lnrpc.FundingShim funding_shim = 14;
hasFundingShim
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.FundingShim getFundingShim()
Funding shims are an optional argument that allow the caller to intercept certain funding functionality. For example, a shim can be provided to use a particular key for the commitment key (ideally cold) rather than use one that is generated by the wallet as normal, or signal that signing will be carried out in an interactive manner (PSBT based).
.lnrpc.FundingShim funding_shim = 14;
getFundingShim
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setFundingShim(LightningApi.FundingShim value)
Funding shims are an optional argument that allow the caller to intercept certain funding functionality. For example, a shim can be provided to use a particular key for the commitment key (ideally cold) rather than use one that is generated by the wallet as normal, or signal that signing will be carried out in an interactive manner (PSBT based).
.lnrpc.FundingShim funding_shim = 14;
public LightningApi.OpenChannelRequest.Builder setFundingShim(LightningApi.FundingShim.Builder builderForValue)
Funding shims are an optional argument that allow the caller to intercept certain funding functionality. For example, a shim can be provided to use a particular key for the commitment key (ideally cold) rather than use one that is generated by the wallet as normal, or signal that signing will be carried out in an interactive manner (PSBT based).
.lnrpc.FundingShim funding_shim = 14;
public LightningApi.OpenChannelRequest.Builder mergeFundingShim(LightningApi.FundingShim value)
Funding shims are an optional argument that allow the caller to intercept certain funding functionality. For example, a shim can be provided to use a particular key for the commitment key (ideally cold) rather than use one that is generated by the wallet as normal, or signal that signing will be carried out in an interactive manner (PSBT based).
.lnrpc.FundingShim funding_shim = 14;
public LightningApi.OpenChannelRequest.Builder clearFundingShim()
Funding shims are an optional argument that allow the caller to intercept certain funding functionality. For example, a shim can be provided to use a particular key for the commitment key (ideally cold) rather than use one that is generated by the wallet as normal, or signal that signing will be carried out in an interactive manner (PSBT based).
.lnrpc.FundingShim funding_shim = 14;
public LightningApi.FundingShim.Builder getFundingShimBuilder()
Funding shims are an optional argument that allow the caller to intercept certain funding functionality. For example, a shim can be provided to use a particular key for the commitment key (ideally cold) rather than use one that is generated by the wallet as normal, or signal that signing will be carried out in an interactive manner (PSBT based).
.lnrpc.FundingShim funding_shim = 14;
public LightningApi.FundingShimOrBuilder getFundingShimOrBuilder()
Funding shims are an optional argument that allow the caller to intercept certain funding functionality. For example, a shim can be provided to use a particular key for the commitment key (ideally cold) rather than use one that is generated by the wallet as normal, or signal that signing will be carried out in an interactive manner (PSBT based).
.lnrpc.FundingShim funding_shim = 14;
getFundingShimOrBuilder
in interface LightningApi.OpenChannelRequestOrBuilder
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 = 15;
getRemoteMaxValueInFlightMsat
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 15;
value
- The remoteMaxValueInFlightMsat to set.public LightningApi.OpenChannelRequest.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 = 15;
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 = 16;
getRemoteMaxHtlcs
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 16;
value
- The remoteMaxHtlcs to set.public LightningApi.OpenChannelRequest.Builder clearRemoteMaxHtlcs()
The maximum number of concurrent HTLCs we will allow the remote party to add to the commitment transaction.
uint32 remote_max_htlcs = 16;
public int getMaxLocalCsv()
Max local csv is the maximum csv delay we will allow for our own commitment transaction.
uint32 max_local_csv = 17;
getMaxLocalCsv
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setMaxLocalCsv(int value)
Max local csv is the maximum csv delay we will allow for our own commitment transaction.
uint32 max_local_csv = 17;
value
- The maxLocalCsv to set.public LightningApi.OpenChannelRequest.Builder clearMaxLocalCsv()
Max local csv is the maximum csv delay we will allow for our own commitment transaction.
uint32 max_local_csv = 17;
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 = 18;
getCommitmentTypeValue
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 18;
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 = 18;
getCommitmentType
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 18;
value
- The commitmentType to set.public LightningApi.OpenChannelRequest.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 = 18;
public boolean getZeroConf()
If this is true, then a zero-conf channel open will be attempted.
bool zero_conf = 19;
getZeroConf
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setZeroConf(boolean value)
If this is true, then a zero-conf channel open will be attempted.
bool zero_conf = 19;
value
- The zeroConf to set.public LightningApi.OpenChannelRequest.Builder clearZeroConf()
If this is true, then a zero-conf channel open will be attempted.
bool zero_conf = 19;
public boolean getScidAlias()
If this is true, then an option-scid-alias channel-type open will be attempted.
bool scid_alias = 20;
getScidAlias
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setScidAlias(boolean value)
If this is true, then an option-scid-alias channel-type open will be attempted.
bool scid_alias = 20;
value
- The scidAlias to set.public LightningApi.OpenChannelRequest.Builder clearScidAlias()
If this is true, then an option-scid-alias channel-type open will be attempted.
bool scid_alias = 20;
public long getBaseFee()
The base fee charged regardless of the number of milli-satoshis sent.
uint64 base_fee = 21;
getBaseFee
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setBaseFee(long value)
The base fee charged regardless of the number of milli-satoshis sent.
uint64 base_fee = 21;
value
- The baseFee to set.public LightningApi.OpenChannelRequest.Builder clearBaseFee()
The base fee charged regardless of the number of milli-satoshis sent.
uint64 base_fee = 21;
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 = 22;
getFeeRate
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 22;
value
- The feeRate to set.public LightningApi.OpenChannelRequest.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 = 22;
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 = 23;
getUseBaseFee
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 23;
value
- The useBaseFee to set.public LightningApi.OpenChannelRequest.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 = 23;
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 = 24;
getUseFeeRate
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 24;
value
- The useFeeRate to set.public LightningApi.OpenChannelRequest.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 = 24;
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 = 25;
getRemoteChanReserveSat
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 25;
value
- The remoteChanReserveSat to set.public LightningApi.OpenChannelRequest.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 = 25;
public boolean getFundMax()
If set, then lnd will attempt to commit all the coins under control of the internal wallet to open the channel, and the LocalFundingAmount field must be zero and is ignored.
bool fund_max = 26;
getFundMax
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setFundMax(boolean value)
If set, then lnd will attempt to commit all the coins under control of the internal wallet to open the channel, and the LocalFundingAmount field must be zero and is ignored.
bool fund_max = 26;
value
- The fundMax to set.public LightningApi.OpenChannelRequest.Builder clearFundMax()
If set, then lnd will attempt to commit all the coins under control of the internal wallet to open the channel, and the LocalFundingAmount field must be zero and is ignored.
bool fund_max = 26;
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 = 27;
getMemo
in interface LightningApi.OpenChannelRequestOrBuilder
public 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 = 27;
getMemoBytes
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.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 = 27;
value
- The memo to set.public LightningApi.OpenChannelRequest.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 = 27;
public LightningApi.OpenChannelRequest.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 = 27;
value
- The bytes for memo to set.public java.util.List<LightningApi.OutPoint> getOutpointsList()
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
getOutpointsList
in interface LightningApi.OpenChannelRequestOrBuilder
public int getOutpointsCount()
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
getOutpointsCount
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OutPoint getOutpoints(int index)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
getOutpoints
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setOutpoints(int index, LightningApi.OutPoint value)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public LightningApi.OpenChannelRequest.Builder setOutpoints(int index, LightningApi.OutPoint.Builder builderForValue)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public LightningApi.OpenChannelRequest.Builder addOutpoints(LightningApi.OutPoint value)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public LightningApi.OpenChannelRequest.Builder addOutpoints(int index, LightningApi.OutPoint value)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public LightningApi.OpenChannelRequest.Builder addOutpoints(LightningApi.OutPoint.Builder builderForValue)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public LightningApi.OpenChannelRequest.Builder addOutpoints(int index, LightningApi.OutPoint.Builder builderForValue)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public LightningApi.OpenChannelRequest.Builder addAllOutpoints(java.lang.Iterable<? extends LightningApi.OutPoint> values)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public LightningApi.OpenChannelRequest.Builder clearOutpoints()
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public LightningApi.OpenChannelRequest.Builder removeOutpoints(int index)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public LightningApi.OutPoint.Builder getOutpointsBuilder(int index)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public LightningApi.OutPointOrBuilder getOutpointsOrBuilder(int index)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
getOutpointsOrBuilder
in interface LightningApi.OpenChannelRequestOrBuilder
public java.util.List<? extends LightningApi.OutPointOrBuilder> getOutpointsOrBuilderList()
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
getOutpointsOrBuilderList
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OutPoint.Builder addOutpointsBuilder()
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public LightningApi.OutPoint.Builder addOutpointsBuilder(int index)
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public java.util.List<LightningApi.OutPoint.Builder> getOutpointsBuilderList()
A list of selected outpoints that are allocated for channel funding.
repeated .lnrpc.OutPoint outpoints = 28;
public final LightningApi.OpenChannelRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder>
public final LightningApi.OpenChannelRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder>