public static final class LightningApi.MPPRecord.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MPPRecord.Builder> implements LightningApi.MPPRecordOrBuilder
lnrpc.MPPRecord| Modifier and Type | Method and Description |
|---|---|
LightningApi.MPPRecord |
build() |
LightningApi.MPPRecord |
buildPartial() |
LightningApi.MPPRecord.Builder |
clear() |
LightningApi.MPPRecord.Builder |
clearPaymentAddr()
A unique, random identifier used to authenticate the sender as the intended
payer of a multi-path payment.
|
LightningApi.MPPRecord.Builder |
clearTotalAmtMsat()
The total amount in milli-satoshis being sent as part of a larger multi-path
payment.
|
LightningApi.MPPRecord |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getPaymentAddr()
A unique, random identifier used to authenticate the sender as the intended
payer of a multi-path payment.
|
long |
getTotalAmtMsat()
The total amount in milli-satoshis being sent as part of a larger multi-path
payment.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.MPPRecord.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.MPPRecord.Builder |
mergeFrom(LightningApi.MPPRecord other) |
LightningApi.MPPRecord.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.MPPRecord.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.MPPRecord.Builder |
setPaymentAddr(com.google.protobuf.ByteString value)
A unique, random identifier used to authenticate the sender as the intended
payer of a multi-path payment.
|
LightningApi.MPPRecord.Builder |
setTotalAmtMsat(long value)
The total amount in milli-satoshis being sent as part of a larger multi-path
payment.
|
LightningApi.MPPRecord.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.MPPRecord.Builder>public LightningApi.MPPRecord.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.MPPRecord.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.MPPRecord.Builder>public LightningApi.MPPRecord getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.MPPRecord build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.MPPRecord buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.MPPRecord.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.MPPRecord.Builder>public LightningApi.MPPRecord.Builder mergeFrom(LightningApi.MPPRecord other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MPPRecord.Builder>public LightningApi.MPPRecord.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.MPPRecord.Builder>java.io.IOExceptionpublic com.google.protobuf.ByteString getPaymentAddr()
A unique, random identifier used to authenticate the sender as the intended payer of a multi-path payment. The payment_addr must be the same for all subpayments, and match the payment_addr provided in the receiver's invoice. The same payment_addr must be used on all subpayments.
bytes payment_addr = 11;getPaymentAddr in interface LightningApi.MPPRecordOrBuilderpublic LightningApi.MPPRecord.Builder setPaymentAddr(com.google.protobuf.ByteString value)
A unique, random identifier used to authenticate the sender as the intended payer of a multi-path payment. The payment_addr must be the same for all subpayments, and match the payment_addr provided in the receiver's invoice. The same payment_addr must be used on all subpayments.
bytes payment_addr = 11;value - The paymentAddr to set.public LightningApi.MPPRecord.Builder clearPaymentAddr()
A unique, random identifier used to authenticate the sender as the intended payer of a multi-path payment. The payment_addr must be the same for all subpayments, and match the payment_addr provided in the receiver's invoice. The same payment_addr must be used on all subpayments.
bytes payment_addr = 11;public long getTotalAmtMsat()
The total amount in milli-satoshis being sent as part of a larger multi-path payment. The caller is responsible for ensuring subpayments to the same node and payment_hash sum exactly to total_amt_msat. The same total_amt_msat must be used on all subpayments.
int64 total_amt_msat = 10;getTotalAmtMsat in interface LightningApi.MPPRecordOrBuilderpublic LightningApi.MPPRecord.Builder setTotalAmtMsat(long value)
The total amount in milli-satoshis being sent as part of a larger multi-path payment. The caller is responsible for ensuring subpayments to the same node and payment_hash sum exactly to total_amt_msat. The same total_amt_msat must be used on all subpayments.
int64 total_amt_msat = 10;value - The totalAmtMsat to set.public LightningApi.MPPRecord.Builder clearTotalAmtMsat()
The total amount in milli-satoshis being sent as part of a larger multi-path payment. The caller is responsible for ensuring subpayments to the same node and payment_hash sum exactly to total_amt_msat. The same total_amt_msat must be used on all subpayments.
int64 total_amt_msat = 10;public final LightningApi.MPPRecord.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MPPRecord.Builder>public final LightningApi.MPPRecord.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MPPRecord.Builder>