public static final class LightningApi.EdgeLocator.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EdgeLocator.Builder> implements LightningApi.EdgeLocatorOrBuilder
lnrpc.EdgeLocator| Modifier and Type | Method and Description |
|---|---|
LightningApi.EdgeLocator |
build() |
LightningApi.EdgeLocator |
buildPartial() |
LightningApi.EdgeLocator.Builder |
clear() |
LightningApi.EdgeLocator.Builder |
clearChannelId()
The short channel id of this edge.
|
LightningApi.EdgeLocator.Builder |
clearDirectionReverse()
The direction of this edge.
|
long |
getChannelId()
The short channel id of this edge.
|
LightningApi.EdgeLocator |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDirectionReverse()
The direction of this edge.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.EdgeLocator.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.EdgeLocator.Builder |
mergeFrom(LightningApi.EdgeLocator other) |
LightningApi.EdgeLocator.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.EdgeLocator.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.EdgeLocator.Builder |
setChannelId(long value)
The short channel id of this edge.
|
LightningApi.EdgeLocator.Builder |
setDirectionReverse(boolean value)
The direction of this edge.
|
LightningApi.EdgeLocator.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.EdgeLocator.Builder>public LightningApi.EdgeLocator.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.EdgeLocator.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.EdgeLocator.Builder>public LightningApi.EdgeLocator getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.EdgeLocator build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.EdgeLocator buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.EdgeLocator.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.EdgeLocator.Builder>public LightningApi.EdgeLocator.Builder mergeFrom(LightningApi.EdgeLocator other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EdgeLocator.Builder>public LightningApi.EdgeLocator.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.EdgeLocator.Builder>java.io.IOExceptionpublic long getChannelId()
The short channel id of this edge.
uint64 channel_id = 1 [jstype = JS_STRING];getChannelId in interface LightningApi.EdgeLocatorOrBuilderpublic LightningApi.EdgeLocator.Builder setChannelId(long value)
The short channel id of this edge.
uint64 channel_id = 1 [jstype = JS_STRING];value - The channelId to set.public LightningApi.EdgeLocator.Builder clearChannelId()
The short channel id of this edge.
uint64 channel_id = 1 [jstype = JS_STRING];public boolean getDirectionReverse()
The direction of this edge. If direction_reverse is false, the direction of this edge is from the channel endpoint with the lexicographically smaller pub key to the endpoint with the larger pub key. If direction_reverse is is true, the edge goes the other way.
bool direction_reverse = 2;getDirectionReverse in interface LightningApi.EdgeLocatorOrBuilderpublic LightningApi.EdgeLocator.Builder setDirectionReverse(boolean value)
The direction of this edge. If direction_reverse is false, the direction of this edge is from the channel endpoint with the lexicographically smaller pub key to the endpoint with the larger pub key. If direction_reverse is is true, the edge goes the other way.
bool direction_reverse = 2;value - The directionReverse to set.public LightningApi.EdgeLocator.Builder clearDirectionReverse()
The direction of this edge. If direction_reverse is false, the direction of this edge is from the channel endpoint with the lexicographically smaller pub key to the endpoint with the larger pub key. If direction_reverse is is true, the edge goes the other way.
bool direction_reverse = 2;public final LightningApi.EdgeLocator.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EdgeLocator.Builder>public final LightningApi.EdgeLocator.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EdgeLocator.Builder>