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, 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.ListChannelsRequest.Builder>
public LightningApi.ListChannelsRequest.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.ListChannelsRequest.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.ListChannelsRequest.Builder>
public LightningApi.ListChannelsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.ListChannelsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ListChannelsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ListChannelsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ListChannelsRequest.Builder>
java.io.IOException
public boolean getActiveOnly()
bool active_only = 1;
getActiveOnly
in interface LightningApi.ListChannelsRequestOrBuilder
public 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.ListChannelsRequestOrBuilder
public 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.ListChannelsRequestOrBuilder
public 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.ListChannelsRequestOrBuilder
public 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.ListChannelsRequestOrBuilder
public 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.ListChannelsRequestOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListChannelsRequest.Builder>