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, 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.EdgeLocator.Builder>
public LightningApi.EdgeLocator.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.EdgeLocator.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.EdgeLocator.Builder>
public LightningApi.EdgeLocator getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.EdgeLocator build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.EdgeLocator buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.EdgeLocator.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.EdgeLocator.Builder>
java.io.IOException
public long getChannelId()
The short channel id of this edge.
uint64 channel_id = 1 [jstype = JS_STRING];
getChannelId
in interface LightningApi.EdgeLocatorOrBuilder
public 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.EdgeLocatorOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.EdgeLocator.Builder>