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 |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
LightningApi.OpenChannelRequest |
build() |
LightningApi.OpenChannelRequest |
buildPartial() |
LightningApi.OpenChannelRequest.Builder |
clear() |
LightningApi.OpenChannelRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LightningApi.OpenChannelRequest.Builder |
clearLocalFundingAmount()
/ The number of satoshis the wallet should commit to the channel
|
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()
/ The hex encoded pubkey of the node to open a channel with
|
LightningApi.OpenChannelRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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 |
clearRemoteCsvDelay()
/ The delay we require on the remote's commitment transaction.
|
LightningApi.OpenChannelRequest.Builder |
clearSatPerByte()
/ A manual fee rate set in sat/byte that should be used when crafting the funding transaction.
|
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 |
clone() |
LightningApi.OpenChannelRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getLocalFundingAmount()
/ The number of satoshis the wallet should commit to the channel
|
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()
/ The hex encoded pubkey of the node to open a channel with
|
com.google.protobuf.ByteString |
getNodePubkeyStringBytes()
/ The hex encoded pubkey of the node to open a channel with
|
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
|
int |
getRemoteCsvDelay()
/ The delay we require on the remote's commitment transaction.
|
long |
getSatPerByte()
/ A manual fee rate set in sat/byte that should be used when crafting the funding transaction.
|
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.
|
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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.OpenChannelRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
LightningApi.OpenChannelRequest.Builder |
setLocalFundingAmount(long value)
/ The number of satoshis the wallet should commit to the channel
|
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)
/ The hex encoded pubkey of the node to open a channel with
|
LightningApi.OpenChannelRequest.Builder |
setNodePubkeyStringBytes(com.google.protobuf.ByteString value)
/ The hex encoded pubkey of the node to open a channel with
|
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 |
setRemoteCsvDelay(int value)
/ The delay we require on the remote's commitment transaction.
|
LightningApi.OpenChannelRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
LightningApi.OpenChannelRequest.Builder |
setSatPerByte(long value)
/ A manual fee rate set in sat/byte that should be used when crafting the funding transaction.
|
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) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, 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 clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder>
public LightningApi.OpenChannelRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder>
public LightningApi.OpenChannelRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder>
public LightningApi.OpenChannelRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder>
public LightningApi.OpenChannelRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.Builder>
public LightningApi.OpenChannelRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OpenChannelRequest.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 com.google.protobuf.ByteString getNodePubkey()
/ The pubkey of the node to open a channel with
bytes node_pubkey = 2[json_name = "node_pubkey"];
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
bytes node_pubkey = 2[json_name = "node_pubkey"];
public LightningApi.OpenChannelRequest.Builder clearNodePubkey()
/ The pubkey of the node to open a channel with
bytes node_pubkey = 2[json_name = "node_pubkey"];
public java.lang.String getNodePubkeyString()
/ The hex encoded pubkey of the node to open a channel with
string node_pubkey_string = 3[json_name = "node_pubkey_string"];
getNodePubkeyString
in interface LightningApi.OpenChannelRequestOrBuilder
public com.google.protobuf.ByteString getNodePubkeyStringBytes()
/ The hex encoded pubkey of the node to open a channel with
string node_pubkey_string = 3[json_name = "node_pubkey_string"];
getNodePubkeyStringBytes
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setNodePubkeyString(java.lang.String value)
/ The hex encoded pubkey of the node to open a channel with
string node_pubkey_string = 3[json_name = "node_pubkey_string"];
public LightningApi.OpenChannelRequest.Builder clearNodePubkeyString()
/ The hex encoded pubkey of the node to open a channel with
string node_pubkey_string = 3[json_name = "node_pubkey_string"];
public LightningApi.OpenChannelRequest.Builder setNodePubkeyStringBytes(com.google.protobuf.ByteString value)
/ The hex encoded pubkey of the node to open a channel with
string node_pubkey_string = 3[json_name = "node_pubkey_string"];
public long getLocalFundingAmount()
/ The number of satoshis the wallet should commit to the channel
int64 local_funding_amount = 4[json_name = "local_funding_amount"];
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[json_name = "local_funding_amount"];
public LightningApi.OpenChannelRequest.Builder clearLocalFundingAmount()
/ The number of satoshis the wallet should commit to the channel
int64 local_funding_amount = 4[json_name = "local_funding_amount"];
public long getPushSat()
/ The number of satoshis to push to the remote side as part of the initial commitment state
int64 push_sat = 5[json_name = "push_sat"];
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[json_name = "push_sat"];
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[json_name = "push_sat"];
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;
public LightningApi.OpenChannelRequest.Builder clearTargetConf()
/ The target number of blocks that the funding transaction should be confirmed by.
int32 target_conf = 6;
public long getSatPerByte()
/ A manual fee rate set in sat/byte that should be used when crafting the funding transaction.
int64 sat_per_byte = 7;
getSatPerByte
in interface LightningApi.OpenChannelRequestOrBuilder
public LightningApi.OpenChannelRequest.Builder setSatPerByte(long value)
/ A manual fee rate set in sat/byte that should be used when crafting the funding transaction.
int64 sat_per_byte = 7;
public LightningApi.OpenChannelRequest.Builder clearSatPerByte()
/ A manual fee rate set in sat/byte that should be used when crafting the funding transaction.
int64 sat_per_byte = 7;
public boolean getPrivate()
/ Whether this channel should be private, not announced to the greater network.
bool private = 8[json_name = "private"];
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[json_name = "private"];
public LightningApi.OpenChannelRequest.Builder clearPrivate()
/ Whether this channel should be private, not announced to the greater network.
bool private = 8[json_name = "private"];
public long getMinHtlcMsat()
/ The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
int64 min_htlc_msat = 9[json_name = "min_htlc_msat"];
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[json_name = "min_htlc_msat"];
public LightningApi.OpenChannelRequest.Builder clearMinHtlcMsat()
/ The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
int64 min_htlc_msat = 9[json_name = "min_htlc_msat"];
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[json_name = "remote_csv_delay"];
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[json_name = "remote_csv_delay"];
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[json_name = "remote_csv_delay"];
public int getMinConfs()
/ The minimum number of confirmations each one of your outputs used for the funding transaction must satisfy.
int32 min_confs = 11[json_name = "min_confs"];
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[json_name = "min_confs"];
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[json_name = "min_confs"];
public boolean getSpendUnconfirmed()
/ Whether unconfirmed outputs should be used as inputs for the funding transaction.
bool spend_unconfirmed = 12[json_name = "spend_unconfirmed"];
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[json_name = "spend_unconfirmed"];
public LightningApi.OpenChannelRequest.Builder clearSpendUnconfirmed()
/ Whether unconfirmed outputs should be used as inputs for the funding transaction.
bool spend_unconfirmed = 12[json_name = "spend_unconfirmed"];
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>