public static final class LightningApi.NodeMetricsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeMetricsResponse.Builder> implements LightningApi.NodeMetricsResponseOrBuilder
lnrpc.NodeMetricsResponse| Modifier and Type | Method and Description |
|---|---|
LightningApi.NodeMetricsResponse |
build() |
LightningApi.NodeMetricsResponse |
buildPartial() |
LightningApi.NodeMetricsResponse.Builder |
clear() |
LightningApi.NodeMetricsResponse.Builder |
clearBetweennessCentrality() |
boolean |
containsBetweennessCentrality(java.lang.String key)
Betweenness centrality is the sum of the ratio of shortest paths that pass
through the node for each pair of nodes in the graph (not counting paths
starting or ending at this node).
|
java.util.Map<java.lang.String,LightningApi.FloatMetric> |
getBetweennessCentrality()
Deprecated.
|
int |
getBetweennessCentralityCount()
Betweenness centrality is the sum of the ratio of shortest paths that pass
through the node for each pair of nodes in the graph (not counting paths
starting or ending at this node).
|
java.util.Map<java.lang.String,LightningApi.FloatMetric> |
getBetweennessCentralityMap()
Betweenness centrality is the sum of the ratio of shortest paths that pass
through the node for each pair of nodes in the graph (not counting paths
starting or ending at this node).
|
LightningApi.FloatMetric |
getBetweennessCentralityOrDefault(java.lang.String key,
LightningApi.FloatMetric defaultValue)
Betweenness centrality is the sum of the ratio of shortest paths that pass
through the node for each pair of nodes in the graph (not counting paths
starting or ending at this node).
|
LightningApi.FloatMetric |
getBetweennessCentralityOrThrow(java.lang.String key)
Betweenness centrality is the sum of the ratio of shortest paths that pass
through the node for each pair of nodes in the graph (not counting paths
starting or ending at this node).
|
LightningApi.NodeMetricsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.String,LightningApi.FloatMetric> |
getMutableBetweennessCentrality()
Deprecated.
|
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.NodeMetricsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.NodeMetricsResponse.Builder |
mergeFrom(LightningApi.NodeMetricsResponse other) |
LightningApi.NodeMetricsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.NodeMetricsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.NodeMetricsResponse.Builder |
putAllBetweennessCentrality(java.util.Map<java.lang.String,LightningApi.FloatMetric> values)
Betweenness centrality is the sum of the ratio of shortest paths that pass
through the node for each pair of nodes in the graph (not counting paths
starting or ending at this node).
|
LightningApi.NodeMetricsResponse.Builder |
putBetweennessCentrality(java.lang.String key,
LightningApi.FloatMetric value)
Betweenness centrality is the sum of the ratio of shortest paths that pass
through the node for each pair of nodes in the graph (not counting paths
starting or ending at this node).
|
LightningApi.NodeMetricsResponse.Builder |
removeBetweennessCentrality(java.lang.String key)
Betweenness centrality is the sum of the ratio of shortest paths that pass
through the node for each pair of nodes in the graph (not counting paths
starting or ending at this node).
|
LightningApi.NodeMetricsResponse.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.NodeMetricsResponse.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeMetricsResponse.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeMetricsResponse.Builder>public LightningApi.NodeMetricsResponse.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.NodeMetricsResponse.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.NodeMetricsResponse.Builder>public LightningApi.NodeMetricsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.NodeMetricsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.NodeMetricsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.NodeMetricsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.NodeMetricsResponse.Builder>public LightningApi.NodeMetricsResponse.Builder mergeFrom(LightningApi.NodeMetricsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeMetricsResponse.Builder>public LightningApi.NodeMetricsResponse.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.NodeMetricsResponse.Builder>java.io.IOExceptionpublic int getBetweennessCentralityCount()
LightningApi.NodeMetricsResponseOrBuilderBetweenness centrality is the sum of the ratio of shortest paths that pass through the node for each pair of nodes in the graph (not counting paths starting or ending at this node). Map of node pubkey to betweenness centrality of the node. Normalized values are in the [0,1] closed interval.
map<string, .lnrpc.FloatMetric> betweenness_centrality = 1;getBetweennessCentralityCount in interface LightningApi.NodeMetricsResponseOrBuilderpublic boolean containsBetweennessCentrality(java.lang.String key)
Betweenness centrality is the sum of the ratio of shortest paths that pass through the node for each pair of nodes in the graph (not counting paths starting or ending at this node). Map of node pubkey to betweenness centrality of the node. Normalized values are in the [0,1] closed interval.
map<string, .lnrpc.FloatMetric> betweenness_centrality = 1;containsBetweennessCentrality in interface LightningApi.NodeMetricsResponseOrBuilder@Deprecated public java.util.Map<java.lang.String,LightningApi.FloatMetric> getBetweennessCentrality()
getBetweennessCentralityMap() instead.getBetweennessCentrality in interface LightningApi.NodeMetricsResponseOrBuilderpublic java.util.Map<java.lang.String,LightningApi.FloatMetric> getBetweennessCentralityMap()
Betweenness centrality is the sum of the ratio of shortest paths that pass through the node for each pair of nodes in the graph (not counting paths starting or ending at this node). Map of node pubkey to betweenness centrality of the node. Normalized values are in the [0,1] closed interval.
map<string, .lnrpc.FloatMetric> betweenness_centrality = 1;getBetweennessCentralityMap in interface LightningApi.NodeMetricsResponseOrBuilderpublic LightningApi.FloatMetric getBetweennessCentralityOrDefault(java.lang.String key, LightningApi.FloatMetric defaultValue)
Betweenness centrality is the sum of the ratio of shortest paths that pass through the node for each pair of nodes in the graph (not counting paths starting or ending at this node). Map of node pubkey to betweenness centrality of the node. Normalized values are in the [0,1] closed interval.
map<string, .lnrpc.FloatMetric> betweenness_centrality = 1;getBetweennessCentralityOrDefault in interface LightningApi.NodeMetricsResponseOrBuilderpublic LightningApi.FloatMetric getBetweennessCentralityOrThrow(java.lang.String key)
Betweenness centrality is the sum of the ratio of shortest paths that pass through the node for each pair of nodes in the graph (not counting paths starting or ending at this node). Map of node pubkey to betweenness centrality of the node. Normalized values are in the [0,1] closed interval.
map<string, .lnrpc.FloatMetric> betweenness_centrality = 1;getBetweennessCentralityOrThrow in interface LightningApi.NodeMetricsResponseOrBuilderpublic LightningApi.NodeMetricsResponse.Builder clearBetweennessCentrality()
public LightningApi.NodeMetricsResponse.Builder removeBetweennessCentrality(java.lang.String key)
Betweenness centrality is the sum of the ratio of shortest paths that pass through the node for each pair of nodes in the graph (not counting paths starting or ending at this node). Map of node pubkey to betweenness centrality of the node. Normalized values are in the [0,1] closed interval.
map<string, .lnrpc.FloatMetric> betweenness_centrality = 1;@Deprecated public java.util.Map<java.lang.String,LightningApi.FloatMetric> getMutableBetweennessCentrality()
public LightningApi.NodeMetricsResponse.Builder putBetweennessCentrality(java.lang.String key, LightningApi.FloatMetric value)
Betweenness centrality is the sum of the ratio of shortest paths that pass through the node for each pair of nodes in the graph (not counting paths starting or ending at this node). Map of node pubkey to betweenness centrality of the node. Normalized values are in the [0,1] closed interval.
map<string, .lnrpc.FloatMetric> betweenness_centrality = 1;public LightningApi.NodeMetricsResponse.Builder putAllBetweennessCentrality(java.util.Map<java.lang.String,LightningApi.FloatMetric> values)
Betweenness centrality is the sum of the ratio of shortest paths that pass through the node for each pair of nodes in the graph (not counting paths starting or ending at this node). Map of node pubkey to betweenness centrality of the node. Normalized values are in the [0,1] closed interval.
map<string, .lnrpc.FloatMetric> betweenness_centrality = 1;public final LightningApi.NodeMetricsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeMetricsResponse.Builder>public final LightningApi.NodeMetricsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeMetricsResponse.Builder>