public static interface RouterOuterClass.ForwardHtlcInterceptResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
RouterOuterClass.ResolveHoldForwardAction |
getAction()
The resolve action for this intercepted htlc.
|
int |
getActionValue()
The resolve action for this intercepted htlc.
|
LightningApi.Failure.FailureCode |
getFailureCode()
Return the specified failure code in case the resolve action is Fail.
|
int |
getFailureCodeValue()
Return the specified failure code in case the resolve action is Fail.
|
com.google.protobuf.ByteString |
getFailureMessage()
Encrypted failure message in case the resolve action is Fail.
|
RouterOuterClass.CircuitKey |
getIncomingCircuitKey()
The key of this forwarded htlc.
|
RouterOuterClass.CircuitKeyOrBuilder |
getIncomingCircuitKeyOrBuilder()
The key of this forwarded htlc.
|
com.google.protobuf.ByteString |
getPreimage()
The preimage in case the resolve action is Settle.
|
boolean |
hasIncomingCircuitKey()
The key of this forwarded htlc.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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;
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;
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;
int getActionValue()
The resolve action for this intercepted htlc.
.routerrpc.ResolveHoldForwardAction action = 2;
RouterOuterClass.ResolveHoldForwardAction getAction()
The resolve action for this intercepted htlc.
.routerrpc.ResolveHoldForwardAction action = 2;
com.google.protobuf.ByteString getPreimage()
The preimage in case the resolve action is Settle.
bytes preimage = 3;
com.google.protobuf.ByteString getFailureMessage()
Encrypted failure message in case the resolve action is Fail. If failure_message is specified, the failure_code field must be set to zero.
bytes failure_message = 4;
int getFailureCodeValue()
Return the specified failure code in case the resolve action is Fail. The message data fields are populated automatically. If a non-zero failure_code is specified, failure_message must not be set. For backwards-compatibility reasons, TEMPORARY_CHANNEL_FAILURE is the default value for this field.
.lnrpc.Failure.FailureCode failure_code = 5;
LightningApi.Failure.FailureCode getFailureCode()
Return the specified failure code in case the resolve action is Fail. The message data fields are populated automatically. If a non-zero failure_code is specified, failure_message must not be set. For backwards-compatibility reasons, TEMPORARY_CHANNEL_FAILURE is the default value for this field.
.lnrpc.Failure.FailureCode failure_code = 5;