public static final class LightningApi.SendRequest extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.SendRequestOrBuilder
lnrpc.SendRequest
Modifier and Type | Class and Description |
---|---|
static class |
LightningApi.SendRequest.Builder
Protobuf type
lnrpc.SendRequest |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
AMT_FIELD_NUMBER |
static int |
DEST_FIELD_NUMBER |
static int |
DEST_STRING_FIELD_NUMBER |
static int |
FEE_LIMIT_FIELD_NUMBER |
static int |
FINAL_CLTV_DELTA_FIELD_NUMBER |
static int |
PAYMENT_HASH_FIELD_NUMBER |
static int |
PAYMENT_HASH_STRING_FIELD_NUMBER |
static int |
PAYMENT_REQUEST_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getAmt()
/ Number of satoshis to send.
|
static LightningApi.SendRequest |
getDefaultInstance() |
LightningApi.SendRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getDest()
/ The identity pubkey of the payment recipient
|
java.lang.String |
getDestString()
/ The hex-encoded identity pubkey of the payment recipient
|
com.google.protobuf.ByteString |
getDestStringBytes()
/ The hex-encoded identity pubkey of the payment recipient
|
LightningApi.FeeLimit |
getFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment.
|
LightningApi.FeeLimitOrBuilder |
getFeeLimitOrBuilder()
The maximum number of satoshis that will be paid as a fee of the payment.
|
int |
getFinalCltvDelta()
The CLTV delta from the current height that should be used to set the
timelock for the final hop.
|
com.google.protobuf.Parser<LightningApi.SendRequest> |
getParserForType() |
com.google.protobuf.ByteString |
getPaymentHash()
/ The hash to use within the payment's HTLC
|
java.lang.String |
getPaymentHashString()
/ The hex-encoded hash to use within the payment's HTLC
|
com.google.protobuf.ByteString |
getPaymentHashStringBytes()
/ The hex-encoded hash to use within the payment's HTLC
|
java.lang.String |
getPaymentRequest()
A bare-bones invoice for a payment within the Lightning Network.
|
com.google.protobuf.ByteString |
getPaymentRequestBytes()
A bare-bones invoice for a payment within the Lightning Network.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.SendRequest.Builder |
newBuilder() |
static LightningApi.SendRequest.Builder |
newBuilder(LightningApi.SendRequest prototype) |
LightningApi.SendRequest.Builder |
newBuilderForType() |
protected LightningApi.SendRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static LightningApi.SendRequest |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.SendRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.SendRequest |
parseFrom(byte[] data) |
static LightningApi.SendRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.SendRequest |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.SendRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.SendRequest |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.SendRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.SendRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.SendRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.SendRequest |
parseFrom(java.io.InputStream input) |
static LightningApi.SendRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.SendRequest> |
parser() |
LightningApi.SendRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int DEST_FIELD_NUMBER
public static final int DEST_STRING_FIELD_NUMBER
public static final int AMT_FIELD_NUMBER
public static final int PAYMENT_HASH_FIELD_NUMBER
public static final int PAYMENT_HASH_STRING_FIELD_NUMBER
public static final int PAYMENT_REQUEST_FIELD_NUMBER
public static final int FINAL_CLTV_DELTA_FIELD_NUMBER
public static final int FEE_LIMIT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public com.google.protobuf.ByteString getDest()
/ The identity pubkey of the payment recipient
bytes dest = 1;
getDest
in interface LightningApi.SendRequestOrBuilder
public java.lang.String getDestString()
/ The hex-encoded identity pubkey of the payment recipient
string dest_string = 2;
getDestString
in interface LightningApi.SendRequestOrBuilder
public com.google.protobuf.ByteString getDestStringBytes()
/ The hex-encoded identity pubkey of the payment recipient
string dest_string = 2;
getDestStringBytes
in interface LightningApi.SendRequestOrBuilder
public long getAmt()
/ Number of satoshis to send.
int64 amt = 3;
getAmt
in interface LightningApi.SendRequestOrBuilder
public com.google.protobuf.ByteString getPaymentHash()
/ The hash to use within the payment's HTLC
bytes payment_hash = 4;
getPaymentHash
in interface LightningApi.SendRequestOrBuilder
public java.lang.String getPaymentHashString()
/ The hex-encoded hash to use within the payment's HTLC
string payment_hash_string = 5;
getPaymentHashString
in interface LightningApi.SendRequestOrBuilder
public com.google.protobuf.ByteString getPaymentHashStringBytes()
/ The hex-encoded hash to use within the payment's HTLC
string payment_hash_string = 5;
getPaymentHashStringBytes
in interface LightningApi.SendRequestOrBuilder
public java.lang.String getPaymentRequest()
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.
string payment_request = 6;
getPaymentRequest
in interface LightningApi.SendRequestOrBuilder
public com.google.protobuf.ByteString getPaymentRequestBytes()
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.
string payment_request = 6;
getPaymentRequestBytes
in interface LightningApi.SendRequestOrBuilder
public int getFinalCltvDelta()
The CLTV delta from the current height that should be used to set the timelock for the final hop.
int32 final_cltv_delta = 7;
getFinalCltvDelta
in interface LightningApi.SendRequestOrBuilder
public boolean hasFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment.
.lnrpc.FeeLimit fee_limit = 8;
hasFeeLimit
in interface LightningApi.SendRequestOrBuilder
public LightningApi.FeeLimit getFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment.
.lnrpc.FeeLimit fee_limit = 8;
getFeeLimit
in interface LightningApi.SendRequestOrBuilder
public LightningApi.FeeLimitOrBuilder getFeeLimitOrBuilder()
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment.
.lnrpc.FeeLimit fee_limit = 8;
getFeeLimitOrBuilder
in interface LightningApi.SendRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static LightningApi.SendRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.SendRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.SendRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.SendRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.SendRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.SendRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.SendRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.SendRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.SendRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.SendRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.SendRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.SendRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public LightningApi.SendRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static LightningApi.SendRequest.Builder newBuilder()
public static LightningApi.SendRequest.Builder newBuilder(LightningApi.SendRequest prototype)
public LightningApi.SendRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected LightningApi.SendRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static LightningApi.SendRequest getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.SendRequest> parser()
public com.google.protobuf.Parser<LightningApi.SendRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public LightningApi.SendRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder