public static final class LightningApi.ReadyForPsbtFunding.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ReadyForPsbtFunding.Builder> implements LightningApi.ReadyForPsbtFundingOrBuilder
lnrpc.ReadyForPsbtFunding| Modifier and Type | Method and Description |
|---|---|
LightningApi.ReadyForPsbtFunding |
build() |
LightningApi.ReadyForPsbtFunding |
buildPartial() |
LightningApi.ReadyForPsbtFunding.Builder |
clear() |
LightningApi.ReadyForPsbtFunding.Builder |
clearFundingAddress()
The P2WSH address of the channel funding multisig address that the below
specified amount in satoshis needs to be sent to.
|
LightningApi.ReadyForPsbtFunding.Builder |
clearFundingAmount()
The exact amount in satoshis that needs to be sent to the above address to
fund the pending channel.
|
LightningApi.ReadyForPsbtFunding.Builder |
clearPsbt()
A raw PSBT that contains the pending channel output.
|
LightningApi.ReadyForPsbtFunding |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getFundingAddress()
The P2WSH address of the channel funding multisig address that the below
specified amount in satoshis needs to be sent to.
|
com.google.protobuf.ByteString |
getFundingAddressBytes()
The P2WSH address of the channel funding multisig address that the below
specified amount in satoshis needs to be sent to.
|
long |
getFundingAmount()
The exact amount in satoshis that needs to be sent to the above address to
fund the pending channel.
|
com.google.protobuf.ByteString |
getPsbt()
A raw PSBT that contains the pending channel output.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ReadyForPsbtFunding.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ReadyForPsbtFunding.Builder |
mergeFrom(LightningApi.ReadyForPsbtFunding other) |
LightningApi.ReadyForPsbtFunding.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ReadyForPsbtFunding.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ReadyForPsbtFunding.Builder |
setFundingAddress(java.lang.String value)
The P2WSH address of the channel funding multisig address that the below
specified amount in satoshis needs to be sent to.
|
LightningApi.ReadyForPsbtFunding.Builder |
setFundingAddressBytes(com.google.protobuf.ByteString value)
The P2WSH address of the channel funding multisig address that the below
specified amount in satoshis needs to be sent to.
|
LightningApi.ReadyForPsbtFunding.Builder |
setFundingAmount(long value)
The exact amount in satoshis that needs to be sent to the above address to
fund the pending channel.
|
LightningApi.ReadyForPsbtFunding.Builder |
setPsbt(com.google.protobuf.ByteString value)
A raw PSBT that contains the pending channel output.
|
LightningApi.ReadyForPsbtFunding.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ReadyForPsbtFunding.Builder>public LightningApi.ReadyForPsbtFunding.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.ReadyForPsbtFunding.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.ReadyForPsbtFunding.Builder>public LightningApi.ReadyForPsbtFunding getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.ReadyForPsbtFunding build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ReadyForPsbtFunding buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ReadyForPsbtFunding.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ReadyForPsbtFunding.Builder>public LightningApi.ReadyForPsbtFunding.Builder mergeFrom(LightningApi.ReadyForPsbtFunding other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ReadyForPsbtFunding.Builder>public LightningApi.ReadyForPsbtFunding.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.ReadyForPsbtFunding.Builder>java.io.IOExceptionpublic java.lang.String getFundingAddress()
The P2WSH address of the channel funding multisig address that the below specified amount in satoshis needs to be sent to.
string funding_address = 1;getFundingAddress in interface LightningApi.ReadyForPsbtFundingOrBuilderpublic com.google.protobuf.ByteString getFundingAddressBytes()
The P2WSH address of the channel funding multisig address that the below specified amount in satoshis needs to be sent to.
string funding_address = 1;getFundingAddressBytes in interface LightningApi.ReadyForPsbtFundingOrBuilderpublic LightningApi.ReadyForPsbtFunding.Builder setFundingAddress(java.lang.String value)
The P2WSH address of the channel funding multisig address that the below specified amount in satoshis needs to be sent to.
string funding_address = 1;value - The fundingAddress to set.public LightningApi.ReadyForPsbtFunding.Builder clearFundingAddress()
The P2WSH address of the channel funding multisig address that the below specified amount in satoshis needs to be sent to.
string funding_address = 1;public LightningApi.ReadyForPsbtFunding.Builder setFundingAddressBytes(com.google.protobuf.ByteString value)
The P2WSH address of the channel funding multisig address that the below specified amount in satoshis needs to be sent to.
string funding_address = 1;value - The bytes for fundingAddress to set.public long getFundingAmount()
The exact amount in satoshis that needs to be sent to the above address to fund the pending channel.
int64 funding_amount = 2;getFundingAmount in interface LightningApi.ReadyForPsbtFundingOrBuilderpublic LightningApi.ReadyForPsbtFunding.Builder setFundingAmount(long value)
The exact amount in satoshis that needs to be sent to the above address to fund the pending channel.
int64 funding_amount = 2;value - The fundingAmount to set.public LightningApi.ReadyForPsbtFunding.Builder clearFundingAmount()
The exact amount in satoshis that needs to be sent to the above address to fund the pending channel.
int64 funding_amount = 2;public com.google.protobuf.ByteString getPsbt()
A raw PSBT that contains the pending channel output. If a base PSBT was provided in the PsbtShim, this is the base PSBT with one additional output. If no base PSBT was specified, this is an otherwise empty PSBT with exactly one output.
bytes psbt = 3;getPsbt in interface LightningApi.ReadyForPsbtFundingOrBuilderpublic LightningApi.ReadyForPsbtFunding.Builder setPsbt(com.google.protobuf.ByteString value)
A raw PSBT that contains the pending channel output. If a base PSBT was provided in the PsbtShim, this is the base PSBT with one additional output. If no base PSBT was specified, this is an otherwise empty PSBT with exactly one output.
bytes psbt = 3;value - The psbt to set.public LightningApi.ReadyForPsbtFunding.Builder clearPsbt()
A raw PSBT that contains the pending channel output. If a base PSBT was provided in the PsbtShim, this is the base PSBT with one additional output. If no base PSBT was specified, this is an otherwise empty PSBT with exactly one output.
bytes psbt = 3;public final LightningApi.ReadyForPsbtFunding.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ReadyForPsbtFunding.Builder>public final LightningApi.ReadyForPsbtFunding.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ReadyForPsbtFunding.Builder>