public static enum Stateservice.WalletState extends java.lang.Enum<Stateservice.WalletState> implements com.google.protobuf.ProtocolMessageEnum
lnrpc.WalletState
Enum Constant and Description |
---|
LOCKED
LOCKED means that the wallet is locked and requires a password to unlock.
|
NON_EXISTING
NON_EXISTING means that the wallet has not yet been initialized.
|
RPC_ACTIVE
RPC_ACTIVE means that the lnd server is active but not fully ready for
calls.
|
SERVER_ACTIVE
SERVER_ACTIVE means that the lnd server is ready to accept calls.
|
UNLOCKED
UNLOCKED means that the wallet was unlocked successfully, but RPC server
isn't ready.
|
UNRECOGNIZED |
WAITING_TO_START
WAITING_TO_START means that node is waiting to become the leader in a
cluster and is not started yet.
|
Modifier and Type | Field and Description |
---|---|
static int |
LOCKED_VALUE
LOCKED means that the wallet is locked and requires a password to unlock.
|
static int |
NON_EXISTING_VALUE
NON_EXISTING means that the wallet has not yet been initialized.
|
static int |
RPC_ACTIVE_VALUE
RPC_ACTIVE means that the lnd server is active but not fully ready for
calls.
|
static int |
SERVER_ACTIVE_VALUE
SERVER_ACTIVE means that the lnd server is ready to accept calls.
|
static int |
UNLOCKED_VALUE
UNLOCKED means that the wallet was unlocked successfully, but RPC server
isn't ready.
|
static int |
WAITING_TO_START_VALUE
WAITING_TO_START means that node is waiting to become the leader in a
cluster and is not started yet.
|
Modifier and Type | Method and Description |
---|---|
static Stateservice.WalletState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Stateservice.WalletState> |
internalGetValueMap() |
static Stateservice.WalletState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Stateservice.WalletState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Stateservice.WalletState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Stateservice.WalletState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stateservice.WalletState NON_EXISTING
NON_EXISTING means that the wallet has not yet been initialized.
NON_EXISTING = 0;
public static final Stateservice.WalletState LOCKED
LOCKED means that the wallet is locked and requires a password to unlock.
LOCKED = 1;
public static final Stateservice.WalletState UNLOCKED
UNLOCKED means that the wallet was unlocked successfully, but RPC server isn't ready.
UNLOCKED = 2;
public static final Stateservice.WalletState RPC_ACTIVE
RPC_ACTIVE means that the lnd server is active but not fully ready for calls.
RPC_ACTIVE = 3;
public static final Stateservice.WalletState SERVER_ACTIVE
SERVER_ACTIVE means that the lnd server is ready to accept calls.
SERVER_ACTIVE = 4;
public static final Stateservice.WalletState WAITING_TO_START
WAITING_TO_START means that node is waiting to become the leader in a cluster and is not started yet.
WAITING_TO_START = 255;
public static final Stateservice.WalletState UNRECOGNIZED
public static final int NON_EXISTING_VALUE
NON_EXISTING means that the wallet has not yet been initialized.
NON_EXISTING = 0;
public static final int LOCKED_VALUE
LOCKED means that the wallet is locked and requires a password to unlock.
LOCKED = 1;
public static final int UNLOCKED_VALUE
UNLOCKED means that the wallet was unlocked successfully, but RPC server isn't ready.
UNLOCKED = 2;
public static final int RPC_ACTIVE_VALUE
RPC_ACTIVE means that the lnd server is active but not fully ready for calls.
RPC_ACTIVE = 3;
public static final int SERVER_ACTIVE_VALUE
SERVER_ACTIVE means that the lnd server is ready to accept calls.
SERVER_ACTIVE = 4;
public static final int WAITING_TO_START_VALUE
WAITING_TO_START means that node is waiting to become the leader in a cluster and is not started yet.
WAITING_TO_START = 255;
public static Stateservice.WalletState[] values()
for (Stateservice.WalletState c : Stateservice.WalletState.values()) System.out.println(c);
public static Stateservice.WalletState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Stateservice.WalletState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Stateservice.WalletState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Stateservice.WalletState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Stateservice.WalletState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)