public static final class LightningApi.ForwardingHistoryResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ForwardingHistoryResponse.Builder> implements LightningApi.ForwardingHistoryResponseOrBuilder
lnrpc.ForwardingHistoryResponse
Modifier and Type | Method and Description |
---|---|
LightningApi.ForwardingHistoryResponse.Builder |
addAllForwardingEvents(java.lang.Iterable<? extends LightningApi.ForwardingEvent> values)
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingHistoryResponse.Builder |
addForwardingEvents(int index,
LightningApi.ForwardingEvent.Builder builderForValue)
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingHistoryResponse.Builder |
addForwardingEvents(int index,
LightningApi.ForwardingEvent value)
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingHistoryResponse.Builder |
addForwardingEvents(LightningApi.ForwardingEvent.Builder builderForValue)
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingHistoryResponse.Builder |
addForwardingEvents(LightningApi.ForwardingEvent value)
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingEvent.Builder |
addForwardingEventsBuilder()
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingEvent.Builder |
addForwardingEventsBuilder(int index)
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingHistoryResponse |
build() |
LightningApi.ForwardingHistoryResponse |
buildPartial() |
LightningApi.ForwardingHistoryResponse.Builder |
clear() |
LightningApi.ForwardingHistoryResponse.Builder |
clearForwardingEvents()
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingHistoryResponse.Builder |
clearLastOffsetIndex()
The index of the last time in the set of returned forwarding events.
|
LightningApi.ForwardingHistoryResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.ForwardingEvent |
getForwardingEvents(int index)
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingEvent.Builder |
getForwardingEventsBuilder(int index)
A list of forwarding events from the time slice of the time series
specified in the request.
|
java.util.List<LightningApi.ForwardingEvent.Builder> |
getForwardingEventsBuilderList()
A list of forwarding events from the time slice of the time series
specified in the request.
|
int |
getForwardingEventsCount()
A list of forwarding events from the time slice of the time series
specified in the request.
|
java.util.List<LightningApi.ForwardingEvent> |
getForwardingEventsList()
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingEventOrBuilder |
getForwardingEventsOrBuilder(int index)
A list of forwarding events from the time slice of the time series
specified in the request.
|
java.util.List<? extends LightningApi.ForwardingEventOrBuilder> |
getForwardingEventsOrBuilderList()
A list of forwarding events from the time slice of the time series
specified in the request.
|
int |
getLastOffsetIndex()
The index of the last time in the set of returned forwarding events.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ForwardingHistoryResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ForwardingHistoryResponse.Builder |
mergeFrom(LightningApi.ForwardingHistoryResponse other) |
LightningApi.ForwardingHistoryResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ForwardingHistoryResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ForwardingHistoryResponse.Builder |
removeForwardingEvents(int index)
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingHistoryResponse.Builder |
setForwardingEvents(int index,
LightningApi.ForwardingEvent.Builder builderForValue)
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingHistoryResponse.Builder |
setForwardingEvents(int index,
LightningApi.ForwardingEvent value)
A list of forwarding events from the time slice of the time series
specified in the request.
|
LightningApi.ForwardingHistoryResponse.Builder |
setLastOffsetIndex(int value)
The index of the last time in the set of returned forwarding events.
|
LightningApi.ForwardingHistoryResponse.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.ForwardingHistoryResponse.Builder>
public LightningApi.ForwardingHistoryResponse.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.ForwardingHistoryResponse.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.ForwardingHistoryResponse.Builder>
public LightningApi.ForwardingHistoryResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.ForwardingHistoryResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ForwardingHistoryResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ForwardingHistoryResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ForwardingHistoryResponse.Builder>
public LightningApi.ForwardingHistoryResponse.Builder mergeFrom(LightningApi.ForwardingHistoryResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ForwardingHistoryResponse.Builder>
public LightningApi.ForwardingHistoryResponse.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.ForwardingHistoryResponse.Builder>
java.io.IOException
public java.util.List<LightningApi.ForwardingEvent> getForwardingEventsList()
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
getForwardingEventsList
in interface LightningApi.ForwardingHistoryResponseOrBuilder
public int getForwardingEventsCount()
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
getForwardingEventsCount
in interface LightningApi.ForwardingHistoryResponseOrBuilder
public LightningApi.ForwardingEvent getForwardingEvents(int index)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
getForwardingEvents
in interface LightningApi.ForwardingHistoryResponseOrBuilder
public LightningApi.ForwardingHistoryResponse.Builder setForwardingEvents(int index, LightningApi.ForwardingEvent value)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public LightningApi.ForwardingHistoryResponse.Builder setForwardingEvents(int index, LightningApi.ForwardingEvent.Builder builderForValue)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public LightningApi.ForwardingHistoryResponse.Builder addForwardingEvents(LightningApi.ForwardingEvent value)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public LightningApi.ForwardingHistoryResponse.Builder addForwardingEvents(int index, LightningApi.ForwardingEvent value)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public LightningApi.ForwardingHistoryResponse.Builder addForwardingEvents(LightningApi.ForwardingEvent.Builder builderForValue)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public LightningApi.ForwardingHistoryResponse.Builder addForwardingEvents(int index, LightningApi.ForwardingEvent.Builder builderForValue)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public LightningApi.ForwardingHistoryResponse.Builder addAllForwardingEvents(java.lang.Iterable<? extends LightningApi.ForwardingEvent> values)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public LightningApi.ForwardingHistoryResponse.Builder clearForwardingEvents()
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public LightningApi.ForwardingHistoryResponse.Builder removeForwardingEvents(int index)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public LightningApi.ForwardingEvent.Builder getForwardingEventsBuilder(int index)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public LightningApi.ForwardingEventOrBuilder getForwardingEventsOrBuilder(int index)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
getForwardingEventsOrBuilder
in interface LightningApi.ForwardingHistoryResponseOrBuilder
public java.util.List<? extends LightningApi.ForwardingEventOrBuilder> getForwardingEventsOrBuilderList()
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
getForwardingEventsOrBuilderList
in interface LightningApi.ForwardingHistoryResponseOrBuilder
public LightningApi.ForwardingEvent.Builder addForwardingEventsBuilder()
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public LightningApi.ForwardingEvent.Builder addForwardingEventsBuilder(int index)
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public java.util.List<LightningApi.ForwardingEvent.Builder> getForwardingEventsBuilderList()
A list of forwarding events from the time slice of the time series specified in the request.
repeated .lnrpc.ForwardingEvent forwarding_events = 1;
public int getLastOffsetIndex()
The index of the last time in the set of returned forwarding events. Can be used to seek further, pagination style.
uint32 last_offset_index = 2;
getLastOffsetIndex
in interface LightningApi.ForwardingHistoryResponseOrBuilder
public LightningApi.ForwardingHistoryResponse.Builder setLastOffsetIndex(int value)
The index of the last time in the set of returned forwarding events. Can be used to seek further, pagination style.
uint32 last_offset_index = 2;
value
- The lastOffsetIndex to set.public LightningApi.ForwardingHistoryResponse.Builder clearLastOffsetIndex()
The index of the last time in the set of returned forwarding events. Can be used to seek further, pagination style.
uint32 last_offset_index = 2;
public final LightningApi.ForwardingHistoryResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ForwardingHistoryResponse.Builder>
public final LightningApi.ForwardingHistoryResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ForwardingHistoryResponse.Builder>