public static final class LightningApi.ListInvoiceResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListInvoiceResponse.Builder> implements LightningApi.ListInvoiceResponseOrBuilder
lnrpc.ListInvoiceResponse| Modifier and Type | Method and Description |
|---|---|
LightningApi.ListInvoiceResponse.Builder |
addAllInvoices(java.lang.Iterable<? extends LightningApi.Invoice> values)
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.ListInvoiceResponse.Builder |
addInvoices(int index,
LightningApi.Invoice.Builder builderForValue)
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.ListInvoiceResponse.Builder |
addInvoices(int index,
LightningApi.Invoice value)
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.ListInvoiceResponse.Builder |
addInvoices(LightningApi.Invoice.Builder builderForValue)
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.ListInvoiceResponse.Builder |
addInvoices(LightningApi.Invoice value)
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.Invoice.Builder |
addInvoicesBuilder()
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.Invoice.Builder |
addInvoicesBuilder(int index)
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.ListInvoiceResponse |
build() |
LightningApi.ListInvoiceResponse |
buildPartial() |
LightningApi.ListInvoiceResponse.Builder |
clear() |
LightningApi.ListInvoiceResponse.Builder |
clearFirstIndexOffset()
The index of the last item in the set of returned invoices.
|
LightningApi.ListInvoiceResponse.Builder |
clearInvoices()
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.ListInvoiceResponse.Builder |
clearLastIndexOffset()
The index of the last item in the set of returned invoices.
|
LightningApi.ListInvoiceResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getFirstIndexOffset()
The index of the last item in the set of returned invoices.
|
LightningApi.Invoice |
getInvoices(int index)
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.Invoice.Builder |
getInvoicesBuilder(int index)
A list of invoices from the time slice of the time series specified in the
request.
|
java.util.List<LightningApi.Invoice.Builder> |
getInvoicesBuilderList()
A list of invoices from the time slice of the time series specified in the
request.
|
int |
getInvoicesCount()
A list of invoices from the time slice of the time series specified in the
request.
|
java.util.List<LightningApi.Invoice> |
getInvoicesList()
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.InvoiceOrBuilder |
getInvoicesOrBuilder(int index)
A list of invoices from the time slice of the time series specified in the
request.
|
java.util.List<? extends LightningApi.InvoiceOrBuilder> |
getInvoicesOrBuilderList()
A list of invoices from the time slice of the time series specified in the
request.
|
long |
getLastIndexOffset()
The index of the last item in the set of returned invoices.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ListInvoiceResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ListInvoiceResponse.Builder |
mergeFrom(LightningApi.ListInvoiceResponse other) |
LightningApi.ListInvoiceResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ListInvoiceResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ListInvoiceResponse.Builder |
removeInvoices(int index)
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.ListInvoiceResponse.Builder |
setFirstIndexOffset(long value)
The index of the last item in the set of returned invoices.
|
LightningApi.ListInvoiceResponse.Builder |
setInvoices(int index,
LightningApi.Invoice.Builder builderForValue)
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.ListInvoiceResponse.Builder |
setInvoices(int index,
LightningApi.Invoice value)
A list of invoices from the time slice of the time series specified in the
request.
|
LightningApi.ListInvoiceResponse.Builder |
setLastIndexOffset(long value)
The index of the last item in the set of returned invoices.
|
LightningApi.ListInvoiceResponse.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.ListInvoiceResponse.Builder>public LightningApi.ListInvoiceResponse.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.ListInvoiceResponse.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.ListInvoiceResponse.Builder>public LightningApi.ListInvoiceResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.ListInvoiceResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ListInvoiceResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ListInvoiceResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ListInvoiceResponse.Builder>public LightningApi.ListInvoiceResponse.Builder mergeFrom(LightningApi.ListInvoiceResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListInvoiceResponse.Builder>public LightningApi.ListInvoiceResponse.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.ListInvoiceResponse.Builder>java.io.IOExceptionpublic java.util.List<LightningApi.Invoice> getInvoicesList()
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;getInvoicesList in interface LightningApi.ListInvoiceResponseOrBuilderpublic int getInvoicesCount()
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;getInvoicesCount in interface LightningApi.ListInvoiceResponseOrBuilderpublic LightningApi.Invoice getInvoices(int index)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;getInvoices in interface LightningApi.ListInvoiceResponseOrBuilderpublic LightningApi.ListInvoiceResponse.Builder setInvoices(int index, LightningApi.Invoice value)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public LightningApi.ListInvoiceResponse.Builder setInvoices(int index, LightningApi.Invoice.Builder builderForValue)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public LightningApi.ListInvoiceResponse.Builder addInvoices(LightningApi.Invoice value)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public LightningApi.ListInvoiceResponse.Builder addInvoices(int index, LightningApi.Invoice value)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public LightningApi.ListInvoiceResponse.Builder addInvoices(LightningApi.Invoice.Builder builderForValue)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public LightningApi.ListInvoiceResponse.Builder addInvoices(int index, LightningApi.Invoice.Builder builderForValue)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public LightningApi.ListInvoiceResponse.Builder addAllInvoices(java.lang.Iterable<? extends LightningApi.Invoice> values)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public LightningApi.ListInvoiceResponse.Builder clearInvoices()
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public LightningApi.ListInvoiceResponse.Builder removeInvoices(int index)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public LightningApi.Invoice.Builder getInvoicesBuilder(int index)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public LightningApi.InvoiceOrBuilder getInvoicesOrBuilder(int index)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;getInvoicesOrBuilder in interface LightningApi.ListInvoiceResponseOrBuilderpublic java.util.List<? extends LightningApi.InvoiceOrBuilder> getInvoicesOrBuilderList()
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;getInvoicesOrBuilderList in interface LightningApi.ListInvoiceResponseOrBuilderpublic LightningApi.Invoice.Builder addInvoicesBuilder()
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public LightningApi.Invoice.Builder addInvoicesBuilder(int index)
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public java.util.List<LightningApi.Invoice.Builder> getInvoicesBuilderList()
A list of invoices from the time slice of the time series specified in the request.
repeated .lnrpc.Invoice invoices = 1;public long getLastIndexOffset()
The index of the last item in the set of returned invoices. This can be used to seek further, pagination style.
uint64 last_index_offset = 2;getLastIndexOffset in interface LightningApi.ListInvoiceResponseOrBuilderpublic LightningApi.ListInvoiceResponse.Builder setLastIndexOffset(long value)
The index of the last item in the set of returned invoices. This can be used to seek further, pagination style.
uint64 last_index_offset = 2;value - The lastIndexOffset to set.public LightningApi.ListInvoiceResponse.Builder clearLastIndexOffset()
The index of the last item in the set of returned invoices. This can be used to seek further, pagination style.
uint64 last_index_offset = 2;public long getFirstIndexOffset()
The index of the last item in the set of returned invoices. This can be used to seek backwards, pagination style.
uint64 first_index_offset = 3;getFirstIndexOffset in interface LightningApi.ListInvoiceResponseOrBuilderpublic LightningApi.ListInvoiceResponse.Builder setFirstIndexOffset(long value)
The index of the last item in the set of returned invoices. This can be used to seek backwards, pagination style.
uint64 first_index_offset = 3;value - The firstIndexOffset to set.public LightningApi.ListInvoiceResponse.Builder clearFirstIndexOffset()
The index of the last item in the set of returned invoices. This can be used to seek backwards, pagination style.
uint64 first_index_offset = 3;public final LightningApi.ListInvoiceResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListInvoiceResponse.Builder>public final LightningApi.ListInvoiceResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListInvoiceResponse.Builder>