public static final class LightningApi.NodeUpdate extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.NodeUpdateOrBuilder
lnrpc.NodeUpdate| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.NodeUpdate.Builder
Protobuf type
lnrpc.NodeUpdate |
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 |
ADDRESSES_FIELD_NUMBER |
static int |
ALIAS_FIELD_NUMBER |
static int |
COLOR_FIELD_NUMBER |
static int |
FEATURES_FIELD_NUMBER |
static int |
GLOBAL_FEATURES_FIELD_NUMBER |
static int |
IDENTITY_KEY_FIELD_NUMBER |
static int |
NODE_ADDRESSES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsFeatures(int key)
Features that the node has advertised in the init message, node
announcements and invoices.
|
boolean |
equals(java.lang.Object obj) |
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
|
com.google.protobuf.ProtocolStringList |
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; |
static LightningApi.NodeUpdate |
getDefaultInstance() |
LightningApi.NodeUpdate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
com.google.protobuf.Parser<LightningApi.NodeUpdate> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static LightningApi.NodeUpdate.Builder |
newBuilder() |
static LightningApi.NodeUpdate.Builder |
newBuilder(LightningApi.NodeUpdate prototype) |
LightningApi.NodeUpdate.Builder |
newBuilderForType() |
protected LightningApi.NodeUpdate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.NodeUpdate |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.NodeUpdate |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.NodeUpdate |
parseFrom(byte[] data) |
static LightningApi.NodeUpdate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.NodeUpdate |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.NodeUpdate |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.NodeUpdate |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.NodeUpdate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.NodeUpdate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.NodeUpdate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.NodeUpdate |
parseFrom(java.io.InputStream input) |
static LightningApi.NodeUpdate |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.NodeUpdate> |
parser() |
LightningApi.NodeUpdate.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 ADDRESSES_FIELD_NUMBER
public static final int IDENTITY_KEY_FIELD_NUMBER
public static final int GLOBAL_FEATURES_FIELD_NUMBER
public static final int ALIAS_FIELD_NUMBER
public static final int COLOR_FIELD_NUMBER
public static final int NODE_ADDRESSES_FIELD_NUMBER
public static final int FEATURES_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.GeneratedMessageV3@Deprecated public com.google.protobuf.ProtocolStringList getAddressesList()
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];getAddressesList in interface LightningApi.NodeUpdateOrBuilder@Deprecated public int getAddressesCount()
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];getAddressesCount in interface LightningApi.NodeUpdateOrBuilder@Deprecated public java.lang.String getAddresses(int index)
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];getAddresses in interface LightningApi.NodeUpdateOrBuilderindex - The index of the element to return.@Deprecated public com.google.protobuf.ByteString getAddressesBytes(int index)
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];getAddressesBytes in interface LightningApi.NodeUpdateOrBuilderindex - The index of the value to return.public java.lang.String getIdentityKey()
string identity_key = 2;getIdentityKey in interface LightningApi.NodeUpdateOrBuilderpublic com.google.protobuf.ByteString getIdentityKeyBytes()
string identity_key = 2;getIdentityKeyBytes in interface LightningApi.NodeUpdateOrBuilder@Deprecated public com.google.protobuf.ByteString getGlobalFeatures()
Deprecated, use features.
bytes global_features = 3 [deprecated = true];getGlobalFeatures in interface LightningApi.NodeUpdateOrBuilderpublic java.lang.String getAlias()
string alias = 4;getAlias in interface LightningApi.NodeUpdateOrBuilderpublic com.google.protobuf.ByteString getAliasBytes()
string alias = 4;getAliasBytes in interface LightningApi.NodeUpdateOrBuilderpublic java.lang.String getColor()
string color = 5;getColor in interface LightningApi.NodeUpdateOrBuilderpublic com.google.protobuf.ByteString getColorBytes()
string color = 5;getColorBytes in interface LightningApi.NodeUpdateOrBuilderpublic java.util.List<LightningApi.NodeAddress> getNodeAddressesList()
repeated .lnrpc.NodeAddress node_addresses = 7;getNodeAddressesList in interface LightningApi.NodeUpdateOrBuilderpublic java.util.List<? extends LightningApi.NodeAddressOrBuilder> getNodeAddressesOrBuilderList()
repeated .lnrpc.NodeAddress node_addresses = 7;getNodeAddressesOrBuilderList in interface LightningApi.NodeUpdateOrBuilderpublic int getNodeAddressesCount()
repeated .lnrpc.NodeAddress node_addresses = 7;getNodeAddressesCount in interface LightningApi.NodeUpdateOrBuilderpublic LightningApi.NodeAddress getNodeAddresses(int index)
repeated .lnrpc.NodeAddress node_addresses = 7;getNodeAddresses in interface LightningApi.NodeUpdateOrBuilderpublic LightningApi.NodeAddressOrBuilder getNodeAddressesOrBuilder(int index)
repeated .lnrpc.NodeAddress node_addresses = 7;getNodeAddressesOrBuilder in interface LightningApi.NodeUpdateOrBuilderpublic int getFeaturesCount()
LightningApi.NodeUpdateOrBuilderFeatures that the node has advertised in the init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 6;getFeaturesCount in interface LightningApi.NodeUpdateOrBuilderpublic boolean containsFeatures(int key)
Features that the node has advertised in the init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 6;containsFeatures in interface LightningApi.NodeUpdateOrBuilder@Deprecated public java.util.Map<java.lang.Integer,LightningApi.Feature> getFeatures()
getFeaturesMap() instead.getFeatures in interface LightningApi.NodeUpdateOrBuilderpublic 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;getFeaturesMap in interface LightningApi.NodeUpdateOrBuilderpublic 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;getFeaturesOrDefault in interface LightningApi.NodeUpdateOrBuilderpublic 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;getFeaturesOrThrow in interface LightningApi.NodeUpdateOrBuilderpublic 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.NodeUpdate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.NodeUpdate parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.NodeUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.NodeUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.NodeUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.NodeUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.NodeUpdate parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.NodeUpdate parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.NodeUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.NodeUpdate parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.NodeUpdate parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.NodeUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.NodeUpdate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.NodeUpdate.Builder newBuilder()
public static LightningApi.NodeUpdate.Builder newBuilder(LightningApi.NodeUpdate prototype)
public LightningApi.NodeUpdate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.NodeUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.NodeUpdate getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.NodeUpdate> parser()
public com.google.protobuf.Parser<LightningApi.NodeUpdate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.NodeUpdate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder