public static final class LightningApi.ForwardingHistoryRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ForwardingHistoryRequest.Builder> implements LightningApi.ForwardingHistoryRequestOrBuilder
lnrpc.ForwardingHistoryRequest| Modifier and Type | Method and Description |
|---|---|
LightningApi.ForwardingHistoryRequest |
build() |
LightningApi.ForwardingHistoryRequest |
buildPartial() |
LightningApi.ForwardingHistoryRequest.Builder |
clear() |
LightningApi.ForwardingHistoryRequest.Builder |
clearEndTime()
End time is the end point of the forwarding history request.
|
LightningApi.ForwardingHistoryRequest.Builder |
clearIndexOffset()
Index offset is the offset in the time series to start at.
|
LightningApi.ForwardingHistoryRequest.Builder |
clearNumMaxEvents()
The max number of events to return in the response to this query.
|
LightningApi.ForwardingHistoryRequest.Builder |
clearPeerAliasLookup()
Informs the server if the peer alias should be looked up for each
forwarding event.
|
LightningApi.ForwardingHistoryRequest.Builder |
clearStartTime()
Start time is the starting point of the forwarding history request.
|
LightningApi.ForwardingHistoryRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getEndTime()
End time is the end point of the forwarding history request.
|
int |
getIndexOffset()
Index offset is the offset in the time series to start at.
|
int |
getNumMaxEvents()
The max number of events to return in the response to this query.
|
boolean |
getPeerAliasLookup()
Informs the server if the peer alias should be looked up for each
forwarding event.
|
long |
getStartTime()
Start time is the starting point of the forwarding history request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ForwardingHistoryRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ForwardingHistoryRequest.Builder |
mergeFrom(LightningApi.ForwardingHistoryRequest other) |
LightningApi.ForwardingHistoryRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ForwardingHistoryRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ForwardingHistoryRequest.Builder |
setEndTime(long value)
End time is the end point of the forwarding history request.
|
LightningApi.ForwardingHistoryRequest.Builder |
setIndexOffset(int value)
Index offset is the offset in the time series to start at.
|
LightningApi.ForwardingHistoryRequest.Builder |
setNumMaxEvents(int value)
The max number of events to return in the response to this query.
|
LightningApi.ForwardingHistoryRequest.Builder |
setPeerAliasLookup(boolean value)
Informs the server if the peer alias should be looked up for each
forwarding event.
|
LightningApi.ForwardingHistoryRequest.Builder |
setStartTime(long value)
Start time is the starting point of the forwarding history request.
|
LightningApi.ForwardingHistoryRequest.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.ForwardingHistoryRequest.Builder>public LightningApi.ForwardingHistoryRequest.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.ForwardingHistoryRequest.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.ForwardingHistoryRequest.Builder>public LightningApi.ForwardingHistoryRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.ForwardingHistoryRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ForwardingHistoryRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ForwardingHistoryRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ForwardingHistoryRequest.Builder>public LightningApi.ForwardingHistoryRequest.Builder mergeFrom(LightningApi.ForwardingHistoryRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ForwardingHistoryRequest.Builder>public LightningApi.ForwardingHistoryRequest.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.ForwardingHistoryRequest.Builder>java.io.IOExceptionpublic long getStartTime()
Start time is the starting point of the forwarding history request. All records beyond this point will be included, respecting the end time, and the index offset.
uint64 start_time = 1;getStartTime in interface LightningApi.ForwardingHistoryRequestOrBuilderpublic LightningApi.ForwardingHistoryRequest.Builder setStartTime(long value)
Start time is the starting point of the forwarding history request. All records beyond this point will be included, respecting the end time, and the index offset.
uint64 start_time = 1;value - The startTime to set.public LightningApi.ForwardingHistoryRequest.Builder clearStartTime()
Start time is the starting point of the forwarding history request. All records beyond this point will be included, respecting the end time, and the index offset.
uint64 start_time = 1;public long getEndTime()
End time is the end point of the forwarding history request. The response will carry at most 50k records between the start time and the end time. The index offset can be used to implement pagination.
uint64 end_time = 2;getEndTime in interface LightningApi.ForwardingHistoryRequestOrBuilderpublic LightningApi.ForwardingHistoryRequest.Builder setEndTime(long value)
End time is the end point of the forwarding history request. The response will carry at most 50k records between the start time and the end time. The index offset can be used to implement pagination.
uint64 end_time = 2;value - The endTime to set.public LightningApi.ForwardingHistoryRequest.Builder clearEndTime()
End time is the end point of the forwarding history request. The response will carry at most 50k records between the start time and the end time. The index offset can be used to implement pagination.
uint64 end_time = 2;public int getIndexOffset()
Index offset is the offset in the time series to start at. As each response can only contain 50k records, callers can use this to skip around within a packed time series.
uint32 index_offset = 3;getIndexOffset in interface LightningApi.ForwardingHistoryRequestOrBuilderpublic LightningApi.ForwardingHistoryRequest.Builder setIndexOffset(int value)
Index offset is the offset in the time series to start at. As each response can only contain 50k records, callers can use this to skip around within a packed time series.
uint32 index_offset = 3;value - The indexOffset to set.public LightningApi.ForwardingHistoryRequest.Builder clearIndexOffset()
Index offset is the offset in the time series to start at. As each response can only contain 50k records, callers can use this to skip around within a packed time series.
uint32 index_offset = 3;public int getNumMaxEvents()
The max number of events to return in the response to this query.
uint32 num_max_events = 4;getNumMaxEvents in interface LightningApi.ForwardingHistoryRequestOrBuilderpublic LightningApi.ForwardingHistoryRequest.Builder setNumMaxEvents(int value)
The max number of events to return in the response to this query.
uint32 num_max_events = 4;value - The numMaxEvents to set.public LightningApi.ForwardingHistoryRequest.Builder clearNumMaxEvents()
The max number of events to return in the response to this query.
uint32 num_max_events = 4;public boolean getPeerAliasLookup()
Informs the server if the peer alias should be looked up for each forwarding event.
bool peer_alias_lookup = 5;getPeerAliasLookup in interface LightningApi.ForwardingHistoryRequestOrBuilderpublic LightningApi.ForwardingHistoryRequest.Builder setPeerAliasLookup(boolean value)
Informs the server if the peer alias should be looked up for each forwarding event.
bool peer_alias_lookup = 5;value - The peerAliasLookup to set.public LightningApi.ForwardingHistoryRequest.Builder clearPeerAliasLookup()
Informs the server if the peer alias should be looked up for each forwarding event.
bool peer_alias_lookup = 5;public final LightningApi.ForwardingHistoryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ForwardingHistoryRequest.Builder>public final LightningApi.ForwardingHistoryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ForwardingHistoryRequest.Builder>