public static final class LightningApi.ChannelFeeReport.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelFeeReport.Builder> implements LightningApi.ChannelFeeReportOrBuilder
lnrpc.ChannelFeeReport
Modifier and Type | Method and Description |
---|---|
LightningApi.ChannelFeeReport |
build() |
LightningApi.ChannelFeeReport |
buildPartial() |
LightningApi.ChannelFeeReport.Builder |
clear() |
LightningApi.ChannelFeeReport.Builder |
clearBaseFeeMsat()
The base fee charged regardless of the number of milli-satoshis sent.
|
LightningApi.ChannelFeeReport.Builder |
clearChanId()
The short channel id that this fee report belongs to.
|
LightningApi.ChannelFeeReport.Builder |
clearChannelPoint()
The channel that this fee report belongs to.
|
LightningApi.ChannelFeeReport.Builder |
clearFeePerMil()
The amount charged per milli-satoshis transferred expressed in
millionths of a satoshi.
|
LightningApi.ChannelFeeReport.Builder |
clearFeeRate()
The effective fee rate in milli-satoshis.
|
long |
getBaseFeeMsat()
The base fee charged regardless of the number of milli-satoshis sent.
|
long |
getChanId()
The short channel id that this fee report belongs to.
|
java.lang.String |
getChannelPoint()
The channel that this fee report belongs to.
|
com.google.protobuf.ByteString |
getChannelPointBytes()
The channel that this fee report belongs to.
|
LightningApi.ChannelFeeReport |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getFeePerMil()
The amount charged per milli-satoshis transferred expressed in
millionths of a satoshi.
|
double |
getFeeRate()
The effective fee rate in milli-satoshis.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ChannelFeeReport.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ChannelFeeReport.Builder |
mergeFrom(LightningApi.ChannelFeeReport other) |
LightningApi.ChannelFeeReport.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ChannelFeeReport.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ChannelFeeReport.Builder |
setBaseFeeMsat(long value)
The base fee charged regardless of the number of milli-satoshis sent.
|
LightningApi.ChannelFeeReport.Builder |
setChanId(long value)
The short channel id that this fee report belongs to.
|
LightningApi.ChannelFeeReport.Builder |
setChannelPoint(java.lang.String value)
The channel that this fee report belongs to.
|
LightningApi.ChannelFeeReport.Builder |
setChannelPointBytes(com.google.protobuf.ByteString value)
The channel that this fee report belongs to.
|
LightningApi.ChannelFeeReport.Builder |
setFeePerMil(long value)
The amount charged per milli-satoshis transferred expressed in
millionths of a satoshi.
|
LightningApi.ChannelFeeReport.Builder |
setFeeRate(double value)
The effective fee rate in milli-satoshis.
|
LightningApi.ChannelFeeReport.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.ChannelFeeReport.Builder>
public LightningApi.ChannelFeeReport.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.ChannelFeeReport.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.ChannelFeeReport.Builder>
public LightningApi.ChannelFeeReport getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.ChannelFeeReport build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ChannelFeeReport buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ChannelFeeReport.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ChannelFeeReport.Builder>
public LightningApi.ChannelFeeReport.Builder mergeFrom(LightningApi.ChannelFeeReport other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelFeeReport.Builder>
public LightningApi.ChannelFeeReport.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.ChannelFeeReport.Builder>
java.io.IOException
public long getChanId()
The short channel id that this fee report belongs to.
uint64 chan_id = 5 [jstype = JS_STRING];
getChanId
in interface LightningApi.ChannelFeeReportOrBuilder
public LightningApi.ChannelFeeReport.Builder setChanId(long value)
The short channel id that this fee report belongs to.
uint64 chan_id = 5 [jstype = JS_STRING];
value
- The chanId to set.public LightningApi.ChannelFeeReport.Builder clearChanId()
The short channel id that this fee report belongs to.
uint64 chan_id = 5 [jstype = JS_STRING];
public java.lang.String getChannelPoint()
The channel that this fee report belongs to.
string channel_point = 1;
getChannelPoint
in interface LightningApi.ChannelFeeReportOrBuilder
public com.google.protobuf.ByteString getChannelPointBytes()
The channel that this fee report belongs to.
string channel_point = 1;
getChannelPointBytes
in interface LightningApi.ChannelFeeReportOrBuilder
public LightningApi.ChannelFeeReport.Builder setChannelPoint(java.lang.String value)
The channel that this fee report belongs to.
string channel_point = 1;
value
- The channelPoint to set.public LightningApi.ChannelFeeReport.Builder clearChannelPoint()
The channel that this fee report belongs to.
string channel_point = 1;
public LightningApi.ChannelFeeReport.Builder setChannelPointBytes(com.google.protobuf.ByteString value)
The channel that this fee report belongs to.
string channel_point = 1;
value
- The bytes for channelPoint to set.public long getBaseFeeMsat()
The base fee charged regardless of the number of milli-satoshis sent.
int64 base_fee_msat = 2;
getBaseFeeMsat
in interface LightningApi.ChannelFeeReportOrBuilder
public LightningApi.ChannelFeeReport.Builder setBaseFeeMsat(long value)
The base fee charged regardless of the number of milli-satoshis sent.
int64 base_fee_msat = 2;
value
- The baseFeeMsat to set.public LightningApi.ChannelFeeReport.Builder clearBaseFeeMsat()
The base fee charged regardless of the number of milli-satoshis sent.
int64 base_fee_msat = 2;
public long getFeePerMil()
The amount charged per milli-satoshis transferred expressed in millionths of a satoshi.
int64 fee_per_mil = 3;
getFeePerMil
in interface LightningApi.ChannelFeeReportOrBuilder
public LightningApi.ChannelFeeReport.Builder setFeePerMil(long value)
The amount charged per milli-satoshis transferred expressed in millionths of a satoshi.
int64 fee_per_mil = 3;
value
- The feePerMil to set.public LightningApi.ChannelFeeReport.Builder clearFeePerMil()
The amount charged per milli-satoshis transferred expressed in millionths of a satoshi.
int64 fee_per_mil = 3;
public double getFeeRate()
The effective fee rate in milli-satoshis. Computed by dividing the fee_per_mil value by 1 million.
double fee_rate = 4;
getFeeRate
in interface LightningApi.ChannelFeeReportOrBuilder
public LightningApi.ChannelFeeReport.Builder setFeeRate(double value)
The effective fee rate in milli-satoshis. Computed by dividing the fee_per_mil value by 1 million.
double fee_rate = 4;
value
- The feeRate to set.public LightningApi.ChannelFeeReport.Builder clearFeeRate()
The effective fee rate in milli-satoshis. Computed by dividing the fee_per_mil value by 1 million.
double fee_rate = 4;
public final LightningApi.ChannelFeeReport.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelFeeReport.Builder>
public final LightningApi.ChannelFeeReport.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelFeeReport.Builder>