public static final class LightningApi.FeeReportResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FeeReportResponse.Builder> implements LightningApi.FeeReportResponseOrBuilder
lnrpc.FeeReportResponse| Modifier and Type | Method and Description |
|---|---|
LightningApi.FeeReportResponse.Builder |
addAllChannelFees(java.lang.Iterable<? extends LightningApi.ChannelFeeReport> values)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.FeeReportResponse.Builder |
addChannelFees(int index,
LightningApi.ChannelFeeReport.Builder builderForValue)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.FeeReportResponse.Builder |
addChannelFees(int index,
LightningApi.ChannelFeeReport value)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.FeeReportResponse.Builder |
addChannelFees(LightningApi.ChannelFeeReport.Builder builderForValue)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.FeeReportResponse.Builder |
addChannelFees(LightningApi.ChannelFeeReport value)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.ChannelFeeReport.Builder |
addChannelFeesBuilder()
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.ChannelFeeReport.Builder |
addChannelFeesBuilder(int index)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.FeeReportResponse |
build() |
LightningApi.FeeReportResponse |
buildPartial() |
LightningApi.FeeReportResponse.Builder |
clear() |
LightningApi.FeeReportResponse.Builder |
clearChannelFees()
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.FeeReportResponse.Builder |
clearDayFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected
over the past 24 hrs.
|
LightningApi.FeeReportResponse.Builder |
clearMonthFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected
over the past 1 month.
|
LightningApi.FeeReportResponse.Builder |
clearWeekFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected
over the past 1 week.
|
LightningApi.ChannelFeeReport |
getChannelFees(int index)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.ChannelFeeReport.Builder |
getChannelFeesBuilder(int index)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
java.util.List<LightningApi.ChannelFeeReport.Builder> |
getChannelFeesBuilderList()
An array of channel fee reports which describes the current fee schedule
for each channel.
|
int |
getChannelFeesCount()
An array of channel fee reports which describes the current fee schedule
for each channel.
|
java.util.List<LightningApi.ChannelFeeReport> |
getChannelFeesList()
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.ChannelFeeReportOrBuilder |
getChannelFeesOrBuilder(int index)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
java.util.List<? extends LightningApi.ChannelFeeReportOrBuilder> |
getChannelFeesOrBuilderList()
An array of channel fee reports which describes the current fee schedule
for each channel.
|
long |
getDayFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected
over the past 24 hrs.
|
LightningApi.FeeReportResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getMonthFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected
over the past 1 month.
|
long |
getWeekFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected
over the past 1 week.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.FeeReportResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.FeeReportResponse.Builder |
mergeFrom(LightningApi.FeeReportResponse other) |
LightningApi.FeeReportResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.FeeReportResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.FeeReportResponse.Builder |
removeChannelFees(int index)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.FeeReportResponse.Builder |
setChannelFees(int index,
LightningApi.ChannelFeeReport.Builder builderForValue)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.FeeReportResponse.Builder |
setChannelFees(int index,
LightningApi.ChannelFeeReport value)
An array of channel fee reports which describes the current fee schedule
for each channel.
|
LightningApi.FeeReportResponse.Builder |
setDayFeeSum(long value)
The total amount of fee revenue (in satoshis) the switch has collected
over the past 24 hrs.
|
LightningApi.FeeReportResponse.Builder |
setMonthFeeSum(long value)
The total amount of fee revenue (in satoshis) the switch has collected
over the past 1 month.
|
LightningApi.FeeReportResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.FeeReportResponse.Builder |
setWeekFeeSum(long value)
The total amount of fee revenue (in satoshis) the switch has collected
over the past 1 week.
|
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.FeeReportResponse.Builder>public LightningApi.FeeReportResponse.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.FeeReportResponse.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.FeeReportResponse.Builder>public LightningApi.FeeReportResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.FeeReportResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.FeeReportResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.FeeReportResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.FeeReportResponse.Builder>public LightningApi.FeeReportResponse.Builder mergeFrom(LightningApi.FeeReportResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FeeReportResponse.Builder>public LightningApi.FeeReportResponse.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.FeeReportResponse.Builder>java.io.IOExceptionpublic java.util.List<LightningApi.ChannelFeeReport> getChannelFeesList()
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;getChannelFeesList in interface LightningApi.FeeReportResponseOrBuilderpublic int getChannelFeesCount()
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;getChannelFeesCount in interface LightningApi.FeeReportResponseOrBuilderpublic LightningApi.ChannelFeeReport getChannelFees(int index)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;getChannelFees in interface LightningApi.FeeReportResponseOrBuilderpublic LightningApi.FeeReportResponse.Builder setChannelFees(int index, LightningApi.ChannelFeeReport value)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public LightningApi.FeeReportResponse.Builder setChannelFees(int index, LightningApi.ChannelFeeReport.Builder builderForValue)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public LightningApi.FeeReportResponse.Builder addChannelFees(LightningApi.ChannelFeeReport value)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public LightningApi.FeeReportResponse.Builder addChannelFees(int index, LightningApi.ChannelFeeReport value)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public LightningApi.FeeReportResponse.Builder addChannelFees(LightningApi.ChannelFeeReport.Builder builderForValue)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public LightningApi.FeeReportResponse.Builder addChannelFees(int index, LightningApi.ChannelFeeReport.Builder builderForValue)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public LightningApi.FeeReportResponse.Builder addAllChannelFees(java.lang.Iterable<? extends LightningApi.ChannelFeeReport> values)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public LightningApi.FeeReportResponse.Builder clearChannelFees()
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public LightningApi.FeeReportResponse.Builder removeChannelFees(int index)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public LightningApi.ChannelFeeReport.Builder getChannelFeesBuilder(int index)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public LightningApi.ChannelFeeReportOrBuilder getChannelFeesOrBuilder(int index)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;getChannelFeesOrBuilder in interface LightningApi.FeeReportResponseOrBuilderpublic java.util.List<? extends LightningApi.ChannelFeeReportOrBuilder> getChannelFeesOrBuilderList()
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;getChannelFeesOrBuilderList in interface LightningApi.FeeReportResponseOrBuilderpublic LightningApi.ChannelFeeReport.Builder addChannelFeesBuilder()
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public LightningApi.ChannelFeeReport.Builder addChannelFeesBuilder(int index)
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public java.util.List<LightningApi.ChannelFeeReport.Builder> getChannelFeesBuilderList()
An array of channel fee reports which describes the current fee schedule for each channel.
repeated .lnrpc.ChannelFeeReport channel_fees = 1;public long getDayFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected over the past 24 hrs.
uint64 day_fee_sum = 2;getDayFeeSum in interface LightningApi.FeeReportResponseOrBuilderpublic LightningApi.FeeReportResponse.Builder setDayFeeSum(long value)
The total amount of fee revenue (in satoshis) the switch has collected over the past 24 hrs.
uint64 day_fee_sum = 2;value - The dayFeeSum to set.public LightningApi.FeeReportResponse.Builder clearDayFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected over the past 24 hrs.
uint64 day_fee_sum = 2;public long getWeekFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected over the past 1 week.
uint64 week_fee_sum = 3;getWeekFeeSum in interface LightningApi.FeeReportResponseOrBuilderpublic LightningApi.FeeReportResponse.Builder setWeekFeeSum(long value)
The total amount of fee revenue (in satoshis) the switch has collected over the past 1 week.
uint64 week_fee_sum = 3;value - The weekFeeSum to set.public LightningApi.FeeReportResponse.Builder clearWeekFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected over the past 1 week.
uint64 week_fee_sum = 3;public long getMonthFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected over the past 1 month.
uint64 month_fee_sum = 4;getMonthFeeSum in interface LightningApi.FeeReportResponseOrBuilderpublic LightningApi.FeeReportResponse.Builder setMonthFeeSum(long value)
The total amount of fee revenue (in satoshis) the switch has collected over the past 1 month.
uint64 month_fee_sum = 4;value - The monthFeeSum to set.public LightningApi.FeeReportResponse.Builder clearMonthFeeSum()
The total amount of fee revenue (in satoshis) the switch has collected over the past 1 month.
uint64 month_fee_sum = 4;public final LightningApi.FeeReportResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FeeReportResponse.Builder>public final LightningApi.FeeReportResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FeeReportResponse.Builder>