public static final class LightningApi.ChannelGraph.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelGraph.Builder> implements LightningApi.ChannelGraphOrBuilder
Returns a new instance of the directed channel graph.Protobuf type
lnrpc.ChannelGraph
Modifier and Type | Method and Description |
---|---|
LightningApi.ChannelGraph.Builder |
addAllEdges(java.lang.Iterable<? extends LightningApi.ChannelEdge> values)
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
addAllNodes(java.lang.Iterable<? extends LightningApi.LightningNode> values)
The list of `LightningNode`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
addEdges(int index,
LightningApi.ChannelEdge.Builder builderForValue)
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
addEdges(int index,
LightningApi.ChannelEdge value)
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
addEdges(LightningApi.ChannelEdge.Builder builderForValue)
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
addEdges(LightningApi.ChannelEdge value)
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelEdge.Builder |
addEdgesBuilder()
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelEdge.Builder |
addEdgesBuilder(int index)
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
addNodes(int index,
LightningApi.LightningNode.Builder builderForValue)
The list of `LightningNode`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
addNodes(int index,
LightningApi.LightningNode value)
The list of `LightningNode`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
addNodes(LightningApi.LightningNode.Builder builderForValue)
The list of `LightningNode`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
addNodes(LightningApi.LightningNode value)
The list of `LightningNode`s in this channel graph
|
LightningApi.LightningNode.Builder |
addNodesBuilder()
The list of `LightningNode`s in this channel graph
|
LightningApi.LightningNode.Builder |
addNodesBuilder(int index)
The list of `LightningNode`s in this channel graph
|
LightningApi.ChannelGraph |
build() |
LightningApi.ChannelGraph |
buildPartial() |
LightningApi.ChannelGraph.Builder |
clear() |
LightningApi.ChannelGraph.Builder |
clearEdges()
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
clearNodes()
The list of `LightningNode`s in this channel graph
|
LightningApi.ChannelGraph |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.ChannelEdge |
getEdges(int index)
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelEdge.Builder |
getEdgesBuilder(int index)
The list of `ChannelEdge`s in this channel graph
|
java.util.List<LightningApi.ChannelEdge.Builder> |
getEdgesBuilderList()
The list of `ChannelEdge`s in this channel graph
|
int |
getEdgesCount()
The list of `ChannelEdge`s in this channel graph
|
java.util.List<LightningApi.ChannelEdge> |
getEdgesList()
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelEdgeOrBuilder |
getEdgesOrBuilder(int index)
The list of `ChannelEdge`s in this channel graph
|
java.util.List<? extends LightningApi.ChannelEdgeOrBuilder> |
getEdgesOrBuilderList()
The list of `ChannelEdge`s in this channel graph
|
LightningApi.LightningNode |
getNodes(int index)
The list of `LightningNode`s in this channel graph
|
LightningApi.LightningNode.Builder |
getNodesBuilder(int index)
The list of `LightningNode`s in this channel graph
|
java.util.List<LightningApi.LightningNode.Builder> |
getNodesBuilderList()
The list of `LightningNode`s in this channel graph
|
int |
getNodesCount()
The list of `LightningNode`s in this channel graph
|
java.util.List<LightningApi.LightningNode> |
getNodesList()
The list of `LightningNode`s in this channel graph
|
LightningApi.LightningNodeOrBuilder |
getNodesOrBuilder(int index)
The list of `LightningNode`s in this channel graph
|
java.util.List<? extends LightningApi.LightningNodeOrBuilder> |
getNodesOrBuilderList()
The list of `LightningNode`s in this channel graph
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ChannelGraph.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ChannelGraph.Builder |
mergeFrom(LightningApi.ChannelGraph other) |
LightningApi.ChannelGraph.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ChannelGraph.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ChannelGraph.Builder |
removeEdges(int index)
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
removeNodes(int index)
The list of `LightningNode`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
setEdges(int index,
LightningApi.ChannelEdge.Builder builderForValue)
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
setEdges(int index,
LightningApi.ChannelEdge value)
The list of `ChannelEdge`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
setNodes(int index,
LightningApi.LightningNode.Builder builderForValue)
The list of `LightningNode`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
setNodes(int index,
LightningApi.LightningNode value)
The list of `LightningNode`s in this channel graph
|
LightningApi.ChannelGraph.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelGraph.Builder>
public LightningApi.ChannelGraph.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelGraph.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelGraph.Builder>
public LightningApi.ChannelGraph getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.ChannelGraph build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ChannelGraph buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ChannelGraph.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ChannelGraph.Builder>
public LightningApi.ChannelGraph.Builder mergeFrom(LightningApi.ChannelGraph other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelGraph.Builder>
public LightningApi.ChannelGraph.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ChannelGraph.Builder>
java.io.IOException
public java.util.List<LightningApi.LightningNode> getNodesList()
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
getNodesList
in interface LightningApi.ChannelGraphOrBuilder
public int getNodesCount()
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
getNodesCount
in interface LightningApi.ChannelGraphOrBuilder
public LightningApi.LightningNode getNodes(int index)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
getNodes
in interface LightningApi.ChannelGraphOrBuilder
public LightningApi.ChannelGraph.Builder setNodes(int index, LightningApi.LightningNode value)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public LightningApi.ChannelGraph.Builder setNodes(int index, LightningApi.LightningNode.Builder builderForValue)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public LightningApi.ChannelGraph.Builder addNodes(LightningApi.LightningNode value)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public LightningApi.ChannelGraph.Builder addNodes(int index, LightningApi.LightningNode value)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public LightningApi.ChannelGraph.Builder addNodes(LightningApi.LightningNode.Builder builderForValue)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public LightningApi.ChannelGraph.Builder addNodes(int index, LightningApi.LightningNode.Builder builderForValue)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public LightningApi.ChannelGraph.Builder addAllNodes(java.lang.Iterable<? extends LightningApi.LightningNode> values)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public LightningApi.ChannelGraph.Builder clearNodes()
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public LightningApi.ChannelGraph.Builder removeNodes(int index)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public LightningApi.LightningNode.Builder getNodesBuilder(int index)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public LightningApi.LightningNodeOrBuilder getNodesOrBuilder(int index)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
getNodesOrBuilder
in interface LightningApi.ChannelGraphOrBuilder
public java.util.List<? extends LightningApi.LightningNodeOrBuilder> getNodesOrBuilderList()
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
getNodesOrBuilderList
in interface LightningApi.ChannelGraphOrBuilder
public LightningApi.LightningNode.Builder addNodesBuilder()
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public LightningApi.LightningNode.Builder addNodesBuilder(int index)
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public java.util.List<LightningApi.LightningNode.Builder> getNodesBuilderList()
The list of `LightningNode`s in this channel graph
repeated .lnrpc.LightningNode nodes = 1;
public java.util.List<LightningApi.ChannelEdge> getEdgesList()
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
getEdgesList
in interface LightningApi.ChannelGraphOrBuilder
public int getEdgesCount()
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
getEdgesCount
in interface LightningApi.ChannelGraphOrBuilder
public LightningApi.ChannelEdge getEdges(int index)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
getEdges
in interface LightningApi.ChannelGraphOrBuilder
public LightningApi.ChannelGraph.Builder setEdges(int index, LightningApi.ChannelEdge value)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public LightningApi.ChannelGraph.Builder setEdges(int index, LightningApi.ChannelEdge.Builder builderForValue)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public LightningApi.ChannelGraph.Builder addEdges(LightningApi.ChannelEdge value)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public LightningApi.ChannelGraph.Builder addEdges(int index, LightningApi.ChannelEdge value)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public LightningApi.ChannelGraph.Builder addEdges(LightningApi.ChannelEdge.Builder builderForValue)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public LightningApi.ChannelGraph.Builder addEdges(int index, LightningApi.ChannelEdge.Builder builderForValue)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public LightningApi.ChannelGraph.Builder addAllEdges(java.lang.Iterable<? extends LightningApi.ChannelEdge> values)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public LightningApi.ChannelGraph.Builder clearEdges()
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public LightningApi.ChannelGraph.Builder removeEdges(int index)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public LightningApi.ChannelEdge.Builder getEdgesBuilder(int index)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public LightningApi.ChannelEdgeOrBuilder getEdgesOrBuilder(int index)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
getEdgesOrBuilder
in interface LightningApi.ChannelGraphOrBuilder
public java.util.List<? extends LightningApi.ChannelEdgeOrBuilder> getEdgesOrBuilderList()
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
getEdgesOrBuilderList
in interface LightningApi.ChannelGraphOrBuilder
public LightningApi.ChannelEdge.Builder addEdgesBuilder()
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public LightningApi.ChannelEdge.Builder addEdgesBuilder(int index)
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public java.util.List<LightningApi.ChannelEdge.Builder> getEdgesBuilderList()
The list of `ChannelEdge`s in this channel graph
repeated .lnrpc.ChannelEdge edges = 2;
public final LightningApi.ChannelGraph.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelGraph.Builder>
public final LightningApi.ChannelGraph.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelGraph.Builder>