public static final class LightningApi.Resolution.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Resolution.Builder> implements LightningApi.ResolutionOrBuilder
lnrpc.Resolution| Modifier and Type | Method and Description |
|---|---|
LightningApi.Resolution |
build() |
LightningApi.Resolution |
buildPartial() |
LightningApi.Resolution.Builder |
clear() |
LightningApi.Resolution.Builder |
clearAmountSat()
The amount that was claimed by the resolution.
|
LightningApi.Resolution.Builder |
clearOutcome()
The outcome of our on chain action that resolved the outpoint.
|
LightningApi.Resolution.Builder |
clearOutpoint()
The outpoint that was spent by the resolution.
|
LightningApi.Resolution.Builder |
clearResolutionType()
The type of output we are resolving.
|
LightningApi.Resolution.Builder |
clearSweepTxid()
The hex-encoded transaction ID of the sweep transaction that spent the
output.
|
long |
getAmountSat()
The amount that was claimed by the resolution.
|
LightningApi.Resolution |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.ResolutionOutcome |
getOutcome()
The outcome of our on chain action that resolved the outpoint.
|
int |
getOutcomeValue()
The outcome of our on chain action that resolved the outpoint.
|
LightningApi.OutPoint |
getOutpoint()
The outpoint that was spent by the resolution.
|
LightningApi.OutPoint.Builder |
getOutpointBuilder()
The outpoint that was spent by the resolution.
|
LightningApi.OutPointOrBuilder |
getOutpointOrBuilder()
The outpoint that was spent by the resolution.
|
LightningApi.ResolutionType |
getResolutionType()
The type of output we are resolving.
|
int |
getResolutionTypeValue()
The type of output we are resolving.
|
java.lang.String |
getSweepTxid()
The hex-encoded transaction ID of the sweep transaction that spent the
output.
|
com.google.protobuf.ByteString |
getSweepTxidBytes()
The hex-encoded transaction ID of the sweep transaction that spent the
output.
|
boolean |
hasOutpoint()
The outpoint that was spent by the resolution.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.Resolution.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.Resolution.Builder |
mergeFrom(LightningApi.Resolution other) |
LightningApi.Resolution.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.Resolution.Builder |
mergeOutpoint(LightningApi.OutPoint value)
The outpoint that was spent by the resolution.
|
LightningApi.Resolution.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.Resolution.Builder |
setAmountSat(long value)
The amount that was claimed by the resolution.
|
LightningApi.Resolution.Builder |
setOutcome(LightningApi.ResolutionOutcome value)
The outcome of our on chain action that resolved the outpoint.
|
LightningApi.Resolution.Builder |
setOutcomeValue(int value)
The outcome of our on chain action that resolved the outpoint.
|
LightningApi.Resolution.Builder |
setOutpoint(LightningApi.OutPoint.Builder builderForValue)
The outpoint that was spent by the resolution.
|
LightningApi.Resolution.Builder |
setOutpoint(LightningApi.OutPoint value)
The outpoint that was spent by the resolution.
|
LightningApi.Resolution.Builder |
setResolutionType(LightningApi.ResolutionType value)
The type of output we are resolving.
|
LightningApi.Resolution.Builder |
setResolutionTypeValue(int value)
The type of output we are resolving.
|
LightningApi.Resolution.Builder |
setSweepTxid(java.lang.String value)
The hex-encoded transaction ID of the sweep transaction that spent the
output.
|
LightningApi.Resolution.Builder |
setSweepTxidBytes(com.google.protobuf.ByteString value)
The hex-encoded transaction ID of the sweep transaction that spent the
output.
|
LightningApi.Resolution.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.Resolution.Builder>public LightningApi.Resolution.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.Resolution.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.Resolution.Builder>public LightningApi.Resolution getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.Resolution build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.Resolution buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.Resolution.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.Resolution.Builder>public LightningApi.Resolution.Builder mergeFrom(LightningApi.Resolution other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Resolution.Builder>public LightningApi.Resolution.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.Resolution.Builder>java.io.IOExceptionpublic int getResolutionTypeValue()
The type of output we are resolving.
.lnrpc.ResolutionType resolution_type = 1;getResolutionTypeValue in interface LightningApi.ResolutionOrBuilderpublic LightningApi.Resolution.Builder setResolutionTypeValue(int value)
The type of output we are resolving.
.lnrpc.ResolutionType resolution_type = 1;value - The enum numeric value on the wire for resolutionType to set.public LightningApi.ResolutionType getResolutionType()
The type of output we are resolving.
.lnrpc.ResolutionType resolution_type = 1;getResolutionType in interface LightningApi.ResolutionOrBuilderpublic LightningApi.Resolution.Builder setResolutionType(LightningApi.ResolutionType value)
The type of output we are resolving.
.lnrpc.ResolutionType resolution_type = 1;value - The resolutionType to set.public LightningApi.Resolution.Builder clearResolutionType()
The type of output we are resolving.
.lnrpc.ResolutionType resolution_type = 1;public int getOutcomeValue()
The outcome of our on chain action that resolved the outpoint.
.lnrpc.ResolutionOutcome outcome = 2;getOutcomeValue in interface LightningApi.ResolutionOrBuilderpublic LightningApi.Resolution.Builder setOutcomeValue(int value)
The outcome of our on chain action that resolved the outpoint.
.lnrpc.ResolutionOutcome outcome = 2;value - The enum numeric value on the wire for outcome to set.public LightningApi.ResolutionOutcome getOutcome()
The outcome of our on chain action that resolved the outpoint.
.lnrpc.ResolutionOutcome outcome = 2;getOutcome in interface LightningApi.ResolutionOrBuilderpublic LightningApi.Resolution.Builder setOutcome(LightningApi.ResolutionOutcome value)
The outcome of our on chain action that resolved the outpoint.
.lnrpc.ResolutionOutcome outcome = 2;value - The outcome to set.public LightningApi.Resolution.Builder clearOutcome()
The outcome of our on chain action that resolved the outpoint.
.lnrpc.ResolutionOutcome outcome = 2;public boolean hasOutpoint()
The outpoint that was spent by the resolution.
.lnrpc.OutPoint outpoint = 3;hasOutpoint in interface LightningApi.ResolutionOrBuilderpublic LightningApi.OutPoint getOutpoint()
The outpoint that was spent by the resolution.
.lnrpc.OutPoint outpoint = 3;getOutpoint in interface LightningApi.ResolutionOrBuilderpublic LightningApi.Resolution.Builder setOutpoint(LightningApi.OutPoint value)
The outpoint that was spent by the resolution.
.lnrpc.OutPoint outpoint = 3;public LightningApi.Resolution.Builder setOutpoint(LightningApi.OutPoint.Builder builderForValue)
The outpoint that was spent by the resolution.
.lnrpc.OutPoint outpoint = 3;public LightningApi.Resolution.Builder mergeOutpoint(LightningApi.OutPoint value)
The outpoint that was spent by the resolution.
.lnrpc.OutPoint outpoint = 3;public LightningApi.Resolution.Builder clearOutpoint()
The outpoint that was spent by the resolution.
.lnrpc.OutPoint outpoint = 3;public LightningApi.OutPoint.Builder getOutpointBuilder()
The outpoint that was spent by the resolution.
.lnrpc.OutPoint outpoint = 3;public LightningApi.OutPointOrBuilder getOutpointOrBuilder()
The outpoint that was spent by the resolution.
.lnrpc.OutPoint outpoint = 3;getOutpointOrBuilder in interface LightningApi.ResolutionOrBuilderpublic long getAmountSat()
The amount that was claimed by the resolution.
uint64 amount_sat = 4;getAmountSat in interface LightningApi.ResolutionOrBuilderpublic LightningApi.Resolution.Builder setAmountSat(long value)
The amount that was claimed by the resolution.
uint64 amount_sat = 4;value - The amountSat to set.public LightningApi.Resolution.Builder clearAmountSat()
The amount that was claimed by the resolution.
uint64 amount_sat = 4;public java.lang.String getSweepTxid()
The hex-encoded transaction ID of the sweep transaction that spent the output.
string sweep_txid = 5;getSweepTxid in interface LightningApi.ResolutionOrBuilderpublic com.google.protobuf.ByteString getSweepTxidBytes()
The hex-encoded transaction ID of the sweep transaction that spent the output.
string sweep_txid = 5;getSweepTxidBytes in interface LightningApi.ResolutionOrBuilderpublic LightningApi.Resolution.Builder setSweepTxid(java.lang.String value)
The hex-encoded transaction ID of the sweep transaction that spent the output.
string sweep_txid = 5;value - The sweepTxid to set.public LightningApi.Resolution.Builder clearSweepTxid()
The hex-encoded transaction ID of the sweep transaction that spent the output.
string sweep_txid = 5;public LightningApi.Resolution.Builder setSweepTxidBytes(com.google.protobuf.ByteString value)
The hex-encoded transaction ID of the sweep transaction that spent the output.
string sweep_txid = 5;value - The bytes for sweepTxid to set.public final LightningApi.Resolution.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Resolution.Builder>public final LightningApi.Resolution.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Resolution.Builder>