public static final class LightningApi.GetTransactionsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetTransactionsRequest.Builder> implements LightningApi.GetTransactionsRequestOrBuilder
lnrpc.GetTransactionsRequest| Modifier and Type | Method and Description |
|---|---|
LightningApi.GetTransactionsRequest |
build() |
LightningApi.GetTransactionsRequest |
buildPartial() |
LightningApi.GetTransactionsRequest.Builder |
clear() |
LightningApi.GetTransactionsRequest.Builder |
clearAccount()
An optional filter to only include transactions relevant to an account.
|
LightningApi.GetTransactionsRequest.Builder |
clearEndHeight()
The height until which to list transactions, inclusive.
|
LightningApi.GetTransactionsRequest.Builder |
clearStartHeight()
The height from which to list transactions, inclusive.
|
java.lang.String |
getAccount()
An optional filter to only include transactions relevant to an account.
|
com.google.protobuf.ByteString |
getAccountBytes()
An optional filter to only include transactions relevant to an account.
|
LightningApi.GetTransactionsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getEndHeight()
The height until which to list transactions, inclusive.
|
int |
getStartHeight()
The height from which to list transactions, inclusive.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.GetTransactionsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.GetTransactionsRequest.Builder |
mergeFrom(LightningApi.GetTransactionsRequest other) |
LightningApi.GetTransactionsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.GetTransactionsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.GetTransactionsRequest.Builder |
setAccount(java.lang.String value)
An optional filter to only include transactions relevant to an account.
|
LightningApi.GetTransactionsRequest.Builder |
setAccountBytes(com.google.protobuf.ByteString value)
An optional filter to only include transactions relevant to an account.
|
LightningApi.GetTransactionsRequest.Builder |
setEndHeight(int value)
The height until which to list transactions, inclusive.
|
LightningApi.GetTransactionsRequest.Builder |
setStartHeight(int value)
The height from which to list transactions, inclusive.
|
LightningApi.GetTransactionsRequest.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.GetTransactionsRequest.Builder>public LightningApi.GetTransactionsRequest.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.GetTransactionsRequest.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.GetTransactionsRequest.Builder>public LightningApi.GetTransactionsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.GetTransactionsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.GetTransactionsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.GetTransactionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.GetTransactionsRequest.Builder>public LightningApi.GetTransactionsRequest.Builder mergeFrom(LightningApi.GetTransactionsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetTransactionsRequest.Builder>public LightningApi.GetTransactionsRequest.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.GetTransactionsRequest.Builder>java.io.IOExceptionpublic int getStartHeight()
The height from which to list transactions, inclusive. If this value is greater than end_height, transactions will be read in reverse.
int32 start_height = 1;getStartHeight in interface LightningApi.GetTransactionsRequestOrBuilderpublic LightningApi.GetTransactionsRequest.Builder setStartHeight(int value)
The height from which to list transactions, inclusive. If this value is greater than end_height, transactions will be read in reverse.
int32 start_height = 1;value - The startHeight to set.public LightningApi.GetTransactionsRequest.Builder clearStartHeight()
The height from which to list transactions, inclusive. If this value is greater than end_height, transactions will be read in reverse.
int32 start_height = 1;public int getEndHeight()
The height until which to list transactions, inclusive. To include unconfirmed transactions, this value should be set to -1, which will return transactions from start_height until the current chain tip and unconfirmed transactions. If no end_height is provided, the call will default to this option.
int32 end_height = 2;getEndHeight in interface LightningApi.GetTransactionsRequestOrBuilderpublic LightningApi.GetTransactionsRequest.Builder setEndHeight(int value)
The height until which to list transactions, inclusive. To include unconfirmed transactions, this value should be set to -1, which will return transactions from start_height until the current chain tip and unconfirmed transactions. If no end_height is provided, the call will default to this option.
int32 end_height = 2;value - The endHeight to set.public LightningApi.GetTransactionsRequest.Builder clearEndHeight()
The height until which to list transactions, inclusive. To include unconfirmed transactions, this value should be set to -1, which will return transactions from start_height until the current chain tip and unconfirmed transactions. If no end_height is provided, the call will default to this option.
int32 end_height = 2;public java.lang.String getAccount()
An optional filter to only include transactions relevant to an account.
string account = 3;getAccount in interface LightningApi.GetTransactionsRequestOrBuilderpublic com.google.protobuf.ByteString getAccountBytes()
An optional filter to only include transactions relevant to an account.
string account = 3;getAccountBytes in interface LightningApi.GetTransactionsRequestOrBuilderpublic LightningApi.GetTransactionsRequest.Builder setAccount(java.lang.String value)
An optional filter to only include transactions relevant to an account.
string account = 3;value - The account to set.public LightningApi.GetTransactionsRequest.Builder clearAccount()
An optional filter to only include transactions relevant to an account.
string account = 3;public LightningApi.GetTransactionsRequest.Builder setAccountBytes(com.google.protobuf.ByteString value)
An optional filter to only include transactions relevant to an account.
string account = 3;value - The bytes for account to set.public final LightningApi.GetTransactionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetTransactionsRequest.Builder>public final LightningApi.GetTransactionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetTransactionsRequest.Builder>