public static final class RouterOuterClass.ForwardHtlcInterceptRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.ForwardHtlcInterceptRequest.Builder> implements RouterOuterClass.ForwardHtlcInterceptRequestOrBuilder
routerrpc.ForwardHtlcInterceptRequest| Modifier and Type | Method and Description | 
|---|---|
| RouterOuterClass.ForwardHtlcInterceptRequest | build() | 
| RouterOuterClass.ForwardHtlcInterceptRequest | buildPartial() | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | clear() | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | clearAutoFailHeight()
 The block height at which this htlc will be auto-failed to prevent the
 channel from force-closing. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | clearCustomRecords() | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | clearIncomingAmountMsat()
 The incoming htlc amount. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | clearIncomingCircuitKey()
The key of this forwarded htlc. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | clearIncomingExpiry()
 The incoming htlc expiry. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | clearOnionBlob()
 The onion blob for the next hop | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | clearOutgoingAmountMsat()
 The outgoing htlc amount. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | clearOutgoingExpiry()
 The outgoing htlc expiry. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | clearOutgoingRequestedChanId()
 The requested outgoing channel id for this forwarded htlc. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | clearPaymentHash()
The htlc payment hash. | 
| boolean | containsCustomRecords(long key)
 Any custom records that were present in the payload. | 
| 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. | 
| RouterOuterClass.ForwardHtlcInterceptRequest | getDefaultInstanceForType() | 
| static com.google.protobuf.Descriptors.Descriptor | getDescriptor() | 
| com.google.protobuf.Descriptors.Descriptor | getDescriptorForType() | 
| long | getIncomingAmountMsat()
 The incoming htlc amount. | 
| RouterOuterClass.CircuitKey | getIncomingCircuitKey()
The key of this forwarded htlc. | 
| RouterOuterClass.CircuitKey.Builder | getIncomingCircuitKeyBuilder()
The key of this forwarded htlc. | 
| RouterOuterClass.CircuitKeyOrBuilder | getIncomingCircuitKeyOrBuilder()
The key of this forwarded htlc. | 
| int | getIncomingExpiry()
 The incoming htlc expiry. | 
| java.util.Map<java.lang.Long,com.google.protobuf.ByteString> | getMutableCustomRecords()Deprecated.  | 
| 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.ByteString | getPaymentHash()
The htlc payment hash. | 
| boolean | hasIncomingCircuitKey()
The key of this forwarded htlc. | 
| protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| protected com.google.protobuf.MapField | internalGetMapField(int number) | 
| protected com.google.protobuf.MapField | internalGetMutableMapField(int number) | 
| boolean | isInitialized() | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | mergeFrom(com.google.protobuf.Message other) | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | mergeFrom(RouterOuterClass.ForwardHtlcInterceptRequest other) | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | mergeIncomingCircuitKey(RouterOuterClass.CircuitKey value)
The key of this forwarded htlc. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | putAllCustomRecords(java.util.Map<java.lang.Long,com.google.protobuf.ByteString> values)
 Any custom records that were present in the payload. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | putCustomRecords(long key,
                com.google.protobuf.ByteString value)
 Any custom records that were present in the payload. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | removeCustomRecords(long key)
 Any custom records that were present in the payload. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | setAutoFailHeight(int value)
 The block height at which this htlc will be auto-failed to prevent the
 channel from force-closing. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | setIncomingAmountMsat(long value)
 The incoming htlc amount. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | setIncomingCircuitKey(RouterOuterClass.CircuitKey.Builder builderForValue)
The key of this forwarded htlc. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | setIncomingCircuitKey(RouterOuterClass.CircuitKey value)
The key of this forwarded htlc. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | setIncomingExpiry(int value)
 The incoming htlc expiry. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | setOnionBlob(com.google.protobuf.ByteString value)
 The onion blob for the next hop | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | setOutgoingAmountMsat(long value)
 The outgoing htlc amount. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | setOutgoingExpiry(int value)
 The outgoing htlc expiry. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | setOutgoingRequestedChanId(long value)
 The requested outgoing channel id for this forwarded htlc. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | setPaymentHash(com.google.protobuf.ByteString value)
The htlc payment hash. | 
| RouterOuterClass.ForwardHtlcInterceptRequest.Builder | setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) | 
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.ForwardHtlcInterceptRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.ForwardHtlcInterceptRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.ForwardHtlcInterceptRequest.Builder>public RouterOuterClass.ForwardHtlcInterceptRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.ForwardHtlcInterceptRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.ForwardHtlcInterceptRequest.Builder>public RouterOuterClass.ForwardHtlcInterceptRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouterOuterClass.ForwardHtlcInterceptRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouterOuterClass.ForwardHtlcInterceptRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouterOuterClass.ForwardHtlcInterceptRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterOuterClass.ForwardHtlcInterceptRequest.Builder>public RouterOuterClass.ForwardHtlcInterceptRequest.Builder mergeFrom(RouterOuterClass.ForwardHtlcInterceptRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.ForwardHtlcInterceptRequest.Builder>public RouterOuterClass.ForwardHtlcInterceptRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterOuterClass.ForwardHtlcInterceptRequest.Builder>java.io.IOExceptionpublic 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.ForwardHtlcInterceptRequest.Builder setIncomingCircuitKey(RouterOuterClass.CircuitKey value)
The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
.routerrpc.CircuitKey incoming_circuit_key = 1;public RouterOuterClass.ForwardHtlcInterceptRequest.Builder setIncomingCircuitKey(RouterOuterClass.CircuitKey.Builder builderForValue)
The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
.routerrpc.CircuitKey incoming_circuit_key = 1;public RouterOuterClass.ForwardHtlcInterceptRequest.Builder mergeIncomingCircuitKey(RouterOuterClass.CircuitKey value)
The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
.routerrpc.CircuitKey incoming_circuit_key = 1;public RouterOuterClass.ForwardHtlcInterceptRequest.Builder clearIncomingCircuitKey()
The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
.routerrpc.CircuitKey incoming_circuit_key = 1;public RouterOuterClass.CircuitKey.Builder getIncomingCircuitKeyBuilder()
The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
.routerrpc.CircuitKey incoming_circuit_key = 1;public 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 RouterOuterClass.ForwardHtlcInterceptRequest.Builder setIncomingAmountMsat(long value)
The incoming htlc amount.
uint64 incoming_amount_msat = 5;value - The incomingAmountMsat to set.public RouterOuterClass.ForwardHtlcInterceptRequest.Builder clearIncomingAmountMsat()
The incoming htlc amount.
uint64 incoming_amount_msat = 5;public int getIncomingExpiry()
The incoming htlc expiry.
uint32 incoming_expiry = 6;getIncomingExpiry in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic RouterOuterClass.ForwardHtlcInterceptRequest.Builder setIncomingExpiry(int value)
The incoming htlc expiry.
uint32 incoming_expiry = 6;value - The incomingExpiry to set.public RouterOuterClass.ForwardHtlcInterceptRequest.Builder clearIncomingExpiry()
The incoming htlc expiry.
uint32 incoming_expiry = 6;public 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 RouterOuterClass.ForwardHtlcInterceptRequest.Builder setPaymentHash(com.google.protobuf.ByteString value)
The htlc payment hash. This value is not guaranteed to be unique per request.
bytes payment_hash = 2;value - The paymentHash to set.public RouterOuterClass.ForwardHtlcInterceptRequest.Builder clearPaymentHash()
The htlc payment hash. This value is not guaranteed to be unique per request.
bytes payment_hash = 2;public 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 RouterOuterClass.ForwardHtlcInterceptRequest.Builder setOutgoingRequestedChanId(long value)
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;value - The outgoingRequestedChanId to set.public RouterOuterClass.ForwardHtlcInterceptRequest.Builder clearOutgoingRequestedChanId()
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;public long getOutgoingAmountMsat()
The outgoing htlc amount.
uint64 outgoing_amount_msat = 3;getOutgoingAmountMsat in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic RouterOuterClass.ForwardHtlcInterceptRequest.Builder setOutgoingAmountMsat(long value)
The outgoing htlc amount.
uint64 outgoing_amount_msat = 3;value - The outgoingAmountMsat to set.public RouterOuterClass.ForwardHtlcInterceptRequest.Builder clearOutgoingAmountMsat()
The outgoing htlc amount.
uint64 outgoing_amount_msat = 3;public int getOutgoingExpiry()
The outgoing htlc expiry.
uint32 outgoing_expiry = 4;getOutgoingExpiry in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic RouterOuterClass.ForwardHtlcInterceptRequest.Builder setOutgoingExpiry(int value)
The outgoing htlc expiry.
uint32 outgoing_expiry = 4;value - The outgoingExpiry to set.public RouterOuterClass.ForwardHtlcInterceptRequest.Builder clearOutgoingExpiry()
The outgoing htlc expiry.
uint32 outgoing_expiry = 4;public 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 RouterOuterClass.ForwardHtlcInterceptRequest.Builder clearCustomRecords()
public RouterOuterClass.ForwardHtlcInterceptRequest.Builder removeCustomRecords(long key)
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;@Deprecated public java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getMutableCustomRecords()
public RouterOuterClass.ForwardHtlcInterceptRequest.Builder putCustomRecords(long key, com.google.protobuf.ByteString value)
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;public RouterOuterClass.ForwardHtlcInterceptRequest.Builder putAllCustomRecords(java.util.Map<java.lang.Long,com.google.protobuf.ByteString> values)
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;public com.google.protobuf.ByteString getOnionBlob()
The onion blob for the next hop
bytes onion_blob = 9;getOnionBlob in interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilderpublic RouterOuterClass.ForwardHtlcInterceptRequest.Builder setOnionBlob(com.google.protobuf.ByteString value)
The onion blob for the next hop
bytes onion_blob = 9;value - The onionBlob to set.public RouterOuterClass.ForwardHtlcInterceptRequest.Builder clearOnionBlob()
The onion blob for the next hop
bytes onion_blob = 9;public 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 RouterOuterClass.ForwardHtlcInterceptRequest.Builder setAutoFailHeight(int value)
The block height at which this htlc will be auto-failed to prevent the channel from force-closing.
int32 auto_fail_height = 10;value - The autoFailHeight to set.public RouterOuterClass.ForwardHtlcInterceptRequest.Builder clearAutoFailHeight()
The block height at which this htlc will be auto-failed to prevent the channel from force-closing.
int32 auto_fail_height = 10;public final RouterOuterClass.ForwardHtlcInterceptRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.ForwardHtlcInterceptRequest.Builder>public final RouterOuterClass.ForwardHtlcInterceptRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.ForwardHtlcInterceptRequest.Builder>