public static final class LightningApi.EstimateFeeRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EstimateFeeRequest.Builder> implements LightningApi.EstimateFeeRequestOrBuilder
lnrpc.EstimateFeeRequest| Modifier and Type | Method and Description |
|---|---|
LightningApi.EstimateFeeRequest |
build() |
LightningApi.EstimateFeeRequest |
buildPartial() |
LightningApi.EstimateFeeRequest.Builder |
clear() |
LightningApi.EstimateFeeRequest.Builder |
clearAddrToAmount() |
LightningApi.EstimateFeeRequest.Builder |
clearMinConfs()
The minimum number of confirmations each one of your outputs used for
the transaction must satisfy.
|
LightningApi.EstimateFeeRequest.Builder |
clearSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
|
LightningApi.EstimateFeeRequest.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 for the transaction.
|
java.util.Map<java.lang.String,java.lang.Long> |
getAddrToAmount()
Deprecated.
|
int |
getAddrToAmountCount()
The map from addresses to amounts for the transaction.
|
java.util.Map<java.lang.String,java.lang.Long> |
getAddrToAmountMap()
The map from addresses to amounts for the transaction.
|
long |
getAddrToAmountOrDefault(java.lang.String key,
long defaultValue)
The map from addresses to amounts for the transaction.
|
long |
getAddrToAmountOrThrow(java.lang.String key)
The map from addresses to amounts for the transaction.
|
LightningApi.EstimateFeeRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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.EstimateFeeRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.EstimateFeeRequest.Builder |
mergeFrom(LightningApi.EstimateFeeRequest other) |
LightningApi.EstimateFeeRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.EstimateFeeRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.EstimateFeeRequest.Builder |
putAddrToAmount(java.lang.String key,
long value)
The map from addresses to amounts for the transaction.
|
LightningApi.EstimateFeeRequest.Builder |
putAllAddrToAmount(java.util.Map<java.lang.String,java.lang.Long> values)
The map from addresses to amounts for the transaction.
|
LightningApi.EstimateFeeRequest.Builder |
removeAddrToAmount(java.lang.String key)
The map from addresses to amounts for the transaction.
|
LightningApi.EstimateFeeRequest.Builder |
setMinConfs(int value)
The minimum number of confirmations each one of your outputs used for
the transaction must satisfy.
|
LightningApi.EstimateFeeRequest.Builder |
setSpendUnconfirmed(boolean value)
Whether unconfirmed outputs should be used as inputs for the transaction.
|
LightningApi.EstimateFeeRequest.Builder |
setTargetConf(int value)
The target number of blocks that this transaction should be confirmed
by.
|
LightningApi.EstimateFeeRequest.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.EstimateFeeRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EstimateFeeRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EstimateFeeRequest.Builder>public LightningApi.EstimateFeeRequest.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.EstimateFeeRequest.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.EstimateFeeRequest.Builder>public LightningApi.EstimateFeeRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.EstimateFeeRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.EstimateFeeRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.EstimateFeeRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.EstimateFeeRequest.Builder>public LightningApi.EstimateFeeRequest.Builder mergeFrom(LightningApi.EstimateFeeRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EstimateFeeRequest.Builder>public LightningApi.EstimateFeeRequest.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.EstimateFeeRequest.Builder>java.io.IOExceptionpublic int getAddrToAmountCount()
LightningApi.EstimateFeeRequestOrBuilderThe map from addresses to amounts for the transaction.
map<string, int64> AddrToAmount = 1;getAddrToAmountCount in interface LightningApi.EstimateFeeRequestOrBuilderpublic boolean containsAddrToAmount(java.lang.String key)
The map from addresses to amounts for the transaction.
map<string, int64> AddrToAmount = 1;containsAddrToAmount in interface LightningApi.EstimateFeeRequestOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getAddrToAmount()
getAddrToAmountMap() instead.getAddrToAmount in interface LightningApi.EstimateFeeRequestOrBuilderpublic java.util.Map<java.lang.String,java.lang.Long> getAddrToAmountMap()
The map from addresses to amounts for the transaction.
map<string, int64> AddrToAmount = 1;getAddrToAmountMap in interface LightningApi.EstimateFeeRequestOrBuilderpublic long getAddrToAmountOrDefault(java.lang.String key,
long defaultValue)
The map from addresses to amounts for the transaction.
map<string, int64> AddrToAmount = 1;getAddrToAmountOrDefault in interface LightningApi.EstimateFeeRequestOrBuilderpublic long getAddrToAmountOrThrow(java.lang.String key)
The map from addresses to amounts for the transaction.
map<string, int64> AddrToAmount = 1;getAddrToAmountOrThrow in interface LightningApi.EstimateFeeRequestOrBuilderpublic LightningApi.EstimateFeeRequest.Builder clearAddrToAmount()
public LightningApi.EstimateFeeRequest.Builder removeAddrToAmount(java.lang.String key)
The map from addresses to amounts for the transaction.
map<string, int64> AddrToAmount = 1;@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getMutableAddrToAmount()
public LightningApi.EstimateFeeRequest.Builder putAddrToAmount(java.lang.String key, long value)
The map from addresses to amounts for the transaction.
map<string, int64> AddrToAmount = 1;public LightningApi.EstimateFeeRequest.Builder putAllAddrToAmount(java.util.Map<java.lang.String,java.lang.Long> values)
The map from addresses to amounts for the transaction.
map<string, int64> AddrToAmount = 1;public int getTargetConf()
The target number of blocks that this transaction should be confirmed by.
int32 target_conf = 2;getTargetConf in interface LightningApi.EstimateFeeRequestOrBuilderpublic LightningApi.EstimateFeeRequest.Builder setTargetConf(int value)
The target number of blocks that this transaction should be confirmed by.
int32 target_conf = 2;value - The targetConf to set.public LightningApi.EstimateFeeRequest.Builder clearTargetConf()
The target number of blocks that this transaction should be confirmed by.
int32 target_conf = 2;public int getMinConfs()
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 3;getMinConfs in interface LightningApi.EstimateFeeRequestOrBuilderpublic LightningApi.EstimateFeeRequest.Builder setMinConfs(int value)
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 3;value - The minConfs to set.public LightningApi.EstimateFeeRequest.Builder clearMinConfs()
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 3;public boolean getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 4;getSpendUnconfirmed in interface LightningApi.EstimateFeeRequestOrBuilderpublic LightningApi.EstimateFeeRequest.Builder setSpendUnconfirmed(boolean value)
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 4;value - The spendUnconfirmed to set.public LightningApi.EstimateFeeRequest.Builder clearSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 4;public final LightningApi.EstimateFeeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EstimateFeeRequest.Builder>public final LightningApi.EstimateFeeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EstimateFeeRequest.Builder>