public static final class LightningApi.SendManyRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendManyRequest.Builder> implements LightningApi.SendManyRequestOrBuilder
lnrpc.SendManyRequest| Modifier and Type | Method and Description |
|---|---|
LightningApi.SendManyRequest |
build() |
LightningApi.SendManyRequest |
buildPartial() |
LightningApi.SendManyRequest.Builder |
clear() |
LightningApi.SendManyRequest.Builder |
clearAddrToAmount() |
LightningApi.SendManyRequest.Builder |
clearLabel()
An optional label for the transaction, limited to 500 characters.
|
LightningApi.SendManyRequest.Builder |
clearMinConfs()
The minimum number of confirmations each one of your outputs used for
the transaction must satisfy.
|
LightningApi.SendManyRequest.Builder |
clearSatPerByte()
Deprecated.
lnrpc.SendManyRequest.sat_per_byte is deprecated.
See lightning.api.proto;l=1135
|
LightningApi.SendManyRequest.Builder |
clearSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the
transaction.
|
LightningApi.SendManyRequest.Builder |
clearSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
|
LightningApi.SendManyRequest.Builder |
clearTargetConf()
The target number of blocks that this transaction should be confirmed
by.
|
boolean |
containsAddrToAmount(java.lang.String key)
The map from addresses to amounts
|
java.util.Map<java.lang.String,java.lang.Long> |
getAddrToAmount()
Deprecated.
|
int |
getAddrToAmountCount()
The map from addresses to amounts
|
java.util.Map<java.lang.String,java.lang.Long> |
getAddrToAmountMap()
The map from addresses to amounts
|
long |
getAddrToAmountOrDefault(java.lang.String key,
long defaultValue)
The map from addresses to amounts
|
long |
getAddrToAmountOrThrow(java.lang.String key)
The map from addresses to amounts
|
LightningApi.SendManyRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getLabel()
An optional label for the transaction, limited to 500 characters.
|
com.google.protobuf.ByteString |
getLabelBytes()
An optional label for the transaction, limited to 500 characters.
|
int |
getMinConfs()
The minimum number of confirmations each one of your outputs used for
the transaction must satisfy.
|
java.util.Map<java.lang.String,java.lang.Long> |
getMutableAddrToAmount()
Deprecated.
|
long |
getSatPerByte()
Deprecated.
lnrpc.SendManyRequest.sat_per_byte is deprecated.
See lightning.api.proto;l=1135
|
long |
getSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the
transaction.
|
boolean |
getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
|
int |
getTargetConf()
The target number of blocks that this transaction should be confirmed
by.
|
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() |
LightningApi.SendManyRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.SendManyRequest.Builder |
mergeFrom(LightningApi.SendManyRequest other) |
LightningApi.SendManyRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.SendManyRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.SendManyRequest.Builder |
putAddrToAmount(java.lang.String key,
long value)
The map from addresses to amounts
|
LightningApi.SendManyRequest.Builder |
putAllAddrToAmount(java.util.Map<java.lang.String,java.lang.Long> values)
The map from addresses to amounts
|
LightningApi.SendManyRequest.Builder |
removeAddrToAmount(java.lang.String key)
The map from addresses to amounts
|
LightningApi.SendManyRequest.Builder |
setLabel(java.lang.String value)
An optional label for the transaction, limited to 500 characters.
|
LightningApi.SendManyRequest.Builder |
setLabelBytes(com.google.protobuf.ByteString value)
An optional label for the transaction, limited to 500 characters.
|
LightningApi.SendManyRequest.Builder |
setMinConfs(int value)
The minimum number of confirmations each one of your outputs used for
the transaction must satisfy.
|
LightningApi.SendManyRequest.Builder |
setSatPerByte(long value)
Deprecated.
lnrpc.SendManyRequest.sat_per_byte is deprecated.
See lightning.api.proto;l=1135
|
LightningApi.SendManyRequest.Builder |
setSatPerVbyte(long value)
A manual fee rate set in sat/vbyte that should be used when crafting the
transaction.
|
LightningApi.SendManyRequest.Builder |
setSpendUnconfirmed(boolean value)
Whether unconfirmed outputs should be used as inputs for the transaction.
|
LightningApi.SendManyRequest.Builder |
setTargetConf(int value)
The target number of blocks that this transaction should be confirmed
by.
|
LightningApi.SendManyRequest.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<LightningApi.SendManyRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendManyRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendManyRequest.Builder>public LightningApi.SendManyRequest.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.SendManyRequest.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.SendManyRequest.Builder>public LightningApi.SendManyRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.SendManyRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.SendManyRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.SendManyRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.SendManyRequest.Builder>public LightningApi.SendManyRequest.Builder mergeFrom(LightningApi.SendManyRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendManyRequest.Builder>public LightningApi.SendManyRequest.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.SendManyRequest.Builder>java.io.IOExceptionpublic int getAddrToAmountCount()
LightningApi.SendManyRequestOrBuilderThe map from addresses to amounts
map<string, int64> AddrToAmount = 1;getAddrToAmountCount in interface LightningApi.SendManyRequestOrBuilderpublic boolean containsAddrToAmount(java.lang.String key)
The map from addresses to amounts
map<string, int64> AddrToAmount = 1;containsAddrToAmount in interface LightningApi.SendManyRequestOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getAddrToAmount()
getAddrToAmountMap() instead.getAddrToAmount in interface LightningApi.SendManyRequestOrBuilderpublic java.util.Map<java.lang.String,java.lang.Long> getAddrToAmountMap()
The map from addresses to amounts
map<string, int64> AddrToAmount = 1;getAddrToAmountMap in interface LightningApi.SendManyRequestOrBuilderpublic long getAddrToAmountOrDefault(java.lang.String key,
long defaultValue)
The map from addresses to amounts
map<string, int64> AddrToAmount = 1;getAddrToAmountOrDefault in interface LightningApi.SendManyRequestOrBuilderpublic long getAddrToAmountOrThrow(java.lang.String key)
The map from addresses to amounts
map<string, int64> AddrToAmount = 1;getAddrToAmountOrThrow in interface LightningApi.SendManyRequestOrBuilderpublic LightningApi.SendManyRequest.Builder clearAddrToAmount()
public LightningApi.SendManyRequest.Builder removeAddrToAmount(java.lang.String key)
The map from addresses to amounts
map<string, int64> AddrToAmount = 1;@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getMutableAddrToAmount()
public LightningApi.SendManyRequest.Builder putAddrToAmount(java.lang.String key, long value)
The map from addresses to amounts
map<string, int64> AddrToAmount = 1;public LightningApi.SendManyRequest.Builder putAllAddrToAmount(java.util.Map<java.lang.String,java.lang.Long> values)
The map from addresses to amounts
map<string, int64> AddrToAmount = 1;public int getTargetConf()
The target number of blocks that this transaction should be confirmed by.
int32 target_conf = 3;getTargetConf in interface LightningApi.SendManyRequestOrBuilderpublic LightningApi.SendManyRequest.Builder setTargetConf(int value)
The target number of blocks that this transaction should be confirmed by.
int32 target_conf = 3;value - The targetConf to set.public LightningApi.SendManyRequest.Builder clearTargetConf()
The target number of blocks that this transaction should be confirmed by.
int32 target_conf = 3;public long getSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the transaction.
uint64 sat_per_vbyte = 4;getSatPerVbyte in interface LightningApi.SendManyRequestOrBuilderpublic LightningApi.SendManyRequest.Builder setSatPerVbyte(long value)
A manual fee rate set in sat/vbyte that should be used when crafting the transaction.
uint64 sat_per_vbyte = 4;value - The satPerVbyte to set.public LightningApi.SendManyRequest.Builder clearSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the transaction.
uint64 sat_per_vbyte = 4;@Deprecated public long getSatPerByte()
Deprecated, use sat_per_vbyte. A manual fee rate set in sat/vbyte that should be used when crafting the transaction.
int64 sat_per_byte = 5 [deprecated = true];getSatPerByte in interface LightningApi.SendManyRequestOrBuilder@Deprecated public LightningApi.SendManyRequest.Builder setSatPerByte(long value)
Deprecated, use sat_per_vbyte. A manual fee rate set in sat/vbyte that should be used when crafting the transaction.
int64 sat_per_byte = 5 [deprecated = true];value - The satPerByte to set.@Deprecated public LightningApi.SendManyRequest.Builder clearSatPerByte()
Deprecated, use sat_per_vbyte. A manual fee rate set in sat/vbyte that should be used when crafting the transaction.
int64 sat_per_byte = 5 [deprecated = true];public java.lang.String getLabel()
An optional label for the transaction, limited to 500 characters.
string label = 6;getLabel in interface LightningApi.SendManyRequestOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
An optional label for the transaction, limited to 500 characters.
string label = 6;getLabelBytes in interface LightningApi.SendManyRequestOrBuilderpublic LightningApi.SendManyRequest.Builder setLabel(java.lang.String value)
An optional label for the transaction, limited to 500 characters.
string label = 6;value - The label to set.public LightningApi.SendManyRequest.Builder clearLabel()
An optional label for the transaction, limited to 500 characters.
string label = 6;public LightningApi.SendManyRequest.Builder setLabelBytes(com.google.protobuf.ByteString value)
An optional label for the transaction, limited to 500 characters.
string label = 6;value - The bytes for label to set.public int getMinConfs()
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 7;getMinConfs in interface LightningApi.SendManyRequestOrBuilderpublic LightningApi.SendManyRequest.Builder setMinConfs(int value)
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 7;value - The minConfs to set.public LightningApi.SendManyRequest.Builder clearMinConfs()
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 7;public boolean getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 8;getSpendUnconfirmed in interface LightningApi.SendManyRequestOrBuilderpublic LightningApi.SendManyRequest.Builder setSpendUnconfirmed(boolean value)
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 8;value - The spendUnconfirmed to set.public LightningApi.SendManyRequest.Builder clearSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 8;public final LightningApi.SendManyRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendManyRequest.Builder>public final LightningApi.SendManyRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendManyRequest.Builder>