public static final class LightningApi.PayReq extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.PayReqOrBuilder
lnrpc.PayReq| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.PayReq.Builder
Protobuf type
lnrpc.PayReq |
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 |
CLTV_EXPIRY_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DESCRIPTION_HASH_FIELD_NUMBER |
static int |
DESTINATION_FIELD_NUMBER |
static int |
EXPIRY_FIELD_NUMBER |
static int |
FALLBACK_ADDR_FIELD_NUMBER |
static int |
FEATURES_FIELD_NUMBER |
static int |
NUM_MSAT_FIELD_NUMBER |
static int |
NUM_SATOSHIS_FIELD_NUMBER |
static int |
PAYMENT_ADDR_FIELD_NUMBER |
static int |
PAYMENT_HASH_FIELD_NUMBER |
static int |
ROUTE_HINTS_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsFeatures(int key)
map<uint32, .lnrpc.Feature> features = 13; |
boolean |
equals(java.lang.Object obj) |
long |
getCltvExpiry()
int64 cltv_expiry = 9; |
static LightningApi.PayReq |
getDefaultInstance() |
LightningApi.PayReq |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
string description = 6; |
com.google.protobuf.ByteString |
getDescriptionBytes()
string description = 6; |
java.lang.String |
getDescriptionHash()
string description_hash = 7; |
com.google.protobuf.ByteString |
getDescriptionHashBytes()
string description_hash = 7; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDestination()
string destination = 1; |
com.google.protobuf.ByteString |
getDestinationBytes()
string destination = 1; |
long |
getExpiry()
int64 expiry = 5; |
java.lang.String |
getFallbackAddr()
string fallback_addr = 8; |
com.google.protobuf.ByteString |
getFallbackAddrBytes()
string fallback_addr = 8; |
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getFeatures()
Deprecated.
|
int |
getFeaturesCount()
map<uint32, .lnrpc.Feature> features = 13; |
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getFeaturesMap()
map<uint32, .lnrpc.Feature> features = 13; |
LightningApi.Feature |
getFeaturesOrDefault(int key,
LightningApi.Feature defaultValue)
map<uint32, .lnrpc.Feature> features = 13; |
LightningApi.Feature |
getFeaturesOrThrow(int key)
map<uint32, .lnrpc.Feature> features = 13; |
long |
getNumMsat()
int64 num_msat = 12; |
long |
getNumSatoshis()
int64 num_satoshis = 3; |
com.google.protobuf.Parser<LightningApi.PayReq> |
getParserForType() |
com.google.protobuf.ByteString |
getPaymentAddr()
bytes payment_addr = 11; |
java.lang.String |
getPaymentHash()
string payment_hash = 2; |
com.google.protobuf.ByteString |
getPaymentHashBytes()
string payment_hash = 2; |
LightningApi.RouteHint |
getRouteHints(int index)
repeated .lnrpc.RouteHint route_hints = 10; |
int |
getRouteHintsCount()
repeated .lnrpc.RouteHint route_hints = 10; |
java.util.List<LightningApi.RouteHint> |
getRouteHintsList()
repeated .lnrpc.RouteHint route_hints = 10; |
LightningApi.RouteHintOrBuilder |
getRouteHintsOrBuilder(int index)
repeated .lnrpc.RouteHint route_hints = 10; |
java.util.List<? extends LightningApi.RouteHintOrBuilder> |
getRouteHintsOrBuilderList()
repeated .lnrpc.RouteHint route_hints = 10; |
int |
getSerializedSize() |
long |
getTimestamp()
int64 timestamp = 4; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static LightningApi.PayReq.Builder |
newBuilder() |
static LightningApi.PayReq.Builder |
newBuilder(LightningApi.PayReq prototype) |
LightningApi.PayReq.Builder |
newBuilderForType() |
protected LightningApi.PayReq.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.PayReq |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.PayReq |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PayReq |
parseFrom(byte[] data) |
static LightningApi.PayReq |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PayReq |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.PayReq |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PayReq |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.PayReq |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PayReq |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.PayReq |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PayReq |
parseFrom(java.io.InputStream input) |
static LightningApi.PayReq |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.PayReq> |
parser() |
LightningApi.PayReq.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, 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 DESTINATION_FIELD_NUMBER
public static final int PAYMENT_HASH_FIELD_NUMBER
public static final int NUM_SATOSHIS_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int EXPIRY_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_HASH_FIELD_NUMBER
public static final int FALLBACK_ADDR_FIELD_NUMBER
public static final int CLTV_EXPIRY_FIELD_NUMBER
public static final int ROUTE_HINTS_FIELD_NUMBER
public static final int PAYMENT_ADDR_FIELD_NUMBER
public static final int NUM_MSAT_FIELD_NUMBER
public static final int FEATURES_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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.lang.String getDestination()
string destination = 1;getDestination in interface LightningApi.PayReqOrBuilderpublic com.google.protobuf.ByteString getDestinationBytes()
string destination = 1;getDestinationBytes in interface LightningApi.PayReqOrBuilderpublic java.lang.String getPaymentHash()
string payment_hash = 2;getPaymentHash in interface LightningApi.PayReqOrBuilderpublic com.google.protobuf.ByteString getPaymentHashBytes()
string payment_hash = 2;getPaymentHashBytes in interface LightningApi.PayReqOrBuilderpublic long getNumSatoshis()
int64 num_satoshis = 3;getNumSatoshis in interface LightningApi.PayReqOrBuilderpublic long getTimestamp()
int64 timestamp = 4;getTimestamp in interface LightningApi.PayReqOrBuilderpublic long getExpiry()
int64 expiry = 5;getExpiry in interface LightningApi.PayReqOrBuilderpublic java.lang.String getDescription()
string description = 6;getDescription in interface LightningApi.PayReqOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
string description = 6;getDescriptionBytes in interface LightningApi.PayReqOrBuilderpublic java.lang.String getDescriptionHash()
string description_hash = 7;getDescriptionHash in interface LightningApi.PayReqOrBuilderpublic com.google.protobuf.ByteString getDescriptionHashBytes()
string description_hash = 7;getDescriptionHashBytes in interface LightningApi.PayReqOrBuilderpublic java.lang.String getFallbackAddr()
string fallback_addr = 8;getFallbackAddr in interface LightningApi.PayReqOrBuilderpublic com.google.protobuf.ByteString getFallbackAddrBytes()
string fallback_addr = 8;getFallbackAddrBytes in interface LightningApi.PayReqOrBuilderpublic long getCltvExpiry()
int64 cltv_expiry = 9;getCltvExpiry in interface LightningApi.PayReqOrBuilderpublic java.util.List<LightningApi.RouteHint> getRouteHintsList()
repeated .lnrpc.RouteHint route_hints = 10;getRouteHintsList in interface LightningApi.PayReqOrBuilderpublic java.util.List<? extends LightningApi.RouteHintOrBuilder> getRouteHintsOrBuilderList()
repeated .lnrpc.RouteHint route_hints = 10;getRouteHintsOrBuilderList in interface LightningApi.PayReqOrBuilderpublic int getRouteHintsCount()
repeated .lnrpc.RouteHint route_hints = 10;getRouteHintsCount in interface LightningApi.PayReqOrBuilderpublic LightningApi.RouteHint getRouteHints(int index)
repeated .lnrpc.RouteHint route_hints = 10;getRouteHints in interface LightningApi.PayReqOrBuilderpublic LightningApi.RouteHintOrBuilder getRouteHintsOrBuilder(int index)
repeated .lnrpc.RouteHint route_hints = 10;getRouteHintsOrBuilder in interface LightningApi.PayReqOrBuilderpublic com.google.protobuf.ByteString getPaymentAddr()
bytes payment_addr = 11;getPaymentAddr in interface LightningApi.PayReqOrBuilderpublic long getNumMsat()
int64 num_msat = 12;getNumMsat in interface LightningApi.PayReqOrBuilderpublic int getFeaturesCount()
LightningApi.PayReqOrBuildermap<uint32, .lnrpc.Feature> features = 13;getFeaturesCount in interface LightningApi.PayReqOrBuilderpublic boolean containsFeatures(int key)
map<uint32, .lnrpc.Feature> features = 13;containsFeatures in interface LightningApi.PayReqOrBuilder@Deprecated public java.util.Map<java.lang.Integer,LightningApi.Feature> getFeatures()
getFeaturesMap() instead.getFeatures in interface LightningApi.PayReqOrBuilderpublic java.util.Map<java.lang.Integer,LightningApi.Feature> getFeaturesMap()
map<uint32, .lnrpc.Feature> features = 13;getFeaturesMap in interface LightningApi.PayReqOrBuilderpublic LightningApi.Feature getFeaturesOrDefault(int key, LightningApi.Feature defaultValue)
map<uint32, .lnrpc.Feature> features = 13;getFeaturesOrDefault in interface LightningApi.PayReqOrBuilderpublic LightningApi.Feature getFeaturesOrThrow(int key)
map<uint32, .lnrpc.Feature> features = 13;getFeaturesOrThrow in interface LightningApi.PayReqOrBuilderpublic 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.PayReq parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PayReq parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PayReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PayReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PayReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PayReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PayReq parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PayReq parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PayReq parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PayReq parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PayReq parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PayReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.PayReq.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.PayReq.Builder newBuilder()
public static LightningApi.PayReq.Builder newBuilder(LightningApi.PayReq prototype)
public LightningApi.PayReq.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.PayReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.PayReq getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.PayReq> parser()
public com.google.protobuf.Parser<LightningApi.PayReq> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.PayReq getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder