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, 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.AliasMap.Builder>
public LightningApi.AliasMap.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.AliasMap.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.AliasMap.Builder>
public LightningApi.AliasMap getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.AliasMap build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.AliasMap buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.AliasMap.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.AliasMap.Builder>
java.io.IOException
public 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.AliasMapOrBuilder
public 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.AliasMapOrBuilder
public int getAliasesCount()
The set of all aliases stored for the base SCID.
repeated uint64 aliases = 2;
getAliasesCount
in interface LightningApi.AliasMapOrBuilder
public long getAliases(int index)
The set of all aliases stored for the base SCID.
repeated uint64 aliases = 2;
getAliases
in interface LightningApi.AliasMapOrBuilder
index
- 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AliasMap.Builder>