public static final class WalletKitOuterClass.PendingSweep.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.PendingSweep.Builder> implements WalletKitOuterClass.PendingSweepOrBuilder
walletrpc.PendingSweep| Modifier and Type | Method and Description |
|---|---|
WalletKitOuterClass.PendingSweep |
build() |
WalletKitOuterClass.PendingSweep |
buildPartial() |
WalletKitOuterClass.PendingSweep.Builder |
clear() |
WalletKitOuterClass.PendingSweep.Builder |
clearAmountSat()
The value of the output we're attempting to sweep.
|
WalletKitOuterClass.PendingSweep.Builder |
clearBroadcastAttempts()
The number of broadcast attempts we've made to sweep the output.
|
WalletKitOuterClass.PendingSweep.Builder |
clearForce()
Whether this input must be force-swept.
|
WalletKitOuterClass.PendingSweep.Builder |
clearNextBroadcastHeight()
The next height of the chain at which we'll attempt to broadcast the
sweep transaction of the output.
|
WalletKitOuterClass.PendingSweep.Builder |
clearOutpoint()
The outpoint of the output we're attempting to sweep.
|
WalletKitOuterClass.PendingSweep.Builder |
clearRequestedConfTarget()
The requested confirmation target for this output.
|
WalletKitOuterClass.PendingSweep.Builder |
clearRequestedSatPerByte()
Deprecated.
walletrpc.PendingSweep.requested_sat_per_byte is deprecated.
See wallet.kit.proto;l=977
|
WalletKitOuterClass.PendingSweep.Builder |
clearRequestedSatPerVbyte()
The requested fee rate, expressed in sat/vbyte, for this output.
|
WalletKitOuterClass.PendingSweep.Builder |
clearSatPerByte()
Deprecated.
walletrpc.PendingSweep.sat_per_byte is deprecated.
See wallet.kit.proto;l=961
|
WalletKitOuterClass.PendingSweep.Builder |
clearSatPerVbyte()
The fee rate we'll use to sweep the output, expressed in sat/vbyte.
|
WalletKitOuterClass.PendingSweep.Builder |
clearWitnessType()
The witness type of the output we're attempting to sweep.
|
int |
getAmountSat()
The value of the output we're attempting to sweep.
|
int |
getBroadcastAttempts()
The number of broadcast attempts we've made to sweep the output.
|
WalletKitOuterClass.PendingSweep |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getForce()
Whether this input must be force-swept.
|
int |
getNextBroadcastHeight()
The next height of the chain at which we'll attempt to broadcast the
sweep transaction of the output.
|
LightningApi.OutPoint |
getOutpoint()
The outpoint of the output we're attempting to sweep.
|
LightningApi.OutPoint.Builder |
getOutpointBuilder()
The outpoint of the output we're attempting to sweep.
|
LightningApi.OutPointOrBuilder |
getOutpointOrBuilder()
The outpoint of the output we're attempting to sweep.
|
int |
getRequestedConfTarget()
The requested confirmation target for this output.
|
int |
getRequestedSatPerByte()
Deprecated.
walletrpc.PendingSweep.requested_sat_per_byte is deprecated.
See wallet.kit.proto;l=977
|
long |
getRequestedSatPerVbyte()
The requested fee rate, expressed in sat/vbyte, for this output.
|
int |
getSatPerByte()
Deprecated.
walletrpc.PendingSweep.sat_per_byte is deprecated.
See wallet.kit.proto;l=961
|
long |
getSatPerVbyte()
The fee rate we'll use to sweep the output, expressed in sat/vbyte.
|
WalletKitOuterClass.WitnessType |
getWitnessType()
The witness type of the output we're attempting to sweep.
|
int |
getWitnessTypeValue()
The witness type of the output we're attempting to sweep.
|
boolean |
hasOutpoint()
The outpoint of the output we're attempting to sweep.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WalletKitOuterClass.PendingSweep.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WalletKitOuterClass.PendingSweep.Builder |
mergeFrom(com.google.protobuf.Message other) |
WalletKitOuterClass.PendingSweep.Builder |
mergeFrom(WalletKitOuterClass.PendingSweep other) |
WalletKitOuterClass.PendingSweep.Builder |
mergeOutpoint(LightningApi.OutPoint value)
The outpoint of the output we're attempting to sweep.
|
WalletKitOuterClass.PendingSweep.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WalletKitOuterClass.PendingSweep.Builder |
setAmountSat(int value)
The value of the output we're attempting to sweep.
|
WalletKitOuterClass.PendingSweep.Builder |
setBroadcastAttempts(int value)
The number of broadcast attempts we've made to sweep the output.
|
WalletKitOuterClass.PendingSweep.Builder |
setForce(boolean value)
Whether this input must be force-swept.
|
WalletKitOuterClass.PendingSweep.Builder |
setNextBroadcastHeight(int value)
The next height of the chain at which we'll attempt to broadcast the
sweep transaction of the output.
|
WalletKitOuterClass.PendingSweep.Builder |
setOutpoint(LightningApi.OutPoint.Builder builderForValue)
The outpoint of the output we're attempting to sweep.
|
WalletKitOuterClass.PendingSweep.Builder |
setOutpoint(LightningApi.OutPoint value)
The outpoint of the output we're attempting to sweep.
|
WalletKitOuterClass.PendingSweep.Builder |
setRequestedConfTarget(int value)
The requested confirmation target for this output.
|
WalletKitOuterClass.PendingSweep.Builder |
setRequestedSatPerByte(int value)
Deprecated.
walletrpc.PendingSweep.requested_sat_per_byte is deprecated.
See wallet.kit.proto;l=977
|
WalletKitOuterClass.PendingSweep.Builder |
setRequestedSatPerVbyte(long value)
The requested fee rate, expressed in sat/vbyte, for this output.
|
WalletKitOuterClass.PendingSweep.Builder |
setSatPerByte(int value)
Deprecated.
walletrpc.PendingSweep.sat_per_byte is deprecated.
See wallet.kit.proto;l=961
|
WalletKitOuterClass.PendingSweep.Builder |
setSatPerVbyte(long value)
The fee rate we'll use to sweep the output, expressed in sat/vbyte.
|
WalletKitOuterClass.PendingSweep.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WalletKitOuterClass.PendingSweep.Builder |
setWitnessType(WalletKitOuterClass.WitnessType value)
The witness type of the output we're attempting to sweep.
|
WalletKitOuterClass.PendingSweep.Builder |
setWitnessTypeValue(int value)
The witness type of the output we're attempting to sweep.
|
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<WalletKitOuterClass.PendingSweep.Builder>public WalletKitOuterClass.PendingSweep.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.PendingSweep.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<WalletKitOuterClass.PendingSweep.Builder>public WalletKitOuterClass.PendingSweep getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WalletKitOuterClass.PendingSweep build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WalletKitOuterClass.PendingSweep buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WalletKitOuterClass.PendingSweep.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WalletKitOuterClass.PendingSweep.Builder>public WalletKitOuterClass.PendingSweep.Builder mergeFrom(WalletKitOuterClass.PendingSweep other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.PendingSweep.Builder>public WalletKitOuterClass.PendingSweep.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<WalletKitOuterClass.PendingSweep.Builder>java.io.IOExceptionpublic boolean hasOutpoint()
The outpoint of the output we're attempting to sweep.
.lnrpc.OutPoint outpoint = 1;hasOutpoint in interface WalletKitOuterClass.PendingSweepOrBuilderpublic LightningApi.OutPoint getOutpoint()
The outpoint of the output we're attempting to sweep.
.lnrpc.OutPoint outpoint = 1;getOutpoint in interface WalletKitOuterClass.PendingSweepOrBuilderpublic WalletKitOuterClass.PendingSweep.Builder setOutpoint(LightningApi.OutPoint value)
The outpoint of the output we're attempting to sweep.
.lnrpc.OutPoint outpoint = 1;public WalletKitOuterClass.PendingSweep.Builder setOutpoint(LightningApi.OutPoint.Builder builderForValue)
The outpoint of the output we're attempting to sweep.
.lnrpc.OutPoint outpoint = 1;public WalletKitOuterClass.PendingSweep.Builder mergeOutpoint(LightningApi.OutPoint value)
The outpoint of the output we're attempting to sweep.
.lnrpc.OutPoint outpoint = 1;public WalletKitOuterClass.PendingSweep.Builder clearOutpoint()
The outpoint of the output we're attempting to sweep.
.lnrpc.OutPoint outpoint = 1;public LightningApi.OutPoint.Builder getOutpointBuilder()
The outpoint of the output we're attempting to sweep.
.lnrpc.OutPoint outpoint = 1;public LightningApi.OutPointOrBuilder getOutpointOrBuilder()
The outpoint of the output we're attempting to sweep.
.lnrpc.OutPoint outpoint = 1;getOutpointOrBuilder in interface WalletKitOuterClass.PendingSweepOrBuilderpublic int getWitnessTypeValue()
The witness type of the output we're attempting to sweep.
.walletrpc.WitnessType witness_type = 2;getWitnessTypeValue in interface WalletKitOuterClass.PendingSweepOrBuilderpublic WalletKitOuterClass.PendingSweep.Builder setWitnessTypeValue(int value)
The witness type of the output we're attempting to sweep.
.walletrpc.WitnessType witness_type = 2;value - The enum numeric value on the wire for witnessType to set.public WalletKitOuterClass.WitnessType getWitnessType()
The witness type of the output we're attempting to sweep.
.walletrpc.WitnessType witness_type = 2;getWitnessType in interface WalletKitOuterClass.PendingSweepOrBuilderpublic WalletKitOuterClass.PendingSweep.Builder setWitnessType(WalletKitOuterClass.WitnessType value)
The witness type of the output we're attempting to sweep.
.walletrpc.WitnessType witness_type = 2;value - The witnessType to set.public WalletKitOuterClass.PendingSweep.Builder clearWitnessType()
The witness type of the output we're attempting to sweep.
.walletrpc.WitnessType witness_type = 2;public int getAmountSat()
The value of the output we're attempting to sweep.
uint32 amount_sat = 3;getAmountSat in interface WalletKitOuterClass.PendingSweepOrBuilderpublic WalletKitOuterClass.PendingSweep.Builder setAmountSat(int value)
The value of the output we're attempting to sweep.
uint32 amount_sat = 3;value - The amountSat to set.public WalletKitOuterClass.PendingSweep.Builder clearAmountSat()
The value of the output we're attempting to sweep.
uint32 amount_sat = 3;@Deprecated public int getSatPerByte()
Deprecated, use sat_per_vbyte. The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee rate is only determined once a sweeping transaction for the output is created, so it's possible for this to be 0 before this.
uint32 sat_per_byte = 4 [deprecated = true];getSatPerByte in interface WalletKitOuterClass.PendingSweepOrBuilder@Deprecated public WalletKitOuterClass.PendingSweep.Builder setSatPerByte(int value)
Deprecated, use sat_per_vbyte. The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee rate is only determined once a sweeping transaction for the output is created, so it's possible for this to be 0 before this.
uint32 sat_per_byte = 4 [deprecated = true];value - The satPerByte to set.@Deprecated public WalletKitOuterClass.PendingSweep.Builder clearSatPerByte()
Deprecated, use sat_per_vbyte. The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee rate is only determined once a sweeping transaction for the output is created, so it's possible for this to be 0 before this.
uint32 sat_per_byte = 4 [deprecated = true];public int getBroadcastAttempts()
The number of broadcast attempts we've made to sweep the output.
uint32 broadcast_attempts = 5;getBroadcastAttempts in interface WalletKitOuterClass.PendingSweepOrBuilderpublic WalletKitOuterClass.PendingSweep.Builder setBroadcastAttempts(int value)
The number of broadcast attempts we've made to sweep the output.
uint32 broadcast_attempts = 5;value - The broadcastAttempts to set.public WalletKitOuterClass.PendingSweep.Builder clearBroadcastAttempts()
The number of broadcast attempts we've made to sweep the output.
uint32 broadcast_attempts = 5;public int getNextBroadcastHeight()
The next height of the chain at which we'll attempt to broadcast the sweep transaction of the output.
uint32 next_broadcast_height = 6;getNextBroadcastHeight in interface WalletKitOuterClass.PendingSweepOrBuilderpublic WalletKitOuterClass.PendingSweep.Builder setNextBroadcastHeight(int value)
The next height of the chain at which we'll attempt to broadcast the sweep transaction of the output.
uint32 next_broadcast_height = 6;value - The nextBroadcastHeight to set.public WalletKitOuterClass.PendingSweep.Builder clearNextBroadcastHeight()
The next height of the chain at which we'll attempt to broadcast the sweep transaction of the output.
uint32 next_broadcast_height = 6;public int getRequestedConfTarget()
The requested confirmation target for this output.
uint32 requested_conf_target = 8;getRequestedConfTarget in interface WalletKitOuterClass.PendingSweepOrBuilderpublic WalletKitOuterClass.PendingSweep.Builder setRequestedConfTarget(int value)
The requested confirmation target for this output.
uint32 requested_conf_target = 8;value - The requestedConfTarget to set.public WalletKitOuterClass.PendingSweep.Builder clearRequestedConfTarget()
The requested confirmation target for this output.
uint32 requested_conf_target = 8;@Deprecated public int getRequestedSatPerByte()
Deprecated, use requested_sat_per_vbyte. The requested fee rate, expressed in sat/vbyte, for this output.
uint32 requested_sat_per_byte = 9 [deprecated = true];getRequestedSatPerByte in interface WalletKitOuterClass.PendingSweepOrBuilder@Deprecated public WalletKitOuterClass.PendingSweep.Builder setRequestedSatPerByte(int value)
Deprecated, use requested_sat_per_vbyte. The requested fee rate, expressed in sat/vbyte, for this output.
uint32 requested_sat_per_byte = 9 [deprecated = true];value - The requestedSatPerByte to set.@Deprecated public WalletKitOuterClass.PendingSweep.Builder clearRequestedSatPerByte()
Deprecated, use requested_sat_per_vbyte. The requested fee rate, expressed in sat/vbyte, for this output.
uint32 requested_sat_per_byte = 9 [deprecated = true];public long getSatPerVbyte()
The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee rate is only determined once a sweeping transaction for the output is created, so it's possible for this to be 0 before this.
uint64 sat_per_vbyte = 10;getSatPerVbyte in interface WalletKitOuterClass.PendingSweepOrBuilderpublic WalletKitOuterClass.PendingSweep.Builder setSatPerVbyte(long value)
The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee rate is only determined once a sweeping transaction for the output is created, so it's possible for this to be 0 before this.
uint64 sat_per_vbyte = 10;value - The satPerVbyte to set.public WalletKitOuterClass.PendingSweep.Builder clearSatPerVbyte()
The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee rate is only determined once a sweeping transaction for the output is created, so it's possible for this to be 0 before this.
uint64 sat_per_vbyte = 10;public long getRequestedSatPerVbyte()
The requested fee rate, expressed in sat/vbyte, for this output.
uint64 requested_sat_per_vbyte = 11;getRequestedSatPerVbyte in interface WalletKitOuterClass.PendingSweepOrBuilderpublic WalletKitOuterClass.PendingSweep.Builder setRequestedSatPerVbyte(long value)
The requested fee rate, expressed in sat/vbyte, for this output.
uint64 requested_sat_per_vbyte = 11;value - The requestedSatPerVbyte to set.public WalletKitOuterClass.PendingSweep.Builder clearRequestedSatPerVbyte()
The requested fee rate, expressed in sat/vbyte, for this output.
uint64 requested_sat_per_vbyte = 11;public boolean getForce()
Whether this input must be force-swept. This means that it is swept even if it has a negative yield.
bool force = 7;getForce in interface WalletKitOuterClass.PendingSweepOrBuilderpublic WalletKitOuterClass.PendingSweep.Builder setForce(boolean value)
Whether this input must be force-swept. This means that it is swept even if it has a negative yield.
bool force = 7;value - The force to set.public WalletKitOuterClass.PendingSweep.Builder clearForce()
Whether this input must be force-swept. This means that it is swept even if it has a negative yield.
bool force = 7;public final WalletKitOuterClass.PendingSweep.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.PendingSweep.Builder>public final WalletKitOuterClass.PendingSweep.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.PendingSweep.Builder>