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, 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.ListInvoiceResponse.Builder>
public LightningApi.ListInvoiceResponse.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.ListInvoiceResponse.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.ListInvoiceResponse.Builder>
public LightningApi.ListInvoiceResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.ListInvoiceResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ListInvoiceResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ListInvoiceResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ListInvoiceResponse.Builder>
java.io.IOException
public 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.ListInvoiceResponseOrBuilder
public 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.ListInvoiceResponseOrBuilder
public 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.ListInvoiceResponseOrBuilder
public 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.ListInvoiceResponseOrBuilder
public 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.ListInvoiceResponseOrBuilder
public 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.ListInvoiceResponseOrBuilder
public 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.ListInvoiceResponseOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListInvoiceResponse.Builder>