public static final class LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder> implements LightningApi.PendingChannelsResponse.PendingOpenChannelOrBuilder
lnrpc.PendingChannelsResponse.PendingOpenChanneladdRepeatedField, 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.PendingChannelsResponse.PendingOpenChannel.Builder>public LightningApi.PendingChannelsResponse.PendingOpenChannel.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.PendingChannelsResponse.PendingOpenChannel.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.PendingChannelsResponse.PendingOpenChannel.Builder>public LightningApi.PendingChannelsResponse.PendingOpenChannel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.PendingChannelsResponse.PendingOpenChannel build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PendingChannelsResponse.PendingOpenChannel buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder>public LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder mergeFrom(LightningApi.PendingChannelsResponse.PendingOpenChannel other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder>public LightningApi.PendingChannelsResponse.PendingOpenChannel.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.PendingChannelsResponse.PendingOpenChannel.Builder>java.io.IOExceptionpublic boolean hasChannel()
The pending channel
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;hasChannel in interface LightningApi.PendingChannelsResponse.PendingOpenChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel getChannel()
The pending channel
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;getChannel in interface LightningApi.PendingChannelsResponse.PendingOpenChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder setChannel(LightningApi.PendingChannelsResponse.PendingChannel value)
The pending channel
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;public LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder setChannel(LightningApi.PendingChannelsResponse.PendingChannel.Builder builderForValue)
The pending channel
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;public LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder mergeChannel(LightningApi.PendingChannelsResponse.PendingChannel value)
The pending channel
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;public LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder clearChannel()
The pending channel
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;public LightningApi.PendingChannelsResponse.PendingChannel.Builder getChannelBuilder()
The pending channel
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;public LightningApi.PendingChannelsResponse.PendingChannelOrBuilder getChannelOrBuilder()
The pending channel
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;getChannelOrBuilder in interface LightningApi.PendingChannelsResponse.PendingOpenChannelOrBuilderpublic long getCommitFee()
The amount calculated to be paid in fees for the current set of commitment transactions. The fee amount is persisted with the channel in order to allow the fee amount to be removed and recalculated with each channel state update, including updates that happen after a system restart.
int64 commit_fee = 4;getCommitFee in interface LightningApi.PendingChannelsResponse.PendingOpenChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder setCommitFee(long value)
The amount calculated to be paid in fees for the current set of commitment transactions. The fee amount is persisted with the channel in order to allow the fee amount to be removed and recalculated with each channel state update, including updates that happen after a system restart.
int64 commit_fee = 4;value - The commitFee to set.public LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder clearCommitFee()
The amount calculated to be paid in fees for the current set of commitment transactions. The fee amount is persisted with the channel in order to allow the fee amount to be removed and recalculated with each channel state update, including updates that happen after a system restart.
int64 commit_fee = 4;public long getCommitWeight()
The weight of the commitment transaction
int64 commit_weight = 5;getCommitWeight in interface LightningApi.PendingChannelsResponse.PendingOpenChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder setCommitWeight(long value)
The weight of the commitment transaction
int64 commit_weight = 5;value - The commitWeight to set.public LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder clearCommitWeight()
The weight of the commitment transaction
int64 commit_weight = 5;public long getFeePerKw()
The required number of satoshis per kilo-weight that the requester will pay at all times, for both the funding transaction and commitment transaction. This value can later be updated once the channel is open.
int64 fee_per_kw = 6;getFeePerKw in interface LightningApi.PendingChannelsResponse.PendingOpenChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder setFeePerKw(long value)
The required number of satoshis per kilo-weight that the requester will pay at all times, for both the funding transaction and commitment transaction. This value can later be updated once the channel is open.
int64 fee_per_kw = 6;value - The feePerKw to set.public LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder clearFeePerKw()
The required number of satoshis per kilo-weight that the requester will pay at all times, for both the funding transaction and commitment transaction. This value can later be updated once the channel is open.
int64 fee_per_kw = 6;public int getFundingExpiryBlocks()
The number of blocks until the funding transaction is considered expired. If this value gets close to zero, there is a risk that the channel funding will be canceled by the channel responder. The channel should be fee bumped using CPFP (see walletrpc.BumpFee) to ensure that the channel confirms in time. Otherwise a force-close will be necessary if the channel confirms after the funding transaction expires. A negative value means the channel responder has very likely canceled the funding and the channel will never become fully operational.
int32 funding_expiry_blocks = 3;getFundingExpiryBlocks in interface LightningApi.PendingChannelsResponse.PendingOpenChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder setFundingExpiryBlocks(int value)
The number of blocks until the funding transaction is considered expired. If this value gets close to zero, there is a risk that the channel funding will be canceled by the channel responder. The channel should be fee bumped using CPFP (see walletrpc.BumpFee) to ensure that the channel confirms in time. Otherwise a force-close will be necessary if the channel confirms after the funding transaction expires. A negative value means the channel responder has very likely canceled the funding and the channel will never become fully operational.
int32 funding_expiry_blocks = 3;value - The fundingExpiryBlocks to set.public LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder clearFundingExpiryBlocks()
The number of blocks until the funding transaction is considered expired. If this value gets close to zero, there is a risk that the channel funding will be canceled by the channel responder. The channel should be fee bumped using CPFP (see walletrpc.BumpFee) to ensure that the channel confirms in time. Otherwise a force-close will be necessary if the channel confirms after the funding transaction expires. A negative value means the channel responder has very likely canceled the funding and the channel will never become fully operational.
int32 funding_expiry_blocks = 3;public final LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder>public final LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.PendingOpenChannel.Builder>