public static final class LightningApi.AliasMap.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AliasMap.Builder> implements LightningApi.AliasMapOrBuilder
lnrpc.AliasMap| Modifier and Type | Method and Description |
|---|---|
LightningApi.AliasMap.Builder |
addAliases(long value)
The set of all aliases stored for the base SCID.
|
LightningApi.AliasMap.Builder |
addAllAliases(java.lang.Iterable<? extends java.lang.Long> values)
The set of all aliases stored for the base SCID.
|
LightningApi.AliasMap |
build() |
LightningApi.AliasMap |
buildPartial() |
LightningApi.AliasMap.Builder |
clear() |
LightningApi.AliasMap.Builder |
clearAliases()
The set of all aliases stored for the base SCID.
|
LightningApi.AliasMap.Builder |
clearBaseScid()
For non-zero-conf channels, this is the confirmed SCID.
|
long |
getAliases(int index)
The set of all aliases stored for the base SCID.
|
int |
getAliasesCount()
The set of all aliases stored for the base SCID.
|
java.util.List<java.lang.Long> |
getAliasesList()
The set of all aliases stored for the base SCID.
|
long |
getBaseScid()
For non-zero-conf channels, this is the confirmed SCID.
|
LightningApi.AliasMap |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.AliasMap.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.AliasMap.Builder |
mergeFrom(LightningApi.AliasMap other) |
LightningApi.AliasMap.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.AliasMap.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.AliasMap.Builder |
setAliases(int index,
long value)
The set of all aliases stored for the base SCID.
|
LightningApi.AliasMap.Builder |
setBaseScid(long value)
For non-zero-conf channels, this is the confirmed SCID.
|
LightningApi.AliasMap.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.AliasMap.Builder>public LightningApi.AliasMap.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.AliasMap.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.AliasMap.Builder>public LightningApi.AliasMap getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.AliasMap build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.AliasMap buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.AliasMap.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.AliasMap.Builder>public LightningApi.AliasMap.Builder mergeFrom(LightningApi.AliasMap other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AliasMap.Builder>public LightningApi.AliasMap.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.AliasMap.Builder>java.io.IOExceptionpublic long getBaseScid()
For non-zero-conf channels, this is the confirmed SCID. Otherwise, this is the first assigned "base" alias.
uint64 base_scid = 1;getBaseScid in interface LightningApi.AliasMapOrBuilderpublic LightningApi.AliasMap.Builder setBaseScid(long value)
For non-zero-conf channels, this is the confirmed SCID. Otherwise, this is the first assigned "base" alias.
uint64 base_scid = 1;value - The baseScid to set.public LightningApi.AliasMap.Builder clearBaseScid()
For non-zero-conf channels, this is the confirmed SCID. Otherwise, this is the first assigned "base" alias.
uint64 base_scid = 1;public java.util.List<java.lang.Long> getAliasesList()
The set of all aliases stored for the base SCID.
repeated uint64 aliases = 2;getAliasesList in interface LightningApi.AliasMapOrBuilderpublic int getAliasesCount()
The set of all aliases stored for the base SCID.
repeated uint64 aliases = 2;getAliasesCount in interface LightningApi.AliasMapOrBuilderpublic long getAliases(int index)
The set of all aliases stored for the base SCID.
repeated uint64 aliases = 2;getAliases in interface LightningApi.AliasMapOrBuilderindex - The index of the element to return.public LightningApi.AliasMap.Builder setAliases(int index, long value)
The set of all aliases stored for the base SCID.
repeated uint64 aliases = 2;index - The index to set the value at.value - The aliases to set.public LightningApi.AliasMap.Builder addAliases(long value)
The set of all aliases stored for the base SCID.
repeated uint64 aliases = 2;value - The aliases to add.public LightningApi.AliasMap.Builder addAllAliases(java.lang.Iterable<? extends java.lang.Long> values)
The set of all aliases stored for the base SCID.
repeated uint64 aliases = 2;values - The aliases to add.public LightningApi.AliasMap.Builder clearAliases()
The set of all aliases stored for the base SCID.
repeated uint64 aliases = 2;public final LightningApi.AliasMap.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AliasMap.Builder>public final LightningApi.AliasMap.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AliasMap.Builder>