public static final class WalletKitOuterClass.TxTemplate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.TxTemplate.Builder> implements WalletKitOuterClass.TxTemplateOrBuilder
walletrpc.TxTemplate| Modifier and Type | Method and Description |
|---|---|
WalletKitOuterClass.TxTemplate.Builder |
addAllInputs(java.lang.Iterable<? extends LightningApi.OutPoint> values)
An optional list of inputs to use.
|
WalletKitOuterClass.TxTemplate.Builder |
addInputs(int index,
LightningApi.OutPoint.Builder builderForValue)
An optional list of inputs to use.
|
WalletKitOuterClass.TxTemplate.Builder |
addInputs(int index,
LightningApi.OutPoint value)
An optional list of inputs to use.
|
WalletKitOuterClass.TxTemplate.Builder |
addInputs(LightningApi.OutPoint.Builder builderForValue)
An optional list of inputs to use.
|
WalletKitOuterClass.TxTemplate.Builder |
addInputs(LightningApi.OutPoint value)
An optional list of inputs to use.
|
LightningApi.OutPoint.Builder |
addInputsBuilder()
An optional list of inputs to use.
|
LightningApi.OutPoint.Builder |
addInputsBuilder(int index)
An optional list of inputs to use.
|
WalletKitOuterClass.TxTemplate |
build() |
WalletKitOuterClass.TxTemplate |
buildPartial() |
WalletKitOuterClass.TxTemplate.Builder |
clear() |
WalletKitOuterClass.TxTemplate.Builder |
clearInputs()
An optional list of inputs to use.
|
WalletKitOuterClass.TxTemplate.Builder |
clearOutputs() |
boolean |
containsOutputs(java.lang.String key)
A map of all addresses and the amounts to send to in the funded PSBT.
|
WalletKitOuterClass.TxTemplate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.OutPoint |
getInputs(int index)
An optional list of inputs to use.
|
LightningApi.OutPoint.Builder |
getInputsBuilder(int index)
An optional list of inputs to use.
|
java.util.List<LightningApi.OutPoint.Builder> |
getInputsBuilderList()
An optional list of inputs to use.
|
int |
getInputsCount()
An optional list of inputs to use.
|
java.util.List<LightningApi.OutPoint> |
getInputsList()
An optional list of inputs to use.
|
LightningApi.OutPointOrBuilder |
getInputsOrBuilder(int index)
An optional list of inputs to use.
|
java.util.List<? extends LightningApi.OutPointOrBuilder> |
getInputsOrBuilderList()
An optional list of inputs to use.
|
java.util.Map<java.lang.String,java.lang.Long> |
getMutableOutputs()
Deprecated.
|
java.util.Map<java.lang.String,java.lang.Long> |
getOutputs()
Deprecated.
|
int |
getOutputsCount()
A map of all addresses and the amounts to send to in the funded PSBT.
|
java.util.Map<java.lang.String,java.lang.Long> |
getOutputsMap()
A map of all addresses and the amounts to send to in the funded PSBT.
|
long |
getOutputsOrDefault(java.lang.String key,
long defaultValue)
A map of all addresses and the amounts to send to in the funded PSBT.
|
long |
getOutputsOrThrow(java.lang.String key)
A map of all addresses and the amounts to send to in the funded PSBT.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
WalletKitOuterClass.TxTemplate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WalletKitOuterClass.TxTemplate.Builder |
mergeFrom(com.google.protobuf.Message other) |
WalletKitOuterClass.TxTemplate.Builder |
mergeFrom(WalletKitOuterClass.TxTemplate other) |
WalletKitOuterClass.TxTemplate.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WalletKitOuterClass.TxTemplate.Builder |
putAllOutputs(java.util.Map<java.lang.String,java.lang.Long> values)
A map of all addresses and the amounts to send to in the funded PSBT.
|
WalletKitOuterClass.TxTemplate.Builder |
putOutputs(java.lang.String key,
long value)
A map of all addresses and the amounts to send to in the funded PSBT.
|
WalletKitOuterClass.TxTemplate.Builder |
removeInputs(int index)
An optional list of inputs to use.
|
WalletKitOuterClass.TxTemplate.Builder |
removeOutputs(java.lang.String key)
A map of all addresses and the amounts to send to in the funded PSBT.
|
WalletKitOuterClass.TxTemplate.Builder |
setInputs(int index,
LightningApi.OutPoint.Builder builderForValue)
An optional list of inputs to use.
|
WalletKitOuterClass.TxTemplate.Builder |
setInputs(int index,
LightningApi.OutPoint value)
An optional list of inputs to use.
|
WalletKitOuterClass.TxTemplate.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.TxTemplate.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.TxTemplate.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.TxTemplate.Builder>public WalletKitOuterClass.TxTemplate.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.TxTemplate.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.TxTemplate.Builder>public WalletKitOuterClass.TxTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WalletKitOuterClass.TxTemplate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WalletKitOuterClass.TxTemplate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WalletKitOuterClass.TxTemplate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WalletKitOuterClass.TxTemplate.Builder>public WalletKitOuterClass.TxTemplate.Builder mergeFrom(WalletKitOuterClass.TxTemplate other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.TxTemplate.Builder>public WalletKitOuterClass.TxTemplate.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.TxTemplate.Builder>java.io.IOExceptionpublic java.util.List<LightningApi.OutPoint> getInputsList()
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;getInputsList in interface WalletKitOuterClass.TxTemplateOrBuilderpublic int getInputsCount()
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;getInputsCount in interface WalletKitOuterClass.TxTemplateOrBuilderpublic LightningApi.OutPoint getInputs(int index)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;getInputs in interface WalletKitOuterClass.TxTemplateOrBuilderpublic WalletKitOuterClass.TxTemplate.Builder setInputs(int index, LightningApi.OutPoint value)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public WalletKitOuterClass.TxTemplate.Builder setInputs(int index, LightningApi.OutPoint.Builder builderForValue)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public WalletKitOuterClass.TxTemplate.Builder addInputs(LightningApi.OutPoint value)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public WalletKitOuterClass.TxTemplate.Builder addInputs(int index, LightningApi.OutPoint value)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public WalletKitOuterClass.TxTemplate.Builder addInputs(LightningApi.OutPoint.Builder builderForValue)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public WalletKitOuterClass.TxTemplate.Builder addInputs(int index, LightningApi.OutPoint.Builder builderForValue)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public WalletKitOuterClass.TxTemplate.Builder addAllInputs(java.lang.Iterable<? extends LightningApi.OutPoint> values)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public WalletKitOuterClass.TxTemplate.Builder clearInputs()
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public WalletKitOuterClass.TxTemplate.Builder removeInputs(int index)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public LightningApi.OutPoint.Builder getInputsBuilder(int index)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public LightningApi.OutPointOrBuilder getInputsOrBuilder(int index)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;getInputsOrBuilder in interface WalletKitOuterClass.TxTemplateOrBuilderpublic java.util.List<? extends LightningApi.OutPointOrBuilder> getInputsOrBuilderList()
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;getInputsOrBuilderList in interface WalletKitOuterClass.TxTemplateOrBuilderpublic LightningApi.OutPoint.Builder addInputsBuilder()
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public LightningApi.OutPoint.Builder addInputsBuilder(int index)
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public java.util.List<LightningApi.OutPoint.Builder> getInputsBuilderList()
An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.
repeated .lnrpc.OutPoint inputs = 1;public int getOutputsCount()
WalletKitOuterClass.TxTemplateOrBuilderA map of all addresses and the amounts to send to in the funded PSBT.
map<string, uint64> outputs = 2;getOutputsCount in interface WalletKitOuterClass.TxTemplateOrBuilderpublic boolean containsOutputs(java.lang.String key)
A map of all addresses and the amounts to send to in the funded PSBT.
map<string, uint64> outputs = 2;containsOutputs in interface WalletKitOuterClass.TxTemplateOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getOutputs()
getOutputsMap() instead.getOutputs in interface WalletKitOuterClass.TxTemplateOrBuilderpublic java.util.Map<java.lang.String,java.lang.Long> getOutputsMap()
A map of all addresses and the amounts to send to in the funded PSBT.
map<string, uint64> outputs = 2;getOutputsMap in interface WalletKitOuterClass.TxTemplateOrBuilderpublic long getOutputsOrDefault(java.lang.String key,
long defaultValue)
A map of all addresses and the amounts to send to in the funded PSBT.
map<string, uint64> outputs = 2;getOutputsOrDefault in interface WalletKitOuterClass.TxTemplateOrBuilderpublic long getOutputsOrThrow(java.lang.String key)
A map of all addresses and the amounts to send to in the funded PSBT.
map<string, uint64> outputs = 2;getOutputsOrThrow in interface WalletKitOuterClass.TxTemplateOrBuilderpublic WalletKitOuterClass.TxTemplate.Builder clearOutputs()
public WalletKitOuterClass.TxTemplate.Builder removeOutputs(java.lang.String key)
A map of all addresses and the amounts to send to in the funded PSBT.
map<string, uint64> outputs = 2;@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getMutableOutputs()
public WalletKitOuterClass.TxTemplate.Builder putOutputs(java.lang.String key, long value)
A map of all addresses and the amounts to send to in the funded PSBT.
map<string, uint64> outputs = 2;public WalletKitOuterClass.TxTemplate.Builder putAllOutputs(java.util.Map<java.lang.String,java.lang.Long> values)
A map of all addresses and the amounts to send to in the funded PSBT.
map<string, uint64> outputs = 2;public final WalletKitOuterClass.TxTemplate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.TxTemplate.Builder>public final WalletKitOuterClass.TxTemplate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.TxTemplate.Builder>