public static final class LightningApi.ChannelEdgeUpdate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelEdgeUpdate.Builder> implements LightningApi.ChannelEdgeUpdateOrBuilder
lnrpc.ChannelEdgeUpdate
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.ChannelEdgeUpdate.Builder>
public LightningApi.ChannelEdgeUpdate.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.ChannelEdgeUpdate.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.ChannelEdgeUpdate.Builder>
public LightningApi.ChannelEdgeUpdate getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.ChannelEdgeUpdate build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ChannelEdgeUpdate buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ChannelEdgeUpdate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ChannelEdgeUpdate.Builder>
public LightningApi.ChannelEdgeUpdate.Builder mergeFrom(LightningApi.ChannelEdgeUpdate other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelEdgeUpdate.Builder>
public LightningApi.ChannelEdgeUpdate.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.ChannelEdgeUpdate.Builder>
java.io.IOException
public long getChanId()
The unique channel ID for the channel. The first 3 bytes are the block height, the next 3 the index within the block, and the last 2 bytes are the output index for the channel.
uint64 chan_id = 1 [jstype = JS_STRING];
getChanId
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public LightningApi.ChannelEdgeUpdate.Builder setChanId(long value)
The unique channel ID for the channel. The first 3 bytes are the block height, the next 3 the index within the block, and the last 2 bytes are the output index for the channel.
uint64 chan_id = 1 [jstype = JS_STRING];
value
- The chanId to set.public LightningApi.ChannelEdgeUpdate.Builder clearChanId()
The unique channel ID for the channel. The first 3 bytes are the block height, the next 3 the index within the block, and the last 2 bytes are the output index for the channel.
uint64 chan_id = 1 [jstype = JS_STRING];
public boolean hasChanPoint()
.lnrpc.ChannelPoint chan_point = 2;
hasChanPoint
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public LightningApi.ChannelPoint getChanPoint()
.lnrpc.ChannelPoint chan_point = 2;
getChanPoint
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public LightningApi.ChannelEdgeUpdate.Builder setChanPoint(LightningApi.ChannelPoint value)
.lnrpc.ChannelPoint chan_point = 2;
public LightningApi.ChannelEdgeUpdate.Builder setChanPoint(LightningApi.ChannelPoint.Builder builderForValue)
.lnrpc.ChannelPoint chan_point = 2;
public LightningApi.ChannelEdgeUpdate.Builder mergeChanPoint(LightningApi.ChannelPoint value)
.lnrpc.ChannelPoint chan_point = 2;
public LightningApi.ChannelEdgeUpdate.Builder clearChanPoint()
.lnrpc.ChannelPoint chan_point = 2;
public LightningApi.ChannelPoint.Builder getChanPointBuilder()
.lnrpc.ChannelPoint chan_point = 2;
public LightningApi.ChannelPointOrBuilder getChanPointOrBuilder()
.lnrpc.ChannelPoint chan_point = 2;
getChanPointOrBuilder
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public long getCapacity()
int64 capacity = 3;
getCapacity
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public LightningApi.ChannelEdgeUpdate.Builder setCapacity(long value)
int64 capacity = 3;
value
- The capacity to set.public LightningApi.ChannelEdgeUpdate.Builder clearCapacity()
int64 capacity = 3;
public boolean hasRoutingPolicy()
.lnrpc.RoutingPolicy routing_policy = 4;
hasRoutingPolicy
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public LightningApi.RoutingPolicy getRoutingPolicy()
.lnrpc.RoutingPolicy routing_policy = 4;
getRoutingPolicy
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public LightningApi.ChannelEdgeUpdate.Builder setRoutingPolicy(LightningApi.RoutingPolicy value)
.lnrpc.RoutingPolicy routing_policy = 4;
public LightningApi.ChannelEdgeUpdate.Builder setRoutingPolicy(LightningApi.RoutingPolicy.Builder builderForValue)
.lnrpc.RoutingPolicy routing_policy = 4;
public LightningApi.ChannelEdgeUpdate.Builder mergeRoutingPolicy(LightningApi.RoutingPolicy value)
.lnrpc.RoutingPolicy routing_policy = 4;
public LightningApi.ChannelEdgeUpdate.Builder clearRoutingPolicy()
.lnrpc.RoutingPolicy routing_policy = 4;
public LightningApi.RoutingPolicy.Builder getRoutingPolicyBuilder()
.lnrpc.RoutingPolicy routing_policy = 4;
public LightningApi.RoutingPolicyOrBuilder getRoutingPolicyOrBuilder()
.lnrpc.RoutingPolicy routing_policy = 4;
getRoutingPolicyOrBuilder
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public java.lang.String getAdvertisingNode()
string advertising_node = 5;
getAdvertisingNode
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public com.google.protobuf.ByteString getAdvertisingNodeBytes()
string advertising_node = 5;
getAdvertisingNodeBytes
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public LightningApi.ChannelEdgeUpdate.Builder setAdvertisingNode(java.lang.String value)
string advertising_node = 5;
value
- The advertisingNode to set.public LightningApi.ChannelEdgeUpdate.Builder clearAdvertisingNode()
string advertising_node = 5;
public LightningApi.ChannelEdgeUpdate.Builder setAdvertisingNodeBytes(com.google.protobuf.ByteString value)
string advertising_node = 5;
value
- The bytes for advertisingNode to set.public java.lang.String getConnectingNode()
string connecting_node = 6;
getConnectingNode
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public com.google.protobuf.ByteString getConnectingNodeBytes()
string connecting_node = 6;
getConnectingNodeBytes
in interface LightningApi.ChannelEdgeUpdateOrBuilder
public LightningApi.ChannelEdgeUpdate.Builder setConnectingNode(java.lang.String value)
string connecting_node = 6;
value
- The connectingNode to set.public LightningApi.ChannelEdgeUpdate.Builder clearConnectingNode()
string connecting_node = 6;
public LightningApi.ChannelEdgeUpdate.Builder setConnectingNodeBytes(com.google.protobuf.ByteString value)
string connecting_node = 6;
value
- The bytes for connectingNode to set.public final LightningApi.ChannelEdgeUpdate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelEdgeUpdate.Builder>
public final LightningApi.ChannelEdgeUpdate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelEdgeUpdate.Builder>