public static interface LightningApi.ChannelEdgeOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsCustomRecords(long key)
Custom channel announcement tlv records.
|
long |
getCapacity()
int64 capacity = 6; |
long |
getChannelId()
The unique channel ID for the channel.
|
java.lang.String |
getChanPoint()
string chan_point = 2; |
com.google.protobuf.ByteString |
getChanPointBytes()
string chan_point = 2; |
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecords()
Deprecated.
|
int |
getCustomRecordsCount()
Custom channel announcement tlv records.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecordsMap()
Custom channel announcement tlv records.
|
com.google.protobuf.ByteString |
getCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
Custom channel announcement tlv records.
|
com.google.protobuf.ByteString |
getCustomRecordsOrThrow(long key)
Custom channel announcement tlv records.
|
int |
getLastUpdate()
Deprecated.
lnrpc.ChannelEdge.last_update is deprecated.
See lightning.api.proto;l=3276
|
LightningApi.RoutingPolicy |
getNode1Policy()
.lnrpc.RoutingPolicy node1_policy = 7; |
LightningApi.RoutingPolicyOrBuilder |
getNode1PolicyOrBuilder()
.lnrpc.RoutingPolicy node1_policy = 7; |
java.lang.String |
getNode1Pub()
string node1_pub = 4; |
com.google.protobuf.ByteString |
getNode1PubBytes()
string node1_pub = 4; |
LightningApi.RoutingPolicy |
getNode2Policy()
.lnrpc.RoutingPolicy node2_policy = 8; |
LightningApi.RoutingPolicyOrBuilder |
getNode2PolicyOrBuilder()
.lnrpc.RoutingPolicy node2_policy = 8; |
java.lang.String |
getNode2Pub()
string node2_pub = 5; |
com.google.protobuf.ByteString |
getNode2PubBytes()
string node2_pub = 5; |
boolean |
hasNode1Policy()
.lnrpc.RoutingPolicy node1_policy = 7; |
boolean |
hasNode2Policy()
.lnrpc.RoutingPolicy node2_policy = 8; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getChannelId()
The unique channel ID for the channel. The first 3 bytes are the block height, the next 3 the index within the block, and the last 2 bytes are the output index for the channel.
uint64 channel_id = 1 [jstype = JS_STRING];
java.lang.String getChanPoint()
string chan_point = 2;
com.google.protobuf.ByteString getChanPointBytes()
string chan_point = 2;
@Deprecated int getLastUpdate()
uint32 last_update = 3 [deprecated = true];
java.lang.String getNode1Pub()
string node1_pub = 4;
com.google.protobuf.ByteString getNode1PubBytes()
string node1_pub = 4;
java.lang.String getNode2Pub()
string node2_pub = 5;
com.google.protobuf.ByteString getNode2PubBytes()
string node2_pub = 5;
long getCapacity()
int64 capacity = 6;
boolean hasNode1Policy()
.lnrpc.RoutingPolicy node1_policy = 7;
LightningApi.RoutingPolicy getNode1Policy()
.lnrpc.RoutingPolicy node1_policy = 7;
LightningApi.RoutingPolicyOrBuilder getNode1PolicyOrBuilder()
.lnrpc.RoutingPolicy node1_policy = 7;
boolean hasNode2Policy()
.lnrpc.RoutingPolicy node2_policy = 8;
LightningApi.RoutingPolicy getNode2Policy()
.lnrpc.RoutingPolicy node2_policy = 8;
LightningApi.RoutingPolicyOrBuilder getNode2PolicyOrBuilder()
.lnrpc.RoutingPolicy node2_policy = 8;
int getCustomRecordsCount()
Custom channel announcement tlv records.
map<uint64, bytes> custom_records = 9;
boolean containsCustomRecords(long key)
Custom channel announcement tlv records.
map<uint64, bytes> custom_records = 9;
@Deprecated java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecords()
getCustomRecordsMap()
instead.java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecordsMap()
Custom channel announcement tlv records.
map<uint64, bytes> custom_records = 9;
com.google.protobuf.ByteString getCustomRecordsOrDefault(long key, com.google.protobuf.ByteString defaultValue)
Custom channel announcement tlv records.
map<uint64, bytes> custom_records = 9;
com.google.protobuf.ByteString getCustomRecordsOrThrow(long key)
Custom channel announcement tlv records.
map<uint64, bytes> custom_records = 9;