public static final class WalletKitOuterClass.TxTemplate extends com.google.protobuf.GeneratedMessageV3 implements WalletKitOuterClass.TxTemplateOrBuilder
walletrpc.TxTemplate| Modifier and Type | Class and Description |
|---|---|
static class |
WalletKitOuterClass.TxTemplate.Builder
Protobuf type
walletrpc.TxTemplate |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
INPUTS_FIELD_NUMBER |
static int |
OUTPUTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsOutputs(java.lang.String key)
A map of all addresses and the amounts to send to in the funded PSBT.
|
boolean |
equals(java.lang.Object obj) |
static WalletKitOuterClass.TxTemplate |
getDefaultInstance() |
WalletKitOuterClass.TxTemplate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
LightningApi.OutPoint |
getInputs(int index)
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> |
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.
|
com.google.protobuf.Parser<WalletKitOuterClass.TxTemplate> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static WalletKitOuterClass.TxTemplate.Builder |
newBuilder() |
static WalletKitOuterClass.TxTemplate.Builder |
newBuilder(WalletKitOuterClass.TxTemplate prototype) |
WalletKitOuterClass.TxTemplate.Builder |
newBuilderForType() |
protected WalletKitOuterClass.TxTemplate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WalletKitOuterClass.TxTemplate |
parseDelimitedFrom(java.io.InputStream input) |
static WalletKitOuterClass.TxTemplate |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.TxTemplate |
parseFrom(byte[] data) |
static WalletKitOuterClass.TxTemplate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.TxTemplate |
parseFrom(java.nio.ByteBuffer data) |
static WalletKitOuterClass.TxTemplate |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.TxTemplate |
parseFrom(com.google.protobuf.ByteString data) |
static WalletKitOuterClass.TxTemplate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.TxTemplate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WalletKitOuterClass.TxTemplate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.TxTemplate |
parseFrom(java.io.InputStream input) |
static WalletKitOuterClass.TxTemplate |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WalletKitOuterClass.TxTemplate> |
parser() |
WalletKitOuterClass.TxTemplate.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INPUTS_FIELD_NUMBER
public static final int OUTPUTS_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static WalletKitOuterClass.TxTemplate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.TxTemplate parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.TxTemplate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.TxTemplate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.TxTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.TxTemplate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.TxTemplate parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.TxTemplate parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.TxTemplate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.TxTemplate parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.TxTemplate parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.TxTemplate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic WalletKitOuterClass.TxTemplate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WalletKitOuterClass.TxTemplate.Builder newBuilder()
public static WalletKitOuterClass.TxTemplate.Builder newBuilder(WalletKitOuterClass.TxTemplate prototype)
public WalletKitOuterClass.TxTemplate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WalletKitOuterClass.TxTemplate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WalletKitOuterClass.TxTemplate getDefaultInstance()
public static com.google.protobuf.Parser<WalletKitOuterClass.TxTemplate> parser()
public com.google.protobuf.Parser<WalletKitOuterClass.TxTemplate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WalletKitOuterClass.TxTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder