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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MPPRecord.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MPPRecord.Builder>
public LightningApi.MPPRecord getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.MPPRecord build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.MPPRecord buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.MPPRecord.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.MPPRecord.Builder>
java.io.IOException
public 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.MPPRecordOrBuilder
public 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.MPPRecordOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MPPRecord.Builder>