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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EstimateFeeRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EstimateFeeRequest.Builder>
public LightningApi.EstimateFeeRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.EstimateFeeRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.EstimateFeeRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.EstimateFeeRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.EstimateFeeRequest.Builder>
java.io.IOException
public int getAddrToAmountCount()
LightningApi.EstimateFeeRequestOrBuilder
The map from addresses to amounts for the transaction.
map<string, int64> AddrToAmount = 1;
getAddrToAmountCount
in interface LightningApi.EstimateFeeRequestOrBuilder
public 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.EstimateFeeRequestOrBuilder
public 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.EstimateFeeRequestOrBuilder
public 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.EstimateFeeRequestOrBuilder
public long getAddrToAmountOrThrow(java.lang.String key)
The map from addresses to amounts for the transaction.
map<string, int64> AddrToAmount = 1;
getAddrToAmountOrThrow
in interface LightningApi.EstimateFeeRequestOrBuilder
public 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.EstimateFeeRequestOrBuilder
public 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.EstimateFeeRequestOrBuilder
public 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.EstimateFeeRequestOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EstimateFeeRequest.Builder>