public static final class LightningApi.ListChannelsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListChannelsRequest.Builder> implements LightningApi.ListChannelsRequestOrBuilder
lnrpc.ListChannelsRequest| Modifier and Type | Method and Description |
|---|---|
LightningApi.ListChannelsRequest |
build() |
LightningApi.ListChannelsRequest |
buildPartial() |
LightningApi.ListChannelsRequest.Builder |
clear() |
LightningApi.ListChannelsRequest.Builder |
clearActiveOnly()
bool active_only = 1; |
LightningApi.ListChannelsRequest.Builder |
clearInactiveOnly()
bool inactive_only = 2; |
LightningApi.ListChannelsRequest.Builder |
clearPeer()
Filters the response for channels with a target peer's pubkey.
|
LightningApi.ListChannelsRequest.Builder |
clearPeerAliasLookup()
Informs the server if the peer alias lookup per channel should be
enabled.
|
LightningApi.ListChannelsRequest.Builder |
clearPrivateOnly()
bool private_only = 4; |
LightningApi.ListChannelsRequest.Builder |
clearPublicOnly()
bool public_only = 3; |
boolean |
getActiveOnly()
bool active_only = 1; |
LightningApi.ListChannelsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getInactiveOnly()
bool inactive_only = 2; |
com.google.protobuf.ByteString |
getPeer()
Filters the response for channels with a target peer's pubkey.
|
boolean |
getPeerAliasLookup()
Informs the server if the peer alias lookup per channel should be
enabled.
|
boolean |
getPrivateOnly()
bool private_only = 4; |
boolean |
getPublicOnly()
bool public_only = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ListChannelsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ListChannelsRequest.Builder |
mergeFrom(LightningApi.ListChannelsRequest other) |
LightningApi.ListChannelsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ListChannelsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ListChannelsRequest.Builder |
setActiveOnly(boolean value)
bool active_only = 1; |
LightningApi.ListChannelsRequest.Builder |
setInactiveOnly(boolean value)
bool inactive_only = 2; |
LightningApi.ListChannelsRequest.Builder |
setPeer(com.google.protobuf.ByteString value)
Filters the response for channels with a target peer's pubkey.
|
LightningApi.ListChannelsRequest.Builder |
setPeerAliasLookup(boolean value)
Informs the server if the peer alias lookup per channel should be
enabled.
|
LightningApi.ListChannelsRequest.Builder |
setPrivateOnly(boolean value)
bool private_only = 4; |
LightningApi.ListChannelsRequest.Builder |
setPublicOnly(boolean value)
bool public_only = 3; |
LightningApi.ListChannelsRequest.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, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListChannelsRequest.Builder>public LightningApi.ListChannelsRequest.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.ListChannelsRequest.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.ListChannelsRequest.Builder>public LightningApi.ListChannelsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.ListChannelsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ListChannelsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ListChannelsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ListChannelsRequest.Builder>public LightningApi.ListChannelsRequest.Builder mergeFrom(LightningApi.ListChannelsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListChannelsRequest.Builder>public LightningApi.ListChannelsRequest.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.ListChannelsRequest.Builder>java.io.IOExceptionpublic boolean getActiveOnly()
bool active_only = 1;getActiveOnly in interface LightningApi.ListChannelsRequestOrBuilderpublic LightningApi.ListChannelsRequest.Builder setActiveOnly(boolean value)
bool active_only = 1;value - The activeOnly to set.public LightningApi.ListChannelsRequest.Builder clearActiveOnly()
bool active_only = 1;public boolean getInactiveOnly()
bool inactive_only = 2;getInactiveOnly in interface LightningApi.ListChannelsRequestOrBuilderpublic LightningApi.ListChannelsRequest.Builder setInactiveOnly(boolean value)
bool inactive_only = 2;value - The inactiveOnly to set.public LightningApi.ListChannelsRequest.Builder clearInactiveOnly()
bool inactive_only = 2;public boolean getPublicOnly()
bool public_only = 3;getPublicOnly in interface LightningApi.ListChannelsRequestOrBuilderpublic LightningApi.ListChannelsRequest.Builder setPublicOnly(boolean value)
bool public_only = 3;value - The publicOnly to set.public LightningApi.ListChannelsRequest.Builder clearPublicOnly()
bool public_only = 3;public boolean getPrivateOnly()
bool private_only = 4;getPrivateOnly in interface LightningApi.ListChannelsRequestOrBuilderpublic LightningApi.ListChannelsRequest.Builder setPrivateOnly(boolean value)
bool private_only = 4;value - The privateOnly to set.public LightningApi.ListChannelsRequest.Builder clearPrivateOnly()
bool private_only = 4;public com.google.protobuf.ByteString getPeer()
Filters the response for channels with a target peer's pubkey. If peer is empty, all channels will be returned.
bytes peer = 5;getPeer in interface LightningApi.ListChannelsRequestOrBuilderpublic LightningApi.ListChannelsRequest.Builder setPeer(com.google.protobuf.ByteString value)
Filters the response for channels with a target peer's pubkey. If peer is empty, all channels will be returned.
bytes peer = 5;value - The peer to set.public LightningApi.ListChannelsRequest.Builder clearPeer()
Filters the response for channels with a target peer's pubkey. If peer is empty, all channels will be returned.
bytes peer = 5;public boolean getPeerAliasLookup()
Informs the server if the peer alias lookup per channel should be enabled. It is turned off by default in order to avoid degradation of performance for existing clients.
bool peer_alias_lookup = 6;getPeerAliasLookup in interface LightningApi.ListChannelsRequestOrBuilderpublic LightningApi.ListChannelsRequest.Builder setPeerAliasLookup(boolean value)
Informs the server if the peer alias lookup per channel should be enabled. It is turned off by default in order to avoid degradation of performance for existing clients.
bool peer_alias_lookup = 6;value - The peerAliasLookup to set.public LightningApi.ListChannelsRequest.Builder clearPeerAliasLookup()
Informs the server if the peer alias lookup per channel should be enabled. It is turned off by default in order to avoid degradation of performance for existing clients.
bool peer_alias_lookup = 6;public final LightningApi.ListChannelsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListChannelsRequest.Builder>public final LightningApi.ListChannelsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListChannelsRequest.Builder>