public static final class LightningApi.ListInvoiceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListInvoiceRequest.Builder> implements LightningApi.ListInvoiceRequestOrBuilder
lnrpc.ListInvoiceRequest| Modifier and Type | Method and Description |
|---|---|
LightningApi.ListInvoiceRequest |
build() |
LightningApi.ListInvoiceRequest |
buildPartial() |
LightningApi.ListInvoiceRequest.Builder |
clear() |
LightningApi.ListInvoiceRequest.Builder |
clearCreationDateEnd()
If set, returns all invoices with a creation date less than or equal to
it.
|
LightningApi.ListInvoiceRequest.Builder |
clearCreationDateStart()
If set, returns all invoices with a creation date greater than or equal
to it.
|
LightningApi.ListInvoiceRequest.Builder |
clearIndexOffset()
The index of an invoice that will be used as either the start or end of a
query to determine which invoices should be returned in the response.
|
LightningApi.ListInvoiceRequest.Builder |
clearNumMaxInvoices()
The max number of invoices to return in the response to this query.
|
LightningApi.ListInvoiceRequest.Builder |
clearPendingOnly()
If set, only invoices that are not settled and not canceled will be returned
in the response.
|
LightningApi.ListInvoiceRequest.Builder |
clearReversed()
If set, the invoices returned will result from seeking backwards from the
specified index offset.
|
long |
getCreationDateEnd()
If set, returns all invoices with a creation date less than or equal to
it.
|
long |
getCreationDateStart()
If set, returns all invoices with a creation date greater than or equal
to it.
|
LightningApi.ListInvoiceRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getIndexOffset()
The index of an invoice that will be used as either the start or end of a
query to determine which invoices should be returned in the response.
|
long |
getNumMaxInvoices()
The max number of invoices to return in the response to this query.
|
boolean |
getPendingOnly()
If set, only invoices that are not settled and not canceled will be returned
in the response.
|
boolean |
getReversed()
If set, the invoices returned will result from seeking backwards from the
specified index offset.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ListInvoiceRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ListInvoiceRequest.Builder |
mergeFrom(LightningApi.ListInvoiceRequest other) |
LightningApi.ListInvoiceRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ListInvoiceRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ListInvoiceRequest.Builder |
setCreationDateEnd(long value)
If set, returns all invoices with a creation date less than or equal to
it.
|
LightningApi.ListInvoiceRequest.Builder |
setCreationDateStart(long value)
If set, returns all invoices with a creation date greater than or equal
to it.
|
LightningApi.ListInvoiceRequest.Builder |
setIndexOffset(long value)
The index of an invoice that will be used as either the start or end of a
query to determine which invoices should be returned in the response.
|
LightningApi.ListInvoiceRequest.Builder |
setNumMaxInvoices(long value)
The max number of invoices to return in the response to this query.
|
LightningApi.ListInvoiceRequest.Builder |
setPendingOnly(boolean value)
If set, only invoices that are not settled and not canceled will be returned
in the response.
|
LightningApi.ListInvoiceRequest.Builder |
setReversed(boolean value)
If set, the invoices returned will result from seeking backwards from the
specified index offset.
|
LightningApi.ListInvoiceRequest.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.ListInvoiceRequest.Builder>public LightningApi.ListInvoiceRequest.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.ListInvoiceRequest.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.ListInvoiceRequest.Builder>public LightningApi.ListInvoiceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.ListInvoiceRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ListInvoiceRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ListInvoiceRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ListInvoiceRequest.Builder>public LightningApi.ListInvoiceRequest.Builder mergeFrom(LightningApi.ListInvoiceRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListInvoiceRequest.Builder>public LightningApi.ListInvoiceRequest.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.ListInvoiceRequest.Builder>java.io.IOExceptionpublic boolean getPendingOnly()
If set, only invoices that are not settled and not canceled will be returned in the response.
bool pending_only = 1;getPendingOnly in interface LightningApi.ListInvoiceRequestOrBuilderpublic LightningApi.ListInvoiceRequest.Builder setPendingOnly(boolean value)
If set, only invoices that are not settled and not canceled will be returned in the response.
bool pending_only = 1;value - The pendingOnly to set.public LightningApi.ListInvoiceRequest.Builder clearPendingOnly()
If set, only invoices that are not settled and not canceled will be returned in the response.
bool pending_only = 1;public long getIndexOffset()
The index of an invoice that will be used as either the start or end of a query to determine which invoices should be returned in the response.
uint64 index_offset = 4;getIndexOffset in interface LightningApi.ListInvoiceRequestOrBuilderpublic LightningApi.ListInvoiceRequest.Builder setIndexOffset(long value)
The index of an invoice that will be used as either the start or end of a query to determine which invoices should be returned in the response.
uint64 index_offset = 4;value - The indexOffset to set.public LightningApi.ListInvoiceRequest.Builder clearIndexOffset()
The index of an invoice that will be used as either the start or end of a query to determine which invoices should be returned in the response.
uint64 index_offset = 4;public long getNumMaxInvoices()
The max number of invoices to return in the response to this query.
uint64 num_max_invoices = 5;getNumMaxInvoices in interface LightningApi.ListInvoiceRequestOrBuilderpublic LightningApi.ListInvoiceRequest.Builder setNumMaxInvoices(long value)
The max number of invoices to return in the response to this query.
uint64 num_max_invoices = 5;value - The numMaxInvoices to set.public LightningApi.ListInvoiceRequest.Builder clearNumMaxInvoices()
The max number of invoices to return in the response to this query.
uint64 num_max_invoices = 5;public boolean getReversed()
If set, the invoices returned will result from seeking backwards from the specified index offset. This can be used to paginate backwards.
bool reversed = 6;getReversed in interface LightningApi.ListInvoiceRequestOrBuilderpublic LightningApi.ListInvoiceRequest.Builder setReversed(boolean value)
If set, the invoices returned will result from seeking backwards from the specified index offset. This can be used to paginate backwards.
bool reversed = 6;value - The reversed to set.public LightningApi.ListInvoiceRequest.Builder clearReversed()
If set, the invoices returned will result from seeking backwards from the specified index offset. This can be used to paginate backwards.
bool reversed = 6;public long getCreationDateStart()
If set, returns all invoices with a creation date greater than or equal to it. Measured in seconds since the unix epoch.
uint64 creation_date_start = 7;getCreationDateStart in interface LightningApi.ListInvoiceRequestOrBuilderpublic LightningApi.ListInvoiceRequest.Builder setCreationDateStart(long value)
If set, returns all invoices with a creation date greater than or equal to it. Measured in seconds since the unix epoch.
uint64 creation_date_start = 7;value - The creationDateStart to set.public LightningApi.ListInvoiceRequest.Builder clearCreationDateStart()
If set, returns all invoices with a creation date greater than or equal to it. Measured in seconds since the unix epoch.
uint64 creation_date_start = 7;public long getCreationDateEnd()
If set, returns all invoices with a creation date less than or equal to it. Measured in seconds since the unix epoch.
uint64 creation_date_end = 8;getCreationDateEnd in interface LightningApi.ListInvoiceRequestOrBuilderpublic LightningApi.ListInvoiceRequest.Builder setCreationDateEnd(long value)
If set, returns all invoices with a creation date less than or equal to it. Measured in seconds since the unix epoch.
uint64 creation_date_end = 8;value - The creationDateEnd to set.public LightningApi.ListInvoiceRequest.Builder clearCreationDateEnd()
If set, returns all invoices with a creation date less than or equal to it. Measured in seconds since the unix epoch.
uint64 creation_date_end = 8;public final LightningApi.ListInvoiceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListInvoiceRequest.Builder>public final LightningApi.ListInvoiceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListInvoiceRequest.Builder>