public static final class LightningApi.PolicyUpdateRequest extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.PolicyUpdateRequestOrBuilder
lnrpc.PolicyUpdateRequest| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.PolicyUpdateRequest.Builder
Protobuf type
lnrpc.PolicyUpdateRequest |
static class |
LightningApi.PolicyUpdateRequest.ScopeCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_FEE_MSAT_FIELD_NUMBER |
static int |
CHAN_POINT_FIELD_NUMBER |
static int |
FEE_RATE_FIELD_NUMBER |
static int |
FEE_RATE_PPM_FIELD_NUMBER |
static int |
GLOBAL_FIELD_NUMBER |
static int |
MAX_HTLC_MSAT_FIELD_NUMBER |
static int |
MIN_HTLC_MSAT_FIELD_NUMBER |
static int |
MIN_HTLC_MSAT_SPECIFIED_FIELD_NUMBER |
static int |
TIME_LOCK_DELTA_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
long |
getBaseFeeMsat()
The base fee charged regardless of the number of milli-satoshis sent.
|
LightningApi.ChannelPoint |
getChanPoint()
If set, this update will target a specific channel.
|
LightningApi.ChannelPointOrBuilder |
getChanPointOrBuilder()
If set, this update will target a specific channel.
|
static LightningApi.PolicyUpdateRequest |
getDefaultInstance() |
LightningApi.PolicyUpdateRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getFeeRate()
The effective fee rate in milli-satoshis.
|
int |
getFeeRatePpm()
The effective fee rate in micro-satoshis (parts per million).
|
boolean |
getGlobal()
If set, then this update applies to all currently active channels.
|
long |
getMaxHtlcMsat()
If set, the maximum HTLC size in milli-satoshis.
|
long |
getMinHtlcMsat()
The minimum HTLC size in milli-satoshis.
|
boolean |
getMinHtlcMsatSpecified()
If true, min_htlc_msat is applied.
|
com.google.protobuf.Parser<LightningApi.PolicyUpdateRequest> |
getParserForType() |
LightningApi.PolicyUpdateRequest.ScopeCase |
getScopeCase() |
int |
getSerializedSize() |
int |
getTimeLockDelta()
The required timelock delta for HTLCs forwarded over the channel.
|
boolean |
hasChanPoint()
If set, this update will target a specific channel.
|
boolean |
hasGlobal()
If set, then this update applies to all currently active channels.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.PolicyUpdateRequest.Builder |
newBuilder() |
static LightningApi.PolicyUpdateRequest.Builder |
newBuilder(LightningApi.PolicyUpdateRequest prototype) |
LightningApi.PolicyUpdateRequest.Builder |
newBuilderForType() |
protected LightningApi.PolicyUpdateRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.PolicyUpdateRequest |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.PolicyUpdateRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PolicyUpdateRequest |
parseFrom(byte[] data) |
static LightningApi.PolicyUpdateRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PolicyUpdateRequest |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.PolicyUpdateRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PolicyUpdateRequest |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.PolicyUpdateRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PolicyUpdateRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.PolicyUpdateRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PolicyUpdateRequest |
parseFrom(java.io.InputStream input) |
static LightningApi.PolicyUpdateRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.PolicyUpdateRequest> |
parser() |
LightningApi.PolicyUpdateRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GLOBAL_FIELD_NUMBER
public static final int CHAN_POINT_FIELD_NUMBER
public static final int BASE_FEE_MSAT_FIELD_NUMBER
public static final int FEE_RATE_FIELD_NUMBER
public static final int FEE_RATE_PPM_FIELD_NUMBER
public static final int TIME_LOCK_DELTA_FIELD_NUMBER
public static final int MAX_HTLC_MSAT_FIELD_NUMBER
public static final int MIN_HTLC_MSAT_FIELD_NUMBER
public static final int MIN_HTLC_MSAT_SPECIFIED_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public LightningApi.PolicyUpdateRequest.ScopeCase getScopeCase()
getScopeCase in interface LightningApi.PolicyUpdateRequestOrBuilderpublic boolean hasGlobal()
If set, then this update applies to all currently active channels.
bool global = 1;hasGlobal in interface LightningApi.PolicyUpdateRequestOrBuilderpublic boolean getGlobal()
If set, then this update applies to all currently active channels.
bool global = 1;getGlobal in interface LightningApi.PolicyUpdateRequestOrBuilderpublic boolean hasChanPoint()
If set, this update will target a specific channel.
.lnrpc.ChannelPoint chan_point = 2;hasChanPoint in interface LightningApi.PolicyUpdateRequestOrBuilderpublic LightningApi.ChannelPoint getChanPoint()
If set, this update will target a specific channel.
.lnrpc.ChannelPoint chan_point = 2;getChanPoint in interface LightningApi.PolicyUpdateRequestOrBuilderpublic LightningApi.ChannelPointOrBuilder getChanPointOrBuilder()
If set, this update will target a specific channel.
.lnrpc.ChannelPoint chan_point = 2;getChanPointOrBuilder in interface LightningApi.PolicyUpdateRequestOrBuilderpublic long getBaseFeeMsat()
The base fee charged regardless of the number of milli-satoshis sent.
int64 base_fee_msat = 3;getBaseFeeMsat in interface LightningApi.PolicyUpdateRequestOrBuilderpublic double getFeeRate()
The effective fee rate in milli-satoshis. The precision of this value goes up to 6 decimal places, so 1e-6.
double fee_rate = 4;getFeeRate in interface LightningApi.PolicyUpdateRequestOrBuilderpublic int getFeeRatePpm()
The effective fee rate in micro-satoshis (parts per million).
uint32 fee_rate_ppm = 9;getFeeRatePpm in interface LightningApi.PolicyUpdateRequestOrBuilderpublic int getTimeLockDelta()
The required timelock delta for HTLCs forwarded over the channel.
uint32 time_lock_delta = 5;getTimeLockDelta in interface LightningApi.PolicyUpdateRequestOrBuilderpublic long getMaxHtlcMsat()
If set, the maximum HTLC size in milli-satoshis. If unset, the maximum HTLC will be unchanged.
uint64 max_htlc_msat = 6;getMaxHtlcMsat in interface LightningApi.PolicyUpdateRequestOrBuilderpublic long getMinHtlcMsat()
The minimum HTLC size in milli-satoshis. Only applied if min_htlc_msat_specified is true.
uint64 min_htlc_msat = 7;getMinHtlcMsat in interface LightningApi.PolicyUpdateRequestOrBuilderpublic boolean getMinHtlcMsatSpecified()
If true, min_htlc_msat is applied.
bool min_htlc_msat_specified = 8;getMinHtlcMsatSpecified in interface LightningApi.PolicyUpdateRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LightningApi.PolicyUpdateRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PolicyUpdateRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PolicyUpdateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PolicyUpdateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PolicyUpdateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PolicyUpdateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PolicyUpdateRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PolicyUpdateRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PolicyUpdateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PolicyUpdateRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PolicyUpdateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PolicyUpdateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.PolicyUpdateRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.PolicyUpdateRequest.Builder newBuilder()
public static LightningApi.PolicyUpdateRequest.Builder newBuilder(LightningApi.PolicyUpdateRequest prototype)
public LightningApi.PolicyUpdateRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.PolicyUpdateRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.PolicyUpdateRequest getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.PolicyUpdateRequest> parser()
public com.google.protobuf.Parser<LightningApi.PolicyUpdateRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.PolicyUpdateRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder