public static final class LightningApi.NodeUpdate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeUpdate.Builder> implements LightningApi.NodeUpdateOrBuilder
lnrpc.NodeUpdate| Modifier and Type | Method and Description |
|---|---|
LightningApi.NodeUpdate.Builder |
addAddresses(java.lang.String value)
Deprecated.
lnrpc.NodeUpdate.addresses is deprecated.
See lightning.api.proto;l=3386
|
LightningApi.NodeUpdate.Builder |
addAddressesBytes(com.google.protobuf.ByteString value)
Deprecated.
lnrpc.NodeUpdate.addresses is deprecated.
See lightning.api.proto;l=3386
|
LightningApi.NodeUpdate.Builder |
addAllAddresses(java.lang.Iterable<java.lang.String> values)
Deprecated.
lnrpc.NodeUpdate.addresses is deprecated.
See lightning.api.proto;l=3386
|
LightningApi.NodeUpdate.Builder |
addAllNodeAddresses(java.lang.Iterable<? extends LightningApi.NodeAddress> values)
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeUpdate.Builder |
addNodeAddresses(int index,
LightningApi.NodeAddress.Builder builderForValue)
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeUpdate.Builder |
addNodeAddresses(int index,
LightningApi.NodeAddress value)
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeUpdate.Builder |
addNodeAddresses(LightningApi.NodeAddress.Builder builderForValue)
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeUpdate.Builder |
addNodeAddresses(LightningApi.NodeAddress value)
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeAddress.Builder |
addNodeAddressesBuilder()
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeAddress.Builder |
addNodeAddressesBuilder(int index)
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeUpdate |
build() |
LightningApi.NodeUpdate |
buildPartial() |
LightningApi.NodeUpdate.Builder |
clear() |
LightningApi.NodeUpdate.Builder |
clearAddresses()
Deprecated.
lnrpc.NodeUpdate.addresses is deprecated.
See lightning.api.proto;l=3386
|
LightningApi.NodeUpdate.Builder |
clearAlias()
string alias = 4; |
LightningApi.NodeUpdate.Builder |
clearColor()
string color = 5; |
LightningApi.NodeUpdate.Builder |
clearFeatures() |
LightningApi.NodeUpdate.Builder |
clearGlobalFeatures()
Deprecated.
lnrpc.NodeUpdate.global_features is deprecated.
See lightning.api.proto;l=3393
|
LightningApi.NodeUpdate.Builder |
clearIdentityKey()
string identity_key = 2; |
LightningApi.NodeUpdate.Builder |
clearNodeAddresses()
repeated .lnrpc.NodeAddress node_addresses = 7; |
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
|
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; |
LightningApi.NodeUpdate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getMutableFeatures()
Deprecated.
|
LightningApi.NodeAddress |
getNodeAddresses(int index)
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeAddress.Builder |
getNodeAddressesBuilder(int index)
repeated .lnrpc.NodeAddress node_addresses = 7; |
java.util.List<LightningApi.NodeAddress.Builder> |
getNodeAddressesBuilderList()
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; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
LightningApi.NodeUpdate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.NodeUpdate.Builder |
mergeFrom(LightningApi.NodeUpdate other) |
LightningApi.NodeUpdate.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.NodeUpdate.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.NodeUpdate.Builder |
putAllFeatures(java.util.Map<java.lang.Integer,LightningApi.Feature> values)
Features that the node has advertised in the init message, node
announcements and invoices.
|
LightningApi.NodeUpdate.Builder |
putFeatures(int key,
LightningApi.Feature value)
Features that the node has advertised in the init message, node
announcements and invoices.
|
LightningApi.NodeUpdate.Builder |
removeFeatures(int key)
Features that the node has advertised in the init message, node
announcements and invoices.
|
LightningApi.NodeUpdate.Builder |
removeNodeAddresses(int index)
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeUpdate.Builder |
setAddresses(int index,
java.lang.String value)
Deprecated.
lnrpc.NodeUpdate.addresses is deprecated.
See lightning.api.proto;l=3386
|
LightningApi.NodeUpdate.Builder |
setAlias(java.lang.String value)
string alias = 4; |
LightningApi.NodeUpdate.Builder |
setAliasBytes(com.google.protobuf.ByteString value)
string alias = 4; |
LightningApi.NodeUpdate.Builder |
setColor(java.lang.String value)
string color = 5; |
LightningApi.NodeUpdate.Builder |
setColorBytes(com.google.protobuf.ByteString value)
string color = 5; |
LightningApi.NodeUpdate.Builder |
setGlobalFeatures(com.google.protobuf.ByteString value)
Deprecated.
lnrpc.NodeUpdate.global_features is deprecated.
See lightning.api.proto;l=3393
|
LightningApi.NodeUpdate.Builder |
setIdentityKey(java.lang.String value)
string identity_key = 2; |
LightningApi.NodeUpdate.Builder |
setIdentityKeyBytes(com.google.protobuf.ByteString value)
string identity_key = 2; |
LightningApi.NodeUpdate.Builder |
setNodeAddresses(int index,
LightningApi.NodeAddress.Builder builderForValue)
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeUpdate.Builder |
setNodeAddresses(int index,
LightningApi.NodeAddress value)
repeated .lnrpc.NodeAddress node_addresses = 7; |
LightningApi.NodeUpdate.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeUpdate.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeUpdate.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeUpdate.Builder>public LightningApi.NodeUpdate.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeUpdate.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeUpdate.Builder>public LightningApi.NodeUpdate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.NodeUpdate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.NodeUpdate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.NodeUpdate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.NodeUpdate.Builder>public LightningApi.NodeUpdate.Builder mergeFrom(LightningApi.NodeUpdate other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeUpdate.Builder>public LightningApi.NodeUpdate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.NodeUpdate.Builder>java.io.IOException@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.@Deprecated public LightningApi.NodeUpdate.Builder setAddresses(int index, java.lang.String value)
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];index - The index to set the value at.value - The addresses to set.@Deprecated public LightningApi.NodeUpdate.Builder addAddresses(java.lang.String value)
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];value - The addresses to add.@Deprecated public LightningApi.NodeUpdate.Builder addAllAddresses(java.lang.Iterable<java.lang.String> values)
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];values - The addresses to add.@Deprecated public LightningApi.NodeUpdate.Builder clearAddresses()
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];@Deprecated public LightningApi.NodeUpdate.Builder addAddressesBytes(com.google.protobuf.ByteString value)
Deprecated, use node_addresses.
repeated string addresses = 1 [deprecated = true];value - The bytes of the addresses to add.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.NodeUpdateOrBuilderpublic LightningApi.NodeUpdate.Builder setIdentityKey(java.lang.String value)
string identity_key = 2;value - The identityKey to set.public LightningApi.NodeUpdate.Builder clearIdentityKey()
string identity_key = 2;public LightningApi.NodeUpdate.Builder setIdentityKeyBytes(com.google.protobuf.ByteString value)
string identity_key = 2;value - The bytes for identityKey to set.@Deprecated public com.google.protobuf.ByteString getGlobalFeatures()
Deprecated, use features.
bytes global_features = 3 [deprecated = true];getGlobalFeatures in interface LightningApi.NodeUpdateOrBuilder@Deprecated public LightningApi.NodeUpdate.Builder setGlobalFeatures(com.google.protobuf.ByteString value)
Deprecated, use features.
bytes global_features = 3 [deprecated = true];value - The globalFeatures to set.@Deprecated public LightningApi.NodeUpdate.Builder clearGlobalFeatures()
Deprecated, use features.
bytes global_features = 3 [deprecated = true];public 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 LightningApi.NodeUpdate.Builder setAlias(java.lang.String value)
string alias = 4;value - The alias to set.public LightningApi.NodeUpdate.Builder clearAlias()
string alias = 4;public LightningApi.NodeUpdate.Builder setAliasBytes(com.google.protobuf.ByteString value)
string alias = 4;value - The bytes for alias to set.public 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 LightningApi.NodeUpdate.Builder setColor(java.lang.String value)
string color = 5;value - The color to set.public LightningApi.NodeUpdate.Builder clearColor()
string color = 5;public LightningApi.NodeUpdate.Builder setColorBytes(com.google.protobuf.ByteString value)
string color = 5;value - The bytes for color to set.public java.util.List<LightningApi.NodeAddress> getNodeAddressesList()
repeated .lnrpc.NodeAddress node_addresses = 7;getNodeAddressesList 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.NodeUpdate.Builder setNodeAddresses(int index, LightningApi.NodeAddress value)
repeated .lnrpc.NodeAddress node_addresses = 7;public LightningApi.NodeUpdate.Builder setNodeAddresses(int index, LightningApi.NodeAddress.Builder builderForValue)
repeated .lnrpc.NodeAddress node_addresses = 7;public LightningApi.NodeUpdate.Builder addNodeAddresses(LightningApi.NodeAddress value)
repeated .lnrpc.NodeAddress node_addresses = 7;public LightningApi.NodeUpdate.Builder addNodeAddresses(int index, LightningApi.NodeAddress value)
repeated .lnrpc.NodeAddress node_addresses = 7;public LightningApi.NodeUpdate.Builder addNodeAddresses(LightningApi.NodeAddress.Builder builderForValue)
repeated .lnrpc.NodeAddress node_addresses = 7;public LightningApi.NodeUpdate.Builder addNodeAddresses(int index, LightningApi.NodeAddress.Builder builderForValue)
repeated .lnrpc.NodeAddress node_addresses = 7;public LightningApi.NodeUpdate.Builder addAllNodeAddresses(java.lang.Iterable<? extends LightningApi.NodeAddress> values)
repeated .lnrpc.NodeAddress node_addresses = 7;public LightningApi.NodeUpdate.Builder clearNodeAddresses()
repeated .lnrpc.NodeAddress node_addresses = 7;public LightningApi.NodeUpdate.Builder removeNodeAddresses(int index)
repeated .lnrpc.NodeAddress node_addresses = 7;public LightningApi.NodeAddress.Builder getNodeAddressesBuilder(int index)
repeated .lnrpc.NodeAddress node_addresses = 7;public LightningApi.NodeAddressOrBuilder getNodeAddressesOrBuilder(int index)
repeated .lnrpc.NodeAddress node_addresses = 7;getNodeAddressesOrBuilder in interface LightningApi.NodeUpdateOrBuilderpublic java.util.List<? extends LightningApi.NodeAddressOrBuilder> getNodeAddressesOrBuilderList()
repeated .lnrpc.NodeAddress node_addresses = 7;getNodeAddressesOrBuilderList in interface LightningApi.NodeUpdateOrBuilderpublic LightningApi.NodeAddress.Builder addNodeAddressesBuilder()
repeated .lnrpc.NodeAddress node_addresses = 7;public LightningApi.NodeAddress.Builder addNodeAddressesBuilder(int index)
repeated .lnrpc.NodeAddress node_addresses = 7;public java.util.List<LightningApi.NodeAddress.Builder> getNodeAddressesBuilderList()
repeated .lnrpc.NodeAddress node_addresses = 7;public 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 LightningApi.NodeUpdate.Builder clearFeatures()
public LightningApi.NodeUpdate.Builder removeFeatures(int key)
Features that the node has advertised in the init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 6;@Deprecated public java.util.Map<java.lang.Integer,LightningApi.Feature> getMutableFeatures()
public LightningApi.NodeUpdate.Builder putFeatures(int key, LightningApi.Feature value)
Features that the node has advertised in the init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 6;public LightningApi.NodeUpdate.Builder putAllFeatures(java.util.Map<java.lang.Integer,LightningApi.Feature> values)
Features that the node has advertised in the init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 6;public final LightningApi.NodeUpdate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeUpdate.Builder>public final LightningApi.NodeUpdate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeUpdate.Builder>