public static final class LightningApi.AMPInvoiceState.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AMPInvoiceState.Builder> implements LightningApi.AMPInvoiceStateOrBuilder
lnrpc.AMPInvoiceState| Modifier and Type | Method and Description |
|---|---|
LightningApi.AMPInvoiceState |
build() |
LightningApi.AMPInvoiceState |
buildPartial() |
LightningApi.AMPInvoiceState.Builder |
clear() |
LightningApi.AMPInvoiceState.Builder |
clearAmtPaidMsat()
The total amount paid for the sub-invoice expressed in milli satoshis.
|
LightningApi.AMPInvoiceState.Builder |
clearSettleIndex()
The settle index of this HTLC set, if the invoice state is settled.
|
LightningApi.AMPInvoiceState.Builder |
clearSettleTime()
The time this HTLC set was settled expressed in unix epoch.
|
LightningApi.AMPInvoiceState.Builder |
clearState()
The state the HTLCs associated with this setID are in.
|
long |
getAmtPaidMsat()
The total amount paid for the sub-invoice expressed in milli satoshis.
|
LightningApi.AMPInvoiceState |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getSettleIndex()
The settle index of this HTLC set, if the invoice state is settled.
|
long |
getSettleTime()
The time this HTLC set was settled expressed in unix epoch.
|
LightningApi.InvoiceHTLCState |
getState()
The state the HTLCs associated with this setID are in.
|
int |
getStateValue()
The state the HTLCs associated with this setID are in.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.AMPInvoiceState.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.AMPInvoiceState.Builder |
mergeFrom(LightningApi.AMPInvoiceState other) |
LightningApi.AMPInvoiceState.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.AMPInvoiceState.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.AMPInvoiceState.Builder |
setAmtPaidMsat(long value)
The total amount paid for the sub-invoice expressed in milli satoshis.
|
LightningApi.AMPInvoiceState.Builder |
setSettleIndex(long value)
The settle index of this HTLC set, if the invoice state is settled.
|
LightningApi.AMPInvoiceState.Builder |
setSettleTime(long value)
The time this HTLC set was settled expressed in unix epoch.
|
LightningApi.AMPInvoiceState.Builder |
setState(LightningApi.InvoiceHTLCState value)
The state the HTLCs associated with this setID are in.
|
LightningApi.AMPInvoiceState.Builder |
setStateValue(int value)
The state the HTLCs associated with this setID are in.
|
LightningApi.AMPInvoiceState.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.AMPInvoiceState.Builder>public LightningApi.AMPInvoiceState.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.AMPInvoiceState.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.AMPInvoiceState.Builder>public LightningApi.AMPInvoiceState getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.AMPInvoiceState build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.AMPInvoiceState buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.AMPInvoiceState.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.AMPInvoiceState.Builder>public LightningApi.AMPInvoiceState.Builder mergeFrom(LightningApi.AMPInvoiceState other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AMPInvoiceState.Builder>public LightningApi.AMPInvoiceState.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.AMPInvoiceState.Builder>java.io.IOExceptionpublic int getStateValue()
The state the HTLCs associated with this setID are in.
.lnrpc.InvoiceHTLCState state = 1;getStateValue in interface LightningApi.AMPInvoiceStateOrBuilderpublic LightningApi.AMPInvoiceState.Builder setStateValue(int value)
The state the HTLCs associated with this setID are in.
.lnrpc.InvoiceHTLCState state = 1;value - The enum numeric value on the wire for state to set.public LightningApi.InvoiceHTLCState getState()
The state the HTLCs associated with this setID are in.
.lnrpc.InvoiceHTLCState state = 1;getState in interface LightningApi.AMPInvoiceStateOrBuilderpublic LightningApi.AMPInvoiceState.Builder setState(LightningApi.InvoiceHTLCState value)
The state the HTLCs associated with this setID are in.
.lnrpc.InvoiceHTLCState state = 1;value - The state to set.public LightningApi.AMPInvoiceState.Builder clearState()
The state the HTLCs associated with this setID are in.
.lnrpc.InvoiceHTLCState state = 1;public long getSettleIndex()
The settle index of this HTLC set, if the invoice state is settled.
uint64 settle_index = 2;getSettleIndex in interface LightningApi.AMPInvoiceStateOrBuilderpublic LightningApi.AMPInvoiceState.Builder setSettleIndex(long value)
The settle index of this HTLC set, if the invoice state is settled.
uint64 settle_index = 2;value - The settleIndex to set.public LightningApi.AMPInvoiceState.Builder clearSettleIndex()
The settle index of this HTLC set, if the invoice state is settled.
uint64 settle_index = 2;public long getSettleTime()
The time this HTLC set was settled expressed in unix epoch.
int64 settle_time = 3;getSettleTime in interface LightningApi.AMPInvoiceStateOrBuilderpublic LightningApi.AMPInvoiceState.Builder setSettleTime(long value)
The time this HTLC set was settled expressed in unix epoch.
int64 settle_time = 3;value - The settleTime to set.public LightningApi.AMPInvoiceState.Builder clearSettleTime()
The time this HTLC set was settled expressed in unix epoch.
int64 settle_time = 3;public long getAmtPaidMsat()
The total amount paid for the sub-invoice expressed in milli satoshis.
int64 amt_paid_msat = 5;getAmtPaidMsat in interface LightningApi.AMPInvoiceStateOrBuilderpublic LightningApi.AMPInvoiceState.Builder setAmtPaidMsat(long value)
The total amount paid for the sub-invoice expressed in milli satoshis.
int64 amt_paid_msat = 5;value - The amtPaidMsat to set.public LightningApi.AMPInvoiceState.Builder clearAmtPaidMsat()
The total amount paid for the sub-invoice expressed in milli satoshis.
int64 amt_paid_msat = 5;public final LightningApi.AMPInvoiceState.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AMPInvoiceState.Builder>public final LightningApi.AMPInvoiceState.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AMPInvoiceState.Builder>