public static final class LightningApi.ListPaymentsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPaymentsResponse.Builder> implements LightningApi.ListPaymentsResponseOrBuilder
lnrpc.ListPaymentsResponseaddRepeatedField, 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.ListPaymentsResponse.Builder>public LightningApi.ListPaymentsResponse.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.ListPaymentsResponse.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.ListPaymentsResponse.Builder>public LightningApi.ListPaymentsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.ListPaymentsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ListPaymentsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ListPaymentsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ListPaymentsResponse.Builder>public LightningApi.ListPaymentsResponse.Builder mergeFrom(LightningApi.ListPaymentsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPaymentsResponse.Builder>public LightningApi.ListPaymentsResponse.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.ListPaymentsResponse.Builder>java.io.IOExceptionpublic java.util.List<LightningApi.Payment> getPaymentsList()
The list of payments
repeated .lnrpc.Payment payments = 1;getPaymentsList in interface LightningApi.ListPaymentsResponseOrBuilderpublic int getPaymentsCount()
The list of payments
repeated .lnrpc.Payment payments = 1;getPaymentsCount in interface LightningApi.ListPaymentsResponseOrBuilderpublic LightningApi.Payment getPayments(int index)
The list of payments
repeated .lnrpc.Payment payments = 1;getPayments in interface LightningApi.ListPaymentsResponseOrBuilderpublic LightningApi.ListPaymentsResponse.Builder setPayments(int index, LightningApi.Payment value)
The list of payments
repeated .lnrpc.Payment payments = 1;public LightningApi.ListPaymentsResponse.Builder setPayments(int index, LightningApi.Payment.Builder builderForValue)
The list of payments
repeated .lnrpc.Payment payments = 1;public LightningApi.ListPaymentsResponse.Builder addPayments(LightningApi.Payment value)
The list of payments
repeated .lnrpc.Payment payments = 1;public LightningApi.ListPaymentsResponse.Builder addPayments(int index, LightningApi.Payment value)
The list of payments
repeated .lnrpc.Payment payments = 1;public LightningApi.ListPaymentsResponse.Builder addPayments(LightningApi.Payment.Builder builderForValue)
The list of payments
repeated .lnrpc.Payment payments = 1;public LightningApi.ListPaymentsResponse.Builder addPayments(int index, LightningApi.Payment.Builder builderForValue)
The list of payments
repeated .lnrpc.Payment payments = 1;public LightningApi.ListPaymentsResponse.Builder addAllPayments(java.lang.Iterable<? extends LightningApi.Payment> values)
The list of payments
repeated .lnrpc.Payment payments = 1;public LightningApi.ListPaymentsResponse.Builder clearPayments()
The list of payments
repeated .lnrpc.Payment payments = 1;public LightningApi.ListPaymentsResponse.Builder removePayments(int index)
The list of payments
repeated .lnrpc.Payment payments = 1;public LightningApi.Payment.Builder getPaymentsBuilder(int index)
The list of payments
repeated .lnrpc.Payment payments = 1;public LightningApi.PaymentOrBuilder getPaymentsOrBuilder(int index)
The list of payments
repeated .lnrpc.Payment payments = 1;getPaymentsOrBuilder in interface LightningApi.ListPaymentsResponseOrBuilderpublic java.util.List<? extends LightningApi.PaymentOrBuilder> getPaymentsOrBuilderList()
The list of payments
repeated .lnrpc.Payment payments = 1;getPaymentsOrBuilderList in interface LightningApi.ListPaymentsResponseOrBuilderpublic LightningApi.Payment.Builder addPaymentsBuilder()
The list of payments
repeated .lnrpc.Payment payments = 1;public LightningApi.Payment.Builder addPaymentsBuilder(int index)
The list of payments
repeated .lnrpc.Payment payments = 1;public java.util.List<LightningApi.Payment.Builder> getPaymentsBuilderList()
The list of payments
repeated .lnrpc.Payment payments = 1;public 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;getFirstIndexOffset in interface LightningApi.ListPaymentsResponseOrBuilderpublic LightningApi.ListPaymentsResponse.Builder setFirstIndexOffset(long value)
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;value - The firstIndexOffset to set.public LightningApi.ListPaymentsResponse.Builder clearFirstIndexOffset()
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;public 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;getLastIndexOffset in interface LightningApi.ListPaymentsResponseOrBuilderpublic LightningApi.ListPaymentsResponse.Builder setLastIndexOffset(long value)
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;value - The lastIndexOffset to set.public LightningApi.ListPaymentsResponse.Builder clearLastIndexOffset()
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;public 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;getTotalNumPayments in interface LightningApi.ListPaymentsResponseOrBuilderpublic LightningApi.ListPaymentsResponse.Builder setTotalNumPayments(long value)
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;value - The totalNumPayments to set.public LightningApi.ListPaymentsResponse.Builder clearTotalNumPayments()
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;public final LightningApi.ListPaymentsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPaymentsResponse.Builder>public final LightningApi.ListPaymentsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPaymentsResponse.Builder>