public static final class LightningApi.ClosedChannelUpdate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ClosedChannelUpdate.Builder> implements LightningApi.ClosedChannelUpdateOrBuilder
lnrpc.ClosedChannelUpdateaddRepeatedField, 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.ClosedChannelUpdate.Builder>public LightningApi.ClosedChannelUpdate.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.ClosedChannelUpdate.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.ClosedChannelUpdate.Builder>public LightningApi.ClosedChannelUpdate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.ClosedChannelUpdate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ClosedChannelUpdate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ClosedChannelUpdate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ClosedChannelUpdate.Builder>public LightningApi.ClosedChannelUpdate.Builder mergeFrom(LightningApi.ClosedChannelUpdate other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ClosedChannelUpdate.Builder>public LightningApi.ClosedChannelUpdate.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.ClosedChannelUpdate.Builder>java.io.IOExceptionpublic 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.ClosedChannelUpdateOrBuilderpublic LightningApi.ClosedChannelUpdate.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.ClosedChannelUpdate.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 long getCapacity()
int64 capacity = 2;getCapacity in interface LightningApi.ClosedChannelUpdateOrBuilderpublic LightningApi.ClosedChannelUpdate.Builder setCapacity(long value)
int64 capacity = 2;value - The capacity to set.public LightningApi.ClosedChannelUpdate.Builder clearCapacity()
int64 capacity = 2;public int getClosedHeight()
uint32 closed_height = 3;getClosedHeight in interface LightningApi.ClosedChannelUpdateOrBuilderpublic LightningApi.ClosedChannelUpdate.Builder setClosedHeight(int value)
uint32 closed_height = 3;value - The closedHeight to set.public LightningApi.ClosedChannelUpdate.Builder clearClosedHeight()
uint32 closed_height = 3;public boolean hasChanPoint()
.lnrpc.ChannelPoint chan_point = 4;hasChanPoint in interface LightningApi.ClosedChannelUpdateOrBuilderpublic LightningApi.ChannelPoint getChanPoint()
.lnrpc.ChannelPoint chan_point = 4;getChanPoint in interface LightningApi.ClosedChannelUpdateOrBuilderpublic LightningApi.ClosedChannelUpdate.Builder setChanPoint(LightningApi.ChannelPoint value)
.lnrpc.ChannelPoint chan_point = 4;public LightningApi.ClosedChannelUpdate.Builder setChanPoint(LightningApi.ChannelPoint.Builder builderForValue)
.lnrpc.ChannelPoint chan_point = 4;public LightningApi.ClosedChannelUpdate.Builder mergeChanPoint(LightningApi.ChannelPoint value)
.lnrpc.ChannelPoint chan_point = 4;public LightningApi.ClosedChannelUpdate.Builder clearChanPoint()
.lnrpc.ChannelPoint chan_point = 4;public LightningApi.ChannelPoint.Builder getChanPointBuilder()
.lnrpc.ChannelPoint chan_point = 4;public LightningApi.ChannelPointOrBuilder getChanPointOrBuilder()
.lnrpc.ChannelPoint chan_point = 4;getChanPointOrBuilder in interface LightningApi.ClosedChannelUpdateOrBuilderpublic final LightningApi.ClosedChannelUpdate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ClosedChannelUpdate.Builder>public final LightningApi.ClosedChannelUpdate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ClosedChannelUpdate.Builder>