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, 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.GetTransactionsRequest.Builder>
public LightningApi.GetTransactionsRequest.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.GetTransactionsRequest.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.GetTransactionsRequest.Builder>
public LightningApi.GetTransactionsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.GetTransactionsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.GetTransactionsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.GetTransactionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.GetTransactionsRequest.Builder>
java.io.IOException
public 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.GetTransactionsRequestOrBuilder
public 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.GetTransactionsRequestOrBuilder
public 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.GetTransactionsRequestOrBuilder
public com.google.protobuf.ByteString getAccountBytes()
An optional filter to only include transactions relevant to an account.
string account = 3;
getAccountBytes
in interface LightningApi.GetTransactionsRequestOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetTransactionsRequest.Builder>