public static final class LightningApi.SendToRouteRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendToRouteRequest.Builder> implements LightningApi.SendToRouteRequestOrBuilder
lnrpc.SendToRouteRequest| Modifier and Type | Method and Description |
|---|---|
LightningApi.SendToRouteRequest |
build() |
LightningApi.SendToRouteRequest |
buildPartial() |
LightningApi.SendToRouteRequest.Builder |
clear() |
LightningApi.SendToRouteRequest.Builder |
clearPaymentHash()
The payment hash to use for the HTLC.
|
LightningApi.SendToRouteRequest.Builder |
clearPaymentHashString()
Deprecated.
lnrpc.SendToRouteRequest.payment_hash_string is deprecated.
See lightning.api.proto;l=909
|
LightningApi.SendToRouteRequest.Builder |
clearRoute()
Route that should be used to attempt to complete the payment.
|
LightningApi.SendToRouteRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getPaymentHash()
The payment hash to use for the HTLC.
|
java.lang.String |
getPaymentHashString()
Deprecated.
lnrpc.SendToRouteRequest.payment_hash_string is deprecated.
See lightning.api.proto;l=909
|
com.google.protobuf.ByteString |
getPaymentHashStringBytes()
Deprecated.
lnrpc.SendToRouteRequest.payment_hash_string is deprecated.
See lightning.api.proto;l=909
|
LightningApi.Route |
getRoute()
Route that should be used to attempt to complete the payment.
|
LightningApi.Route.Builder |
getRouteBuilder()
Route that should be used to attempt to complete the payment.
|
LightningApi.RouteOrBuilder |
getRouteOrBuilder()
Route that should be used to attempt to complete the payment.
|
boolean |
hasRoute()
Route that should be used to attempt to complete the payment.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.SendToRouteRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.SendToRouteRequest.Builder |
mergeFrom(LightningApi.SendToRouteRequest other) |
LightningApi.SendToRouteRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.SendToRouteRequest.Builder |
mergeRoute(LightningApi.Route value)
Route that should be used to attempt to complete the payment.
|
LightningApi.SendToRouteRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.SendToRouteRequest.Builder |
setPaymentHash(com.google.protobuf.ByteString value)
The payment hash to use for the HTLC.
|
LightningApi.SendToRouteRequest.Builder |
setPaymentHashString(java.lang.String value)
Deprecated.
lnrpc.SendToRouteRequest.payment_hash_string is deprecated.
See lightning.api.proto;l=909
|
LightningApi.SendToRouteRequest.Builder |
setPaymentHashStringBytes(com.google.protobuf.ByteString value)
Deprecated.
lnrpc.SendToRouteRequest.payment_hash_string is deprecated.
See lightning.api.proto;l=909
|
LightningApi.SendToRouteRequest.Builder |
setRoute(LightningApi.Route.Builder builderForValue)
Route that should be used to attempt to complete the payment.
|
LightningApi.SendToRouteRequest.Builder |
setRoute(LightningApi.Route value)
Route that should be used to attempt to complete the payment.
|
LightningApi.SendToRouteRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendToRouteRequest.Builder>public LightningApi.SendToRouteRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendToRouteRequest.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<LightningApi.SendToRouteRequest.Builder>public LightningApi.SendToRouteRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.SendToRouteRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.SendToRouteRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.SendToRouteRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.SendToRouteRequest.Builder>public LightningApi.SendToRouteRequest.Builder mergeFrom(LightningApi.SendToRouteRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendToRouteRequest.Builder>public LightningApi.SendToRouteRequest.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<LightningApi.SendToRouteRequest.Builder>java.io.IOExceptionpublic com.google.protobuf.ByteString getPaymentHash()
The payment hash to use for the HTLC. When using REST, this field must be encoded as base64.
bytes payment_hash = 1;getPaymentHash in interface LightningApi.SendToRouteRequestOrBuilderpublic LightningApi.SendToRouteRequest.Builder setPaymentHash(com.google.protobuf.ByteString value)
The payment hash to use for the HTLC. When using REST, this field must be encoded as base64.
bytes payment_hash = 1;value - The paymentHash to set.public LightningApi.SendToRouteRequest.Builder clearPaymentHash()
The payment hash to use for the HTLC. When using REST, this field must be encoded as base64.
bytes payment_hash = 1;@Deprecated public java.lang.String getPaymentHashString()
An optional hex-encoded payment hash to be used for the HTLC. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string payment_hash_string = 2 [deprecated = true];getPaymentHashString in interface LightningApi.SendToRouteRequestOrBuilder@Deprecated public com.google.protobuf.ByteString getPaymentHashStringBytes()
An optional hex-encoded payment hash to be used for the HTLC. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string payment_hash_string = 2 [deprecated = true];getPaymentHashStringBytes in interface LightningApi.SendToRouteRequestOrBuilder@Deprecated public LightningApi.SendToRouteRequest.Builder setPaymentHashString(java.lang.String value)
An optional hex-encoded payment hash to be used for the HTLC. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string payment_hash_string = 2 [deprecated = true];value - The paymentHashString to set.@Deprecated public LightningApi.SendToRouteRequest.Builder clearPaymentHashString()
An optional hex-encoded payment hash to be used for the HTLC. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string payment_hash_string = 2 [deprecated = true];@Deprecated public LightningApi.SendToRouteRequest.Builder setPaymentHashStringBytes(com.google.protobuf.ByteString value)
An optional hex-encoded payment hash to be used for the HTLC. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string payment_hash_string = 2 [deprecated = true];value - The bytes for paymentHashString to set.public boolean hasRoute()
Route that should be used to attempt to complete the payment.
.lnrpc.Route route = 4;hasRoute in interface LightningApi.SendToRouteRequestOrBuilderpublic LightningApi.Route getRoute()
Route that should be used to attempt to complete the payment.
.lnrpc.Route route = 4;getRoute in interface LightningApi.SendToRouteRequestOrBuilderpublic LightningApi.SendToRouteRequest.Builder setRoute(LightningApi.Route value)
Route that should be used to attempt to complete the payment.
.lnrpc.Route route = 4;public LightningApi.SendToRouteRequest.Builder setRoute(LightningApi.Route.Builder builderForValue)
Route that should be used to attempt to complete the payment.
.lnrpc.Route route = 4;public LightningApi.SendToRouteRequest.Builder mergeRoute(LightningApi.Route value)
Route that should be used to attempt to complete the payment.
.lnrpc.Route route = 4;public LightningApi.SendToRouteRequest.Builder clearRoute()
Route that should be used to attempt to complete the payment.
.lnrpc.Route route = 4;public LightningApi.Route.Builder getRouteBuilder()
Route that should be used to attempt to complete the payment.
.lnrpc.Route route = 4;public LightningApi.RouteOrBuilder getRouteOrBuilder()
Route that should be used to attempt to complete the payment.
.lnrpc.Route route = 4;getRouteOrBuilder in interface LightningApi.SendToRouteRequestOrBuilderpublic final LightningApi.SendToRouteRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendToRouteRequest.Builder>public final LightningApi.SendToRouteRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.SendToRouteRequest.Builder>