public class ForwardHtlcInterceptRequest extends Message<RouterOuterClass.ForwardHtlcInterceptRequest>
Modifier and Type | Class and Description |
---|---|
static class |
ForwardHtlcInterceptRequest.CustomRecordsEntries
Wrapping class used for conversion between Map and XML notation.
|
static class |
ForwardHtlcInterceptRequest.CustomRecordsEntry
Inner class CustomRecordsEntry for class ForwardHtlcInterceptRequest.
|
Modifier and Type | Field and Description |
---|---|
protected ForwardHtlcInterceptRequest.CustomRecordsEntries |
customRecordsEntries |
builder, wrapperFactory
Constructor and Description |
---|
ForwardHtlcInterceptRequest()
Empty Constructor
|
ForwardHtlcInterceptRequest(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
ForwardHtlcInterceptRequest(RouterOuterClass.ForwardHtlcInterceptRequest apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
int |
getAutoFailHeight()
Getter for autoFailHeight.
|
java.util.Map<java.lang.Long,byte[]> |
getCustomRecordsAsDetachedMap()
Returns customRecords as a detached map.
|
ForwardHtlcInterceptRequest.CustomRecordsEntries |
getCustomRecordsEntries()
Gets the map entries as a wrapped list, used for XML conversion.
|
long |
getIncomingAmountMsat()
Getter for incomingAmountMsat.
|
CircuitKey |
getIncomingCircuitKey()
Getter for a list of incomingCircuitKey.
|
int |
getIncomingExpiry()
Getter for incomingExpiry.
|
byte[] |
getOnionBlob()
Getter for onionBlob.
|
long |
getOutgoingAmountMsat()
Getter for outgoingAmountMsat.
|
int |
getOutgoingExpiry()
Getter for outgoingExpiry.
|
long |
getOutgoingRequestedChanId()
Getter for outgoingRequestedChanId.
|
byte[] |
getPaymentHash()
Getter for paymentHash.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setAutoFailHeight(int value)
Setter for autoFailHeight.
|
void |
setCustomRecords(java.util.Map<java.lang.Long,byte[]> valueMap)
Populates customRecords with all the values in the map.
|
void |
setCustomRecordsEntries(ForwardHtlcInterceptRequest.CustomRecordsEntries entries)
Sets a wrapped list of entries, used for XML conversion.
|
void |
setIncomingAmountMsat(long value)
Setter for incomingAmountMsat.
|
void |
setIncomingCircuitKey(CircuitKey value)
Setter for list of incomingCircuitKey.
|
void |
setIncomingExpiry(int value)
Setter for incomingExpiry.
|
void |
setOnionBlob(byte[] value)
Setter for onionBlob.
|
void |
setOutgoingAmountMsat(long value)
Setter for outgoingAmountMsat.
|
void |
setOutgoingExpiry(int value)
Setter for outgoingExpiry.
|
void |
setOutgoingRequestedChanId(long value)
Setter for outgoingRequestedChanId.
|
void |
setPaymentHash(byte[] value)
Setter for paymentHash.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
protected ForwardHtlcInterceptRequest.CustomRecordsEntries customRecordsEntries
public ForwardHtlcInterceptRequest()
public ForwardHtlcInterceptRequest(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public ForwardHtlcInterceptRequest(RouterOuterClass.ForwardHtlcInterceptRequest apiObject)
public CircuitKey getIncomingCircuitKey() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setIncomingCircuitKey(CircuitKey value)
public long getIncomingAmountMsat()
public void setIncomingAmountMsat(long value)
public int getIncomingExpiry()
public void setIncomingExpiry(int value)
public byte[] getPaymentHash()
public void setPaymentHash(byte[] value)
public long getOutgoingRequestedChanId()
public void setOutgoingRequestedChanId(long value)
public long getOutgoingAmountMsat()
public void setOutgoingAmountMsat(long value)
public int getOutgoingExpiry()
public void setOutgoingExpiry(int value)
public java.util.Map<java.lang.Long,byte[]> getCustomRecordsAsDetachedMap()
public void setCustomRecords(java.util.Map<java.lang.Long,byte[]> valueMap)
public ForwardHtlcInterceptRequest.CustomRecordsEntries getCustomRecordsEntries()
public void setCustomRecordsEntries(ForwardHtlcInterceptRequest.CustomRecordsEntries entries)
public byte[] getOnionBlob()
public void setOnionBlob(byte[] value)
public int getAutoFailHeight()
public void setAutoFailHeight(int value)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<RouterOuterClass.ForwardHtlcInterceptRequest>