public static final class LightningApi.RoutingPolicy extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.RoutingPolicyOrBuilder
lnrpc.RoutingPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.RoutingPolicy.Builder
Protobuf type
lnrpc.RoutingPolicy |
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 |
CUSTOM_RECORDS_FIELD_NUMBER |
static int |
DISABLED_FIELD_NUMBER |
static int |
FEE_BASE_MSAT_FIELD_NUMBER |
static int |
FEE_RATE_MILLI_MSAT_FIELD_NUMBER |
static int |
LAST_UPDATE_FIELD_NUMBER |
static int |
MAX_HTLC_MSAT_FIELD_NUMBER |
static int |
MIN_HTLC_FIELD_NUMBER |
static int |
TIME_LOCK_DELTA_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCustomRecords(long key)
Custom channel update tlv records.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecords()
Deprecated.
|
int |
getCustomRecordsCount()
Custom channel update tlv records.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecordsMap()
Custom channel update tlv records.
|
com.google.protobuf.ByteString |
getCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
Custom channel update tlv records.
|
com.google.protobuf.ByteString |
getCustomRecordsOrThrow(long key)
Custom channel update tlv records.
|
static LightningApi.RoutingPolicy |
getDefaultInstance() |
LightningApi.RoutingPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDisabled()
bool disabled = 5; |
long |
getFeeBaseMsat()
int64 fee_base_msat = 3; |
long |
getFeeRateMilliMsat()
int64 fee_rate_milli_msat = 4; |
int |
getLastUpdate()
uint32 last_update = 7; |
long |
getMaxHtlcMsat()
uint64 max_htlc_msat = 6; |
long |
getMinHtlc()
int64 min_htlc = 2; |
com.google.protobuf.Parser<LightningApi.RoutingPolicy> |
getParserForType() |
int |
getSerializedSize() |
int |
getTimeLockDelta()
uint32 time_lock_delta = 1; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static LightningApi.RoutingPolicy.Builder |
newBuilder() |
static LightningApi.RoutingPolicy.Builder |
newBuilder(LightningApi.RoutingPolicy prototype) |
LightningApi.RoutingPolicy.Builder |
newBuilderForType() |
protected LightningApi.RoutingPolicy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.RoutingPolicy |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.RoutingPolicy |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.RoutingPolicy |
parseFrom(byte[] data) |
static LightningApi.RoutingPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.RoutingPolicy |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.RoutingPolicy |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.RoutingPolicy |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.RoutingPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.RoutingPolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.RoutingPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.RoutingPolicy |
parseFrom(java.io.InputStream input) |
static LightningApi.RoutingPolicy |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.RoutingPolicy> |
parser() |
LightningApi.RoutingPolicy.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, 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 TIME_LOCK_DELTA_FIELD_NUMBER
public static final int MIN_HTLC_FIELD_NUMBER
public static final int FEE_BASE_MSAT_FIELD_NUMBER
public static final int FEE_RATE_MILLI_MSAT_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER
public static final int MAX_HTLC_MSAT_FIELD_NUMBER
public static final int LAST_UPDATE_FIELD_NUMBER
public static final int CUSTOM_RECORDS_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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getTimeLockDelta()
uint32 time_lock_delta = 1;getTimeLockDelta in interface LightningApi.RoutingPolicyOrBuilderpublic long getMinHtlc()
int64 min_htlc = 2;getMinHtlc in interface LightningApi.RoutingPolicyOrBuilderpublic long getFeeBaseMsat()
int64 fee_base_msat = 3;getFeeBaseMsat in interface LightningApi.RoutingPolicyOrBuilderpublic long getFeeRateMilliMsat()
int64 fee_rate_milli_msat = 4;getFeeRateMilliMsat in interface LightningApi.RoutingPolicyOrBuilderpublic boolean getDisabled()
bool disabled = 5;getDisabled in interface LightningApi.RoutingPolicyOrBuilderpublic long getMaxHtlcMsat()
uint64 max_htlc_msat = 6;getMaxHtlcMsat in interface LightningApi.RoutingPolicyOrBuilderpublic int getLastUpdate()
uint32 last_update = 7;getLastUpdate in interface LightningApi.RoutingPolicyOrBuilderpublic int getCustomRecordsCount()
LightningApi.RoutingPolicyOrBuilderCustom channel update tlv records.
map<uint64, bytes> custom_records = 8;getCustomRecordsCount in interface LightningApi.RoutingPolicyOrBuilderpublic boolean containsCustomRecords(long key)
Custom channel update tlv records.
map<uint64, bytes> custom_records = 8;containsCustomRecords in interface LightningApi.RoutingPolicyOrBuilder@Deprecated public java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecords()
getCustomRecordsMap() instead.getCustomRecords in interface LightningApi.RoutingPolicyOrBuilderpublic java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecordsMap()
Custom channel update tlv records.
map<uint64, bytes> custom_records = 8;getCustomRecordsMap in interface LightningApi.RoutingPolicyOrBuilderpublic com.google.protobuf.ByteString getCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
Custom channel update tlv records.
map<uint64, bytes> custom_records = 8;getCustomRecordsOrDefault in interface LightningApi.RoutingPolicyOrBuilderpublic com.google.protobuf.ByteString getCustomRecordsOrThrow(long key)
Custom channel update tlv records.
map<uint64, bytes> custom_records = 8;getCustomRecordsOrThrow in interface LightningApi.RoutingPolicyOrBuilderpublic 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.RoutingPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.RoutingPolicy parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.RoutingPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.RoutingPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.RoutingPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.RoutingPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.RoutingPolicy parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.RoutingPolicy parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.RoutingPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.RoutingPolicy parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.RoutingPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.RoutingPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.RoutingPolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.RoutingPolicy.Builder newBuilder()
public static LightningApi.RoutingPolicy.Builder newBuilder(LightningApi.RoutingPolicy prototype)
public LightningApi.RoutingPolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.RoutingPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.RoutingPolicy getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.RoutingPolicy> parser()
public com.google.protobuf.Parser<LightningApi.RoutingPolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.RoutingPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder