public static final class LightningApi.DeleteAllPaymentsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.DeleteAllPaymentsRequest.Builder> implements LightningApi.DeleteAllPaymentsRequestOrBuilder
lnrpc.DeleteAllPaymentsRequest
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.DeleteAllPaymentsRequest.Builder>
public LightningApi.DeleteAllPaymentsRequest.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.DeleteAllPaymentsRequest.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.DeleteAllPaymentsRequest.Builder>
public LightningApi.DeleteAllPaymentsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.DeleteAllPaymentsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.DeleteAllPaymentsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.DeleteAllPaymentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.DeleteAllPaymentsRequest.Builder>
public LightningApi.DeleteAllPaymentsRequest.Builder mergeFrom(LightningApi.DeleteAllPaymentsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.DeleteAllPaymentsRequest.Builder>
public LightningApi.DeleteAllPaymentsRequest.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.DeleteAllPaymentsRequest.Builder>
java.io.IOException
public boolean getFailedPaymentsOnly()
Only delete failed payments.
bool failed_payments_only = 1;
getFailedPaymentsOnly
in interface LightningApi.DeleteAllPaymentsRequestOrBuilder
public LightningApi.DeleteAllPaymentsRequest.Builder setFailedPaymentsOnly(boolean value)
Only delete failed payments.
bool failed_payments_only = 1;
value
- The failedPaymentsOnly to set.public LightningApi.DeleteAllPaymentsRequest.Builder clearFailedPaymentsOnly()
Only delete failed payments.
bool failed_payments_only = 1;
public boolean getFailedHtlcsOnly()
Only delete failed HTLCs from payments, not the payment itself.
bool failed_htlcs_only = 2;
getFailedHtlcsOnly
in interface LightningApi.DeleteAllPaymentsRequestOrBuilder
public LightningApi.DeleteAllPaymentsRequest.Builder setFailedHtlcsOnly(boolean value)
Only delete failed HTLCs from payments, not the payment itself.
bool failed_htlcs_only = 2;
value
- The failedHtlcsOnly to set.public LightningApi.DeleteAllPaymentsRequest.Builder clearFailedHtlcsOnly()
Only delete failed HTLCs from payments, not the payment itself.
bool failed_htlcs_only = 2;
public final LightningApi.DeleteAllPaymentsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.DeleteAllPaymentsRequest.Builder>
public final LightningApi.DeleteAllPaymentsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.DeleteAllPaymentsRequest.Builder>