public static final class LightningApi.SendCoinsRequest extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.SendCoinsRequestOrBuilder
lnrpc.SendCoinsRequest| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.SendCoinsRequest.Builder
Protobuf type
lnrpc.SendCoinsRequest |
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 |
ADDR_FIELD_NUMBER |
static int |
AMOUNT_FIELD_NUMBER |
static int |
LABEL_FIELD_NUMBER |
static int |
MIN_CONFS_FIELD_NUMBER |
static int |
SAT_PER_BYTE_FIELD_NUMBER |
static int |
SAT_PER_VBYTE_FIELD_NUMBER |
static int |
SEND_ALL_FIELD_NUMBER |
static int |
SPEND_UNCONFIRMED_FIELD_NUMBER |
static int |
TARGET_CONF_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAddr()
The address to send coins to
|
com.google.protobuf.ByteString |
getAddrBytes()
The address to send coins to
|
long |
getAmount()
The amount in satoshis to send
|
static LightningApi.SendCoinsRequest |
getDefaultInstance() |
LightningApi.SendCoinsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<LightningApi.SendCoinsRequest> |
getParserForType() |
long |
getSatPerByte()
Deprecated.
lnrpc.SendCoinsRequest.sat_per_byte is deprecated.
See lightning.api.proto;l=1170
|
long |
getSatPerVbyte()
A manual fee rate set in sat/vbyte that should be used when crafting the
transaction.
|
boolean |
getSendAll()
If set, then the amount field will be ignored, and lnd will attempt to
send all the coins under control of the internal wallet to the specified
address.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.SendCoinsRequest.Builder |
newBuilder() |
static LightningApi.SendCoinsRequest.Builder |
newBuilder(LightningApi.SendCoinsRequest prototype) |
LightningApi.SendCoinsRequest.Builder |
newBuilderForType() |
protected LightningApi.SendCoinsRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.SendCoinsRequest |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.SendCoinsRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.SendCoinsRequest |
parseFrom(byte[] data) |
static LightningApi.SendCoinsRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.SendCoinsRequest |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.SendCoinsRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.SendCoinsRequest |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.SendCoinsRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.SendCoinsRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.SendCoinsRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.SendCoinsRequest |
parseFrom(java.io.InputStream input) |
static LightningApi.SendCoinsRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.SendCoinsRequest> |
parser() |
LightningApi.SendCoinsRequest.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, internalGetMapField, 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 ADDR_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER
public static final int TARGET_CONF_FIELD_NUMBER
public static final int SAT_PER_VBYTE_FIELD_NUMBER
public static final int SAT_PER_BYTE_FIELD_NUMBER
public static final int SEND_ALL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
public static final int MIN_CONFS_FIELD_NUMBER
public static final int SPEND_UNCONFIRMED_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.lang.String getAddr()
The address to send coins to
string addr = 1;getAddr in interface LightningApi.SendCoinsRequestOrBuilderpublic com.google.protobuf.ByteString getAddrBytes()
The address to send coins to
string addr = 1;getAddrBytes in interface LightningApi.SendCoinsRequestOrBuilderpublic long getAmount()
The amount in satoshis to send
int64 amount = 2;getAmount in interface LightningApi.SendCoinsRequestOrBuilderpublic int getTargetConf()
The target number of blocks that this transaction should be confirmed by.
int32 target_conf = 3;getTargetConf in interface LightningApi.SendCoinsRequestOrBuilderpublic 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.SendCoinsRequestOrBuilder@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.SendCoinsRequestOrBuilderpublic boolean getSendAll()
If set, then the amount field will be ignored, and lnd will attempt to send all the coins under control of the internal wallet to the specified address.
bool send_all = 6;getSendAll in interface LightningApi.SendCoinsRequestOrBuilderpublic java.lang.String getLabel()
An optional label for the transaction, limited to 500 characters.
string label = 7;getLabel in interface LightningApi.SendCoinsRequestOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
An optional label for the transaction, limited to 500 characters.
string label = 7;getLabelBytes in interface LightningApi.SendCoinsRequestOrBuilderpublic int getMinConfs()
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 8;getMinConfs in interface LightningApi.SendCoinsRequestOrBuilderpublic boolean getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 9;getSpendUnconfirmed in interface LightningApi.SendCoinsRequestOrBuilderpublic 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 LightningApi.SendCoinsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.SendCoinsRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.SendCoinsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.SendCoinsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.SendCoinsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.SendCoinsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.SendCoinsRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.SendCoinsRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.SendCoinsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.SendCoinsRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.SendCoinsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.SendCoinsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.SendCoinsRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.SendCoinsRequest.Builder newBuilder()
public static LightningApi.SendCoinsRequest.Builder newBuilder(LightningApi.SendCoinsRequest prototype)
public LightningApi.SendCoinsRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.SendCoinsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.SendCoinsRequest getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.SendCoinsRequest> parser()
public com.google.protobuf.Parser<LightningApi.SendCoinsRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.SendCoinsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder