public static final class RouterOuterClass.ForwardHtlcInterceptRequest extends com.google.protobuf.GeneratedMessageV3 implements RouterOuterClass.ForwardHtlcInterceptRequestOrBuilder
routerrpc.ForwardHtlcInterceptRequest| Modifier and Type | Class and Description |
|---|---|
static class |
RouterOuterClass.ForwardHtlcInterceptRequest.Builder
Protobuf type
routerrpc.ForwardHtlcInterceptRequest |
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 |
AUTO_FAIL_HEIGHT_FIELD_NUMBER |
static int |
CUSTOM_RECORDS_FIELD_NUMBER |
static int |
INCOMING_AMOUNT_MSAT_FIELD_NUMBER |
static int |
INCOMING_CIRCUIT_KEY_FIELD_NUMBER |
static int |
INCOMING_EXPIRY_FIELD_NUMBER |
static int |
ONION_BLOB_FIELD_NUMBER |
static int |
OUTGOING_AMOUNT_MSAT_FIELD_NUMBER |
static int |
OUTGOING_EXPIRY_FIELD_NUMBER |
static int |
OUTGOING_REQUESTED_CHAN_ID_FIELD_NUMBER |
static int |
PAYMENT_HASH_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCustomRecords(long key)
Any custom records that were present in the payload.
|
boolean |
equals(java.lang.Object obj) |
int |
getAutoFailHeight()
The block height at which this htlc will be auto-failed to prevent the
channel from force-closing.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecords()
Deprecated.
|
int |
getCustomRecordsCount()
Any custom records that were present in the payload.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecordsMap()
Any custom records that were present in the payload.
|
com.google.protobuf.ByteString |
getCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
Any custom records that were present in the payload.
|
com.google.protobuf.ByteString |
getCustomRecordsOrThrow(long key)
Any custom records that were present in the payload.
|
static RouterOuterClass.ForwardHtlcInterceptRequest |
getDefaultInstance() |
RouterOuterClass.ForwardHtlcInterceptRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getIncomingAmountMsat()
The incoming htlc amount.
|
RouterOuterClass.CircuitKey |
getIncomingCircuitKey()
The key of this forwarded htlc.
|
RouterOuterClass.CircuitKeyOrBuilder |
getIncomingCircuitKeyOrBuilder()
The key of this forwarded htlc.
|
int |
getIncomingExpiry()
The incoming htlc expiry.
|
com.google.protobuf.ByteString |
getOnionBlob()
The onion blob for the next hop
|
long |
getOutgoingAmountMsat()
The outgoing htlc amount.
|
int |
getOutgoingExpiry()
The outgoing htlc expiry.
|
long |
getOutgoingRequestedChanId()
The requested outgoing channel id for this forwarded htlc.
|
com.google.protobuf.Parser<RouterOuterClass.ForwardHtlcInterceptRequest> |
getParserForType() |
com.google.protobuf.ByteString |
getPaymentHash()
The htlc payment hash.
|
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasIncomingCircuitKey()
The key of this forwarded htlc.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static RouterOuterClass.ForwardHtlcInterceptRequest.Builder |
newBuilder() |
static RouterOuterClass.ForwardHtlcInterceptRequest.Builder |
newBuilder(RouterOuterClass.ForwardHtlcInterceptRequest prototype) |
RouterOuterClass.ForwardHtlcInterceptRequest.Builder |
newBuilderForType() |
protected RouterOuterClass.ForwardHtlcInterceptRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseDelimitedFrom(java.io.InputStream input) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseFrom(byte[] data) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseFrom(java.nio.ByteBuffer data) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseFrom(com.google.protobuf.ByteString data) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseFrom(java.io.InputStream input) |
static RouterOuterClass.ForwardHtlcInterceptRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouterOuterClass.ForwardHtlcInterceptRequest> |
parser() |
RouterOuterClass.ForwardHtlcInterceptRequest.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 INCOMING_CIRCUIT_KEY_FIELD_NUMBER
public static final int INCOMING_AMOUNT_MSAT_FIELD_NUMBER
public static final int INCOMING_EXPIRY_FIELD_NUMBER
public static final int PAYMENT_HASH_FIELD_NUMBER
public static final int OUTGOING_REQUESTED_CHAN_ID_FIELD_NUMBER
public static final int OUTGOING_AMOUNT_MSAT_FIELD_NUMBER
public static final int OUTGOING_EXPIRY_FIELD_NUMBER
public static final int CUSTOM_RECORDS_FIELD_NUMBER
public static final int ONION_BLOB_FIELD_NUMBER
public static final int AUTO_FAIL_HEIGHT_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 boolean hasIncomingCircuitKey()
The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
.routerrpc.CircuitKey incoming_circuit_key = 1;hasIncomingCircuitKey in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic RouterOuterClass.CircuitKey getIncomingCircuitKey()
The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
.routerrpc.CircuitKey incoming_circuit_key = 1;getIncomingCircuitKey in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic RouterOuterClass.CircuitKeyOrBuilder getIncomingCircuitKeyOrBuilder()
The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
.routerrpc.CircuitKey incoming_circuit_key = 1;getIncomingCircuitKeyOrBuilder in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic long getIncomingAmountMsat()
The incoming htlc amount.
uint64 incoming_amount_msat = 5;getIncomingAmountMsat in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic int getIncomingExpiry()
The incoming htlc expiry.
uint32 incoming_expiry = 6;getIncomingExpiry in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic com.google.protobuf.ByteString getPaymentHash()
The htlc payment hash. This value is not guaranteed to be unique per request.
bytes payment_hash = 2;getPaymentHash in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic long getOutgoingRequestedChanId()
The requested outgoing channel id for this forwarded htlc. Because of non-strict forwarding, this isn't necessarily the channel over which the packet will be forwarded eventually. A different channel to the same peer may be selected as well.
uint64 outgoing_requested_chan_id = 7;getOutgoingRequestedChanId in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic long getOutgoingAmountMsat()
The outgoing htlc amount.
uint64 outgoing_amount_msat = 3;getOutgoingAmountMsat in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic int getOutgoingExpiry()
The outgoing htlc expiry.
uint32 outgoing_expiry = 4;getOutgoingExpiry in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic int getCustomRecordsCount()
RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderAny custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;getCustomRecordsCount in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic boolean containsCustomRecords(long key)
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;containsCustomRecords in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilder@Deprecated public java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecords()
getCustomRecordsMap() instead.getCustomRecords in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecordsMap()
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;getCustomRecordsMap in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic com.google.protobuf.ByteString getCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;getCustomRecordsOrDefault in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic com.google.protobuf.ByteString getCustomRecordsOrThrow(long key)
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;getCustomRecordsOrThrow in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic com.google.protobuf.ByteString getOnionBlob()
The onion blob for the next hop
bytes onion_blob = 9;getOnionBlob in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic int getAutoFailHeight()
The block height at which this htlc will be auto-failed to prevent the channel from force-closing.
int32 auto_fail_height = 10;getAutoFailHeight in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic 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 RouterOuterClass.ForwardHtlcInterceptRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.ForwardHtlcInterceptRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.ForwardHtlcInterceptRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.ForwardHtlcInterceptRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.ForwardHtlcInterceptRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.ForwardHtlcInterceptRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.ForwardHtlcInterceptRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.ForwardHtlcInterceptRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.ForwardHtlcInterceptRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.ForwardHtlcInterceptRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.ForwardHtlcInterceptRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.ForwardHtlcInterceptRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic RouterOuterClass.ForwardHtlcInterceptRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouterOuterClass.ForwardHtlcInterceptRequest.Builder newBuilder()
public static RouterOuterClass.ForwardHtlcInterceptRequest.Builder newBuilder(RouterOuterClass.ForwardHtlcInterceptRequest prototype)
public RouterOuterClass.ForwardHtlcInterceptRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouterOuterClass.ForwardHtlcInterceptRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouterOuterClass.ForwardHtlcInterceptRequest getDefaultInstance()
public static com.google.protobuf.Parser<RouterOuterClass.ForwardHtlcInterceptRequest> parser()
public com.google.protobuf.Parser<RouterOuterClass.ForwardHtlcInterceptRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouterOuterClass.ForwardHtlcInterceptRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder