public static interface LightningApi.ListPaymentsResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getFirstIndexOffset()
The index of the first item in the set of returned payments.
|
long |
getLastIndexOffset()
The index of the last item in the set of returned payments.
|
LightningApi.Payment |
getPayments(int index)
The list of payments
|
int |
getPaymentsCount()
The list of payments
|
java.util.List<LightningApi.Payment> |
getPaymentsList()
The list of payments
|
LightningApi.PaymentOrBuilder |
getPaymentsOrBuilder(int index)
The list of payments
|
java.util.List<? extends LightningApi.PaymentOrBuilder> |
getPaymentsOrBuilderList()
The list of payments
|
long |
getTotalNumPayments()
Will only be set if count_total_payments in the request was set.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.util.List<LightningApi.Payment> getPaymentsList()
The list of payments
repeated .lnrpc.Payment payments = 1;
LightningApi.Payment getPayments(int index)
The list of payments
repeated .lnrpc.Payment payments = 1;
int getPaymentsCount()
The list of payments
repeated .lnrpc.Payment payments = 1;
java.util.List<? extends LightningApi.PaymentOrBuilder> getPaymentsOrBuilderList()
The list of payments
repeated .lnrpc.Payment payments = 1;
LightningApi.PaymentOrBuilder getPaymentsOrBuilder(int index)
The list of payments
repeated .lnrpc.Payment payments = 1;
long getFirstIndexOffset()
The index of the first item in the set of returned payments. This can be used as the index_offset to continue seeking backwards in the next request.
uint64 first_index_offset = 2;
long getLastIndexOffset()
The index of the last item in the set of returned payments. This can be used as the index_offset to continue seeking forwards in the next request.
uint64 last_index_offset = 3;
long getTotalNumPayments()
Will only be set if count_total_payments in the request was set. Represents the total number of payments (complete and incomplete, independent of the number of payments requested in the query) currently present in the payments database.
uint64 total_num_payments = 4;