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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected 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.NodeUpdateOrBuilder
index
- 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.NodeUpdateOrBuilder
index
- The index of the value to return.public java.lang.String getIdentityKey()
string identity_key = 2;
getIdentityKey
in interface LightningApi.NodeUpdateOrBuilder
public 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.NodeUpdateOrBuilder
public java.lang.String getAlias()
string alias = 4;
getAlias
in interface LightningApi.NodeUpdateOrBuilder
public com.google.protobuf.ByteString getAliasBytes()
string alias = 4;
getAliasBytes
in interface LightningApi.NodeUpdateOrBuilder
public java.lang.String getColor()
string color = 5;
getColor
in interface LightningApi.NodeUpdateOrBuilder
public com.google.protobuf.ByteString getColorBytes()
string color = 5;
getColorBytes
in interface LightningApi.NodeUpdateOrBuilder
public java.util.List<LightningApi.NodeAddress> getNodeAddressesList()
repeated .lnrpc.NodeAddress node_addresses = 7;
getNodeAddressesList
in interface LightningApi.NodeUpdateOrBuilder
public java.util.List<? extends LightningApi.NodeAddressOrBuilder> getNodeAddressesOrBuilderList()
repeated .lnrpc.NodeAddress node_addresses = 7;
getNodeAddressesOrBuilderList
in interface LightningApi.NodeUpdateOrBuilder
public int getNodeAddressesCount()
repeated .lnrpc.NodeAddress node_addresses = 7;
getNodeAddressesCount
in interface LightningApi.NodeUpdateOrBuilder
public LightningApi.NodeAddress getNodeAddresses(int index)
repeated .lnrpc.NodeAddress node_addresses = 7;
getNodeAddresses
in interface LightningApi.NodeUpdateOrBuilder
public LightningApi.NodeAddressOrBuilder getNodeAddressesOrBuilder(int index)
repeated .lnrpc.NodeAddress node_addresses = 7;
getNodeAddressesOrBuilder
in interface LightningApi.NodeUpdateOrBuilder
public int getFeaturesCount()
LightningApi.NodeUpdateOrBuilder
Features that the node has advertised in the init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 6;
getFeaturesCount
in interface LightningApi.NodeUpdateOrBuilder
public 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.NodeUpdateOrBuilder
public 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.NodeUpdateOrBuilder
public 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.NodeUpdateOrBuilder
public 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.NodeUpdateOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static LightningApi.NodeUpdate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.NodeUpdate parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.NodeUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.NodeUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.NodeUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.NodeUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.NodeUpdate parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.NodeUpdate parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.NodeUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.NodeUpdate parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.NodeUpdate parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.NodeUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public LightningApi.NodeUpdate.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected LightningApi.NodeUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public LightningApi.NodeUpdate getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder