public static interface LightningApi.NodeUpdateOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsFeatures(int key)
Features that the node has advertised in the init message, node
announcements and invoices.
|
java.lang.String |
getAddresses(int index)
Deprecated.
lnrpc.NodeUpdate.addresses is deprecated.
See lightning.api.proto;l=3386
|
com.google.protobuf.ByteString |
getAddressesBytes(int index)
Deprecated.
lnrpc.NodeUpdate.addresses is deprecated.
See lightning.api.proto;l=3386
|
int |
getAddressesCount()
Deprecated.
lnrpc.NodeUpdate.addresses is deprecated.
See lightning.api.proto;l=3386
|
java.util.List<java.lang.String> |
getAddressesList()
Deprecated.
lnrpc.NodeUpdate.addresses is deprecated.
See lightning.api.proto;l=3386
|
java.lang.String |
getAlias()
string alias = 4; |
com.google.protobuf.ByteString |
getAliasBytes()
string alias = 4; |
java.lang.String |
getColor()
string color = 5; |
com.google.protobuf.ByteString |
getColorBytes()
string color = 5; |
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getFeatures()
Deprecated.
|
int |
getFeaturesCount()
Features that the node has advertised in the init message, node
announcements and invoices.
|
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getFeaturesMap()
Features that the node has advertised in the init message, node
announcements and invoices.
|
LightningApi.Feature |
getFeaturesOrDefault(int key,
LightningApi.Feature defaultValue)
Features that the node has advertised in the init message, node
announcements and invoices.
|
LightningApi.Feature |
getFeaturesOrThrow(int key)
Features that the node has advertised in the init message, node
announcements and invoices.
|
com.google.protobuf.ByteString |
getGlobalFeatures()
Deprecated.
lnrpc.NodeUpdate.global_features is deprecated.
See lightning.api.proto;l=3393
|
java.lang.String |
getIdentityKey()
string identity_key = 2; |
com.google.protobuf.ByteString |
getIdentityKeyBytes()
string identity_key = 2; |
LightningApi.NodeAddress |
getNodeAddresses(int index)
repeated .lnrpc.NodeAddress node_addresses = 7; |
int |
getNodeAddressesCount()
repeated .lnrpc.NodeAddress node_addresses = 7; |
java.util.List<LightningApi.NodeAddress> |
getNodeAddressesList()
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeAddressOrBuilder |
getNodeAddressesOrBuilder(int index)
repeated .lnrpc.NodeAddress node_addresses = 7; |
java.util.List<? extends LightningApi.NodeAddressOrBuilder> |
getNodeAddressesOrBuilderList()
repeated .lnrpc.NodeAddress node_addresses = 7; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
@Deprecated java.util.List<java.lang.String> getAddressesList()
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];
@Deprecated int getAddressesCount()
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];
@Deprecated java.lang.String getAddresses(int index)
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];
index
- The index of the element to return.@Deprecated com.google.protobuf.ByteString getAddressesBytes(int index)
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];
index
- The index of the value to return.java.lang.String getIdentityKey()
string identity_key = 2;
com.google.protobuf.ByteString getIdentityKeyBytes()
string identity_key = 2;
@Deprecated com.google.protobuf.ByteString getGlobalFeatures()
Deprecated, use features.
bytes global_features = 3 [deprecated = true];
java.lang.String getAlias()
string alias = 4;
com.google.protobuf.ByteString getAliasBytes()
string alias = 4;
java.lang.String getColor()
string color = 5;
com.google.protobuf.ByteString getColorBytes()
string color = 5;
java.util.List<LightningApi.NodeAddress> getNodeAddressesList()
repeated .lnrpc.NodeAddress node_addresses = 7;
LightningApi.NodeAddress getNodeAddresses(int index)
repeated .lnrpc.NodeAddress node_addresses = 7;
int getNodeAddressesCount()
repeated .lnrpc.NodeAddress node_addresses = 7;
java.util.List<? extends LightningApi.NodeAddressOrBuilder> getNodeAddressesOrBuilderList()
repeated .lnrpc.NodeAddress node_addresses = 7;
LightningApi.NodeAddressOrBuilder getNodeAddressesOrBuilder(int index)
repeated .lnrpc.NodeAddress node_addresses = 7;
int getFeaturesCount()
Features that the node has advertised in the init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 6;
boolean containsFeatures(int key)
Features that the node has advertised in the init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 6;
@Deprecated java.util.Map<java.lang.Integer,LightningApi.Feature> getFeatures()
getFeaturesMap()
instead.java.util.Map<java.lang.Integer,LightningApi.Feature> getFeaturesMap()
Features that the node has advertised in the init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 6;
LightningApi.Feature getFeaturesOrDefault(int key, LightningApi.Feature defaultValue)
Features that the node has advertised in the init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 6;
LightningApi.Feature getFeaturesOrThrow(int key)
Features that the node has advertised in the init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 6;