public static final class RouterOuterClass.BuildRouteRequest extends com.google.protobuf.GeneratedMessageV3 implements RouterOuterClass.BuildRouteRequestOrBuilder
routerrpc.BuildRouteRequest| Modifier and Type | Class and Description |
|---|---|
static class |
RouterOuterClass.BuildRouteRequest.Builder
Protobuf type
routerrpc.BuildRouteRequest |
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 |
AMT_MSAT_FIELD_NUMBER |
static int |
FINAL_CLTV_DELTA_FIELD_NUMBER |
static int |
HOP_PUBKEYS_FIELD_NUMBER |
static int |
OUTGOING_CHAN_ID_FIELD_NUMBER |
static int |
PAYMENT_ADDR_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
long |
getAmtMsat()
The amount to send expressed in msat.
|
static RouterOuterClass.BuildRouteRequest |
getDefaultInstance() |
RouterOuterClass.BuildRouteRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getFinalCltvDelta()
CLTV delta from the current height that should be used for the timelock
of the final hop
|
com.google.protobuf.ByteString |
getHopPubkeys(int index)
A list of hops that defines the route.
|
int |
getHopPubkeysCount()
A list of hops that defines the route.
|
java.util.List<com.google.protobuf.ByteString> |
getHopPubkeysList()
A list of hops that defines the route.
|
long |
getOutgoingChanId()
The channel id of the channel that must be taken to the first hop.
|
com.google.protobuf.Parser<RouterOuterClass.BuildRouteRequest> |
getParserForType() |
com.google.protobuf.ByteString |
getPaymentAddr()
An optional payment addr to be included within the last hop of the route.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouterOuterClass.BuildRouteRequest.Builder |
newBuilder() |
static RouterOuterClass.BuildRouteRequest.Builder |
newBuilder(RouterOuterClass.BuildRouteRequest prototype) |
RouterOuterClass.BuildRouteRequest.Builder |
newBuilderForType() |
protected RouterOuterClass.BuildRouteRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouterOuterClass.BuildRouteRequest |
parseDelimitedFrom(java.io.InputStream input) |
static RouterOuterClass.BuildRouteRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.BuildRouteRequest |
parseFrom(byte[] data) |
static RouterOuterClass.BuildRouteRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.BuildRouteRequest |
parseFrom(java.nio.ByteBuffer data) |
static RouterOuterClass.BuildRouteRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.BuildRouteRequest |
parseFrom(com.google.protobuf.ByteString data) |
static RouterOuterClass.BuildRouteRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.BuildRouteRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouterOuterClass.BuildRouteRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.BuildRouteRequest |
parseFrom(java.io.InputStream input) |
static RouterOuterClass.BuildRouteRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouterOuterClass.BuildRouteRequest> |
parser() |
RouterOuterClass.BuildRouteRequest.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, internalGetMapField, 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 AMT_MSAT_FIELD_NUMBER
public static final int FINAL_CLTV_DELTA_FIELD_NUMBER
public static final int OUTGOING_CHAN_ID_FIELD_NUMBER
public static final int HOP_PUBKEYS_FIELD_NUMBER
public static final int PAYMENT_ADDR_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public long getAmtMsat()
The amount to send expressed in msat. If set to zero, the minimum routable amount is used.
int64 amt_msat = 1;getAmtMsat in interface RouterOuterClass.BuildRouteRequestOrBuilderpublic int getFinalCltvDelta()
CLTV delta from the current height that should be used for the timelock of the final hop
int32 final_cltv_delta = 2;getFinalCltvDelta in interface RouterOuterClass.BuildRouteRequestOrBuilderpublic long getOutgoingChanId()
The channel id of the channel that must be taken to the first hop. If zero, any channel may be used.
uint64 outgoing_chan_id = 3 [jstype = JS_STRING];getOutgoingChanId in interface RouterOuterClass.BuildRouteRequestOrBuilderpublic java.util.List<com.google.protobuf.ByteString> getHopPubkeysList()
A list of hops that defines the route. This does not include the source hop pubkey.
repeated bytes hop_pubkeys = 4;getHopPubkeysList in interface RouterOuterClass.BuildRouteRequestOrBuilderpublic int getHopPubkeysCount()
A list of hops that defines the route. This does not include the source hop pubkey.
repeated bytes hop_pubkeys = 4;getHopPubkeysCount in interface RouterOuterClass.BuildRouteRequestOrBuilderpublic com.google.protobuf.ByteString getHopPubkeys(int index)
A list of hops that defines the route. This does not include the source hop pubkey.
repeated bytes hop_pubkeys = 4;getHopPubkeys in interface RouterOuterClass.BuildRouteRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getPaymentAddr()
An optional payment addr to be included within the last hop of the route.
bytes payment_addr = 5;getPaymentAddr in interface RouterOuterClass.BuildRouteRequestOrBuilderpublic 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.BuildRouteRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.BuildRouteRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.BuildRouteRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.BuildRouteRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.BuildRouteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.BuildRouteRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.BuildRouteRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.BuildRouteRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.BuildRouteRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.BuildRouteRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.BuildRouteRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.BuildRouteRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic RouterOuterClass.BuildRouteRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouterOuterClass.BuildRouteRequest.Builder newBuilder()
public static RouterOuterClass.BuildRouteRequest.Builder newBuilder(RouterOuterClass.BuildRouteRequest prototype)
public RouterOuterClass.BuildRouteRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouterOuterClass.BuildRouteRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouterOuterClass.BuildRouteRequest getDefaultInstance()
public static com.google.protobuf.Parser<RouterOuterClass.BuildRouteRequest> parser()
public com.google.protobuf.Parser<RouterOuterClass.BuildRouteRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouterOuterClass.BuildRouteRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder