public static final class LightningApi.ListPeersResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPeersResponse.Builder> implements LightningApi.ListPeersResponseOrBuilder
lnrpc.ListPeersResponse
Modifier and Type | Method and Description |
---|---|
LightningApi.ListPeersResponse.Builder |
addAllPeers(java.lang.Iterable<? extends LightningApi.Peer> values)
The list of currently connected peers
|
LightningApi.ListPeersResponse.Builder |
addPeers(int index,
LightningApi.Peer.Builder builderForValue)
The list of currently connected peers
|
LightningApi.ListPeersResponse.Builder |
addPeers(int index,
LightningApi.Peer value)
The list of currently connected peers
|
LightningApi.ListPeersResponse.Builder |
addPeers(LightningApi.Peer.Builder builderForValue)
The list of currently connected peers
|
LightningApi.ListPeersResponse.Builder |
addPeers(LightningApi.Peer value)
The list of currently connected peers
|
LightningApi.Peer.Builder |
addPeersBuilder()
The list of currently connected peers
|
LightningApi.Peer.Builder |
addPeersBuilder(int index)
The list of currently connected peers
|
LightningApi.ListPeersResponse |
build() |
LightningApi.ListPeersResponse |
buildPartial() |
LightningApi.ListPeersResponse.Builder |
clear() |
LightningApi.ListPeersResponse.Builder |
clearPeers()
The list of currently connected peers
|
LightningApi.ListPeersResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.Peer |
getPeers(int index)
The list of currently connected peers
|
LightningApi.Peer.Builder |
getPeersBuilder(int index)
The list of currently connected peers
|
java.util.List<LightningApi.Peer.Builder> |
getPeersBuilderList()
The list of currently connected peers
|
int |
getPeersCount()
The list of currently connected peers
|
java.util.List<LightningApi.Peer> |
getPeersList()
The list of currently connected peers
|
LightningApi.PeerOrBuilder |
getPeersOrBuilder(int index)
The list of currently connected peers
|
java.util.List<? extends LightningApi.PeerOrBuilder> |
getPeersOrBuilderList()
The list of currently connected peers
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ListPeersResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ListPeersResponse.Builder |
mergeFrom(LightningApi.ListPeersResponse other) |
LightningApi.ListPeersResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ListPeersResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ListPeersResponse.Builder |
removePeers(int index)
The list of currently connected peers
|
LightningApi.ListPeersResponse.Builder |
setPeers(int index,
LightningApi.Peer.Builder builderForValue)
The list of currently connected peers
|
LightningApi.ListPeersResponse.Builder |
setPeers(int index,
LightningApi.Peer value)
The list of currently connected peers
|
LightningApi.ListPeersResponse.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.ListPeersResponse.Builder>
public LightningApi.ListPeersResponse.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.ListPeersResponse.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.ListPeersResponse.Builder>
public LightningApi.ListPeersResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.ListPeersResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ListPeersResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ListPeersResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ListPeersResponse.Builder>
public LightningApi.ListPeersResponse.Builder mergeFrom(LightningApi.ListPeersResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPeersResponse.Builder>
public LightningApi.ListPeersResponse.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.ListPeersResponse.Builder>
java.io.IOException
public java.util.List<LightningApi.Peer> getPeersList()
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
getPeersList
in interface LightningApi.ListPeersResponseOrBuilder
public int getPeersCount()
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
getPeersCount
in interface LightningApi.ListPeersResponseOrBuilder
public LightningApi.Peer getPeers(int index)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
getPeers
in interface LightningApi.ListPeersResponseOrBuilder
public LightningApi.ListPeersResponse.Builder setPeers(int index, LightningApi.Peer value)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public LightningApi.ListPeersResponse.Builder setPeers(int index, LightningApi.Peer.Builder builderForValue)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public LightningApi.ListPeersResponse.Builder addPeers(LightningApi.Peer value)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public LightningApi.ListPeersResponse.Builder addPeers(int index, LightningApi.Peer value)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public LightningApi.ListPeersResponse.Builder addPeers(LightningApi.Peer.Builder builderForValue)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public LightningApi.ListPeersResponse.Builder addPeers(int index, LightningApi.Peer.Builder builderForValue)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public LightningApi.ListPeersResponse.Builder addAllPeers(java.lang.Iterable<? extends LightningApi.Peer> values)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public LightningApi.ListPeersResponse.Builder clearPeers()
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public LightningApi.ListPeersResponse.Builder removePeers(int index)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public LightningApi.Peer.Builder getPeersBuilder(int index)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public LightningApi.PeerOrBuilder getPeersOrBuilder(int index)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
getPeersOrBuilder
in interface LightningApi.ListPeersResponseOrBuilder
public java.util.List<? extends LightningApi.PeerOrBuilder> getPeersOrBuilderList()
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
getPeersOrBuilderList
in interface LightningApi.ListPeersResponseOrBuilder
public LightningApi.Peer.Builder addPeersBuilder()
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public LightningApi.Peer.Builder addPeersBuilder(int index)
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public java.util.List<LightningApi.Peer.Builder> getPeersBuilderList()
The list of currently connected peers
repeated .lnrpc.Peer peers = 1;
public final LightningApi.ListPeersResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPeersResponse.Builder>
public final LightningApi.ListPeersResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPeersResponse.Builder>