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, 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.FeeReportResponse.Builder>
public LightningApi.FeeReportResponse.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.FeeReportResponse.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.FeeReportResponse.Builder>
public LightningApi.FeeReportResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.FeeReportResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.FeeReportResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.FeeReportResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.FeeReportResponse.Builder>
java.io.IOException
public 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.FeeReportResponseOrBuilder
public 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.FeeReportResponseOrBuilder
public 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.FeeReportResponseOrBuilder
public 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.FeeReportResponseOrBuilder
public 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.FeeReportResponseOrBuilder
public 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.FeeReportResponseOrBuilder
public 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.FeeReportResponseOrBuilder
public 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.FeeReportResponseOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.FeeReportResponse.Builder>