public static final class LightningApi.PsbtShim.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PsbtShim.Builder> implements LightningApi.PsbtShimOrBuilder
lnrpc.PsbtShim| Modifier and Type | Method and Description |
|---|---|
LightningApi.PsbtShim |
build() |
LightningApi.PsbtShim |
buildPartial() |
LightningApi.PsbtShim.Builder |
clear() |
LightningApi.PsbtShim.Builder |
clearBasePsbt()
An optional base PSBT the new channel output will be added to.
|
LightningApi.PsbtShim.Builder |
clearNoPublish()
If a channel should be part of a batch (multiple channel openings in one
transaction), it can be dangerous if the whole batch transaction is
published too early before all channel opening negotiations are completed.
|
LightningApi.PsbtShim.Builder |
clearPendingChanId()
A unique identifier of 32 random bytes that will be used as the pending
channel ID to identify the PSBT state machine when interacting with it and
on the wire protocol to initiate the funding request.
|
com.google.protobuf.ByteString |
getBasePsbt()
An optional base PSBT the new channel output will be added to.
|
LightningApi.PsbtShim |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getNoPublish()
If a channel should be part of a batch (multiple channel openings in one
transaction), it can be dangerous if the whole batch transaction is
published too early before all channel opening negotiations are completed.
|
com.google.protobuf.ByteString |
getPendingChanId()
A unique identifier of 32 random bytes that will be used as the pending
channel ID to identify the PSBT state machine when interacting with it and
on the wire protocol to initiate the funding request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.PsbtShim.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.PsbtShim.Builder |
mergeFrom(LightningApi.PsbtShim other) |
LightningApi.PsbtShim.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.PsbtShim.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.PsbtShim.Builder |
setBasePsbt(com.google.protobuf.ByteString value)
An optional base PSBT the new channel output will be added to.
|
LightningApi.PsbtShim.Builder |
setNoPublish(boolean value)
If a channel should be part of a batch (multiple channel openings in one
transaction), it can be dangerous if the whole batch transaction is
published too early before all channel opening negotiations are completed.
|
LightningApi.PsbtShim.Builder |
setPendingChanId(com.google.protobuf.ByteString value)
A unique identifier of 32 random bytes that will be used as the pending
channel ID to identify the PSBT state machine when interacting with it and
on the wire protocol to initiate the funding request.
|
LightningApi.PsbtShim.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.PsbtShim.Builder>public LightningApi.PsbtShim.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.PsbtShim.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.PsbtShim.Builder>public LightningApi.PsbtShim getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.PsbtShim build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PsbtShim buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PsbtShim.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.PsbtShim.Builder>public LightningApi.PsbtShim.Builder mergeFrom(LightningApi.PsbtShim other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PsbtShim.Builder>public LightningApi.PsbtShim.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.PsbtShim.Builder>java.io.IOExceptionpublic com.google.protobuf.ByteString getPendingChanId()
A unique identifier of 32 random bytes that will be used as the pending channel ID to identify the PSBT state machine when interacting with it and on the wire protocol to initiate the funding request.
bytes pending_chan_id = 1;getPendingChanId in interface LightningApi.PsbtShimOrBuilderpublic LightningApi.PsbtShim.Builder setPendingChanId(com.google.protobuf.ByteString value)
A unique identifier of 32 random bytes that will be used as the pending channel ID to identify the PSBT state machine when interacting with it and on the wire protocol to initiate the funding request.
bytes pending_chan_id = 1;value - The pendingChanId to set.public LightningApi.PsbtShim.Builder clearPendingChanId()
A unique identifier of 32 random bytes that will be used as the pending channel ID to identify the PSBT state machine when interacting with it and on the wire protocol to initiate the funding request.
bytes pending_chan_id = 1;public com.google.protobuf.ByteString getBasePsbt()
An optional base PSBT the new channel output will be added to. If this is non-empty, it must be a binary serialized PSBT.
bytes base_psbt = 2;getBasePsbt in interface LightningApi.PsbtShimOrBuilderpublic LightningApi.PsbtShim.Builder setBasePsbt(com.google.protobuf.ByteString value)
An optional base PSBT the new channel output will be added to. If this is non-empty, it must be a binary serialized PSBT.
bytes base_psbt = 2;value - The basePsbt to set.public LightningApi.PsbtShim.Builder clearBasePsbt()
An optional base PSBT the new channel output will be added to. If this is non-empty, it must be a binary serialized PSBT.
bytes base_psbt = 2;public boolean getNoPublish()
If a channel should be part of a batch (multiple channel openings in one transaction), it can be dangerous if the whole batch transaction is published too early before all channel opening negotiations are completed. This flag prevents this particular channel from broadcasting the transaction after the negotiation with the remote peer. In a batch of channel openings this flag should be set to true for every channel but the very last.
bool no_publish = 3;getNoPublish in interface LightningApi.PsbtShimOrBuilderpublic LightningApi.PsbtShim.Builder setNoPublish(boolean value)
If a channel should be part of a batch (multiple channel openings in one transaction), it can be dangerous if the whole batch transaction is published too early before all channel opening negotiations are completed. This flag prevents this particular channel from broadcasting the transaction after the negotiation with the remote peer. In a batch of channel openings this flag should be set to true for every channel but the very last.
bool no_publish = 3;value - The noPublish to set.public LightningApi.PsbtShim.Builder clearNoPublish()
If a channel should be part of a batch (multiple channel openings in one transaction), it can be dangerous if the whole batch transaction is published too early before all channel opening negotiations are completed. This flag prevents this particular channel from broadcasting the transaction after the negotiation with the remote peer. In a batch of channel openings this flag should be set to true for every channel but the very last.
bool no_publish = 3;public final LightningApi.PsbtShim.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PsbtShim.Builder>public final LightningApi.PsbtShim.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PsbtShim.Builder>