public static final class LightningApi.WalletBalanceResponse extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.WalletBalanceResponseOrBuilder
lnrpc.WalletBalanceResponse| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.WalletBalanceResponse.Builder
Protobuf type
lnrpc.WalletBalanceResponse |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCOUNT_BALANCE_FIELD_NUMBER |
static int |
CONFIRMED_BALANCE_FIELD_NUMBER |
static int |
LOCKED_BALANCE_FIELD_NUMBER |
static int |
RESERVED_BALANCE_ANCHOR_CHAN_FIELD_NUMBER |
static int |
TOTAL_BALANCE_FIELD_NUMBER |
static int |
UNCONFIRMED_BALANCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAccountBalance(java.lang.String key)
A mapping of each wallet account's name to its balance.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,LightningApi.WalletAccountBalance> |
getAccountBalance()
Deprecated.
|
int |
getAccountBalanceCount()
A mapping of each wallet account's name to its balance.
|
java.util.Map<java.lang.String,LightningApi.WalletAccountBalance> |
getAccountBalanceMap()
A mapping of each wallet account's name to its balance.
|
LightningApi.WalletAccountBalance |
getAccountBalanceOrDefault(java.lang.String key,
LightningApi.WalletAccountBalance defaultValue)
A mapping of each wallet account's name to its balance.
|
LightningApi.WalletAccountBalance |
getAccountBalanceOrThrow(java.lang.String key)
A mapping of each wallet account's name to its balance.
|
long |
getConfirmedBalance()
The confirmed balance of a wallet(with >= 1 confirmations)
|
static LightningApi.WalletBalanceResponse |
getDefaultInstance() |
LightningApi.WalletBalanceResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getLockedBalance()
The total amount of wallet UTXOs held in outputs that are locked for
other usage.
|
com.google.protobuf.Parser<LightningApi.WalletBalanceResponse> |
getParserForType() |
long |
getReservedBalanceAnchorChan()
The amount of reserve required.
|
int |
getSerializedSize() |
long |
getTotalBalance()
The balance of the wallet
|
long |
getUnconfirmedBalance()
The unconfirmed balance of a wallet(with 0 confirmations)
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static LightningApi.WalletBalanceResponse.Builder |
newBuilder() |
static LightningApi.WalletBalanceResponse.Builder |
newBuilder(LightningApi.WalletBalanceResponse prototype) |
LightningApi.WalletBalanceResponse.Builder |
newBuilderForType() |
protected LightningApi.WalletBalanceResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.WalletBalanceResponse |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.WalletBalanceResponse |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.WalletBalanceResponse |
parseFrom(byte[] data) |
static LightningApi.WalletBalanceResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.WalletBalanceResponse |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.WalletBalanceResponse |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.WalletBalanceResponse |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.WalletBalanceResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.WalletBalanceResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.WalletBalanceResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.WalletBalanceResponse |
parseFrom(java.io.InputStream input) |
static LightningApi.WalletBalanceResponse |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.WalletBalanceResponse> |
parser() |
LightningApi.WalletBalanceResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TOTAL_BALANCE_FIELD_NUMBER
public static final int CONFIRMED_BALANCE_FIELD_NUMBER
public static final int UNCONFIRMED_BALANCE_FIELD_NUMBER
public static final int LOCKED_BALANCE_FIELD_NUMBER
public static final int RESERVED_BALANCE_ANCHOR_CHAN_FIELD_NUMBER
public static final int ACCOUNT_BALANCE_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public long getTotalBalance()
The balance of the wallet
int64 total_balance = 1;getTotalBalance in interface LightningApi.WalletBalanceResponseOrBuilderpublic long getConfirmedBalance()
The confirmed balance of a wallet(with >= 1 confirmations)
int64 confirmed_balance = 2;getConfirmedBalance in interface LightningApi.WalletBalanceResponseOrBuilderpublic long getUnconfirmedBalance()
The unconfirmed balance of a wallet(with 0 confirmations)
int64 unconfirmed_balance = 3;getUnconfirmedBalance in interface LightningApi.WalletBalanceResponseOrBuilderpublic long getLockedBalance()
The total amount of wallet UTXOs held in outputs that are locked for other usage.
int64 locked_balance = 5;getLockedBalance in interface LightningApi.WalletBalanceResponseOrBuilderpublic long getReservedBalanceAnchorChan()
The amount of reserve required.
int64 reserved_balance_anchor_chan = 6;getReservedBalanceAnchorChan in interface LightningApi.WalletBalanceResponseOrBuilderpublic int getAccountBalanceCount()
LightningApi.WalletBalanceResponseOrBuilderA mapping of each wallet account's name to its balance.
map<string, .lnrpc.WalletAccountBalance> account_balance = 4;getAccountBalanceCount in interface LightningApi.WalletBalanceResponseOrBuilderpublic boolean containsAccountBalance(java.lang.String key)
A mapping of each wallet account's name to its balance.
map<string, .lnrpc.WalletAccountBalance> account_balance = 4;containsAccountBalance in interface LightningApi.WalletBalanceResponseOrBuilder@Deprecated public java.util.Map<java.lang.String,LightningApi.WalletAccountBalance> getAccountBalance()
getAccountBalanceMap() instead.getAccountBalance in interface LightningApi.WalletBalanceResponseOrBuilderpublic java.util.Map<java.lang.String,LightningApi.WalletAccountBalance> getAccountBalanceMap()
A mapping of each wallet account's name to its balance.
map<string, .lnrpc.WalletAccountBalance> account_balance = 4;getAccountBalanceMap in interface LightningApi.WalletBalanceResponseOrBuilderpublic LightningApi.WalletAccountBalance getAccountBalanceOrDefault(java.lang.String key, LightningApi.WalletAccountBalance defaultValue)
A mapping of each wallet account's name to its balance.
map<string, .lnrpc.WalletAccountBalance> account_balance = 4;getAccountBalanceOrDefault in interface LightningApi.WalletBalanceResponseOrBuilderpublic LightningApi.WalletAccountBalance getAccountBalanceOrThrow(java.lang.String key)
A mapping of each wallet account's name to its balance.
map<string, .lnrpc.WalletAccountBalance> account_balance = 4;getAccountBalanceOrThrow in interface LightningApi.WalletBalanceResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LightningApi.WalletBalanceResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.WalletBalanceResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.WalletBalanceResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.WalletBalanceResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.WalletBalanceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.WalletBalanceResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.WalletBalanceResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.WalletBalanceResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.WalletBalanceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.WalletBalanceResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.WalletBalanceResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.WalletBalanceResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.WalletBalanceResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.WalletBalanceResponse.Builder newBuilder()
public static LightningApi.WalletBalanceResponse.Builder newBuilder(LightningApi.WalletBalanceResponse prototype)
public LightningApi.WalletBalanceResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.WalletBalanceResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.WalletBalanceResponse getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.WalletBalanceResponse> parser()
public com.google.protobuf.Parser<LightningApi.WalletBalanceResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.WalletBalanceResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder