public static enum LightningApi.ChannelEventUpdate.UpdateType extends java.lang.Enum<LightningApi.ChannelEventUpdate.UpdateType> implements com.google.protobuf.ProtocolMessageEnum
lnrpc.ChannelEventUpdate.UpdateType
Enum Constant and Description |
---|
ACTIVE_CHANNEL
ACTIVE_CHANNEL = 2; |
CLOSED_CHANNEL
CLOSED_CHANNEL = 1; |
FULLY_RESOLVED_CHANNEL
FULLY_RESOLVED_CHANNEL = 5; |
INACTIVE_CHANNEL
INACTIVE_CHANNEL = 3; |
OPEN_CHANNEL
OPEN_CHANNEL = 0; |
PENDING_OPEN_CHANNEL
PENDING_OPEN_CHANNEL = 4; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_CHANNEL_VALUE
ACTIVE_CHANNEL = 2; |
static int |
CLOSED_CHANNEL_VALUE
CLOSED_CHANNEL = 1; |
static int |
FULLY_RESOLVED_CHANNEL_VALUE
FULLY_RESOLVED_CHANNEL = 5; |
static int |
INACTIVE_CHANNEL_VALUE
INACTIVE_CHANNEL = 3; |
static int |
OPEN_CHANNEL_VALUE
OPEN_CHANNEL = 0; |
static int |
PENDING_OPEN_CHANNEL_VALUE
PENDING_OPEN_CHANNEL = 4; |
Modifier and Type | Method and Description |
---|---|
static LightningApi.ChannelEventUpdate.UpdateType |
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<LightningApi.ChannelEventUpdate.UpdateType> |
internalGetValueMap() |
static LightningApi.ChannelEventUpdate.UpdateType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LightningApi.ChannelEventUpdate.UpdateType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LightningApi.ChannelEventUpdate.UpdateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LightningApi.ChannelEventUpdate.UpdateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightningApi.ChannelEventUpdate.UpdateType OPEN_CHANNEL
OPEN_CHANNEL = 0;
public static final LightningApi.ChannelEventUpdate.UpdateType CLOSED_CHANNEL
CLOSED_CHANNEL = 1;
public static final LightningApi.ChannelEventUpdate.UpdateType ACTIVE_CHANNEL
ACTIVE_CHANNEL = 2;
public static final LightningApi.ChannelEventUpdate.UpdateType INACTIVE_CHANNEL
INACTIVE_CHANNEL = 3;
public static final LightningApi.ChannelEventUpdate.UpdateType PENDING_OPEN_CHANNEL
PENDING_OPEN_CHANNEL = 4;
public static final LightningApi.ChannelEventUpdate.UpdateType FULLY_RESOLVED_CHANNEL
FULLY_RESOLVED_CHANNEL = 5;
public static final LightningApi.ChannelEventUpdate.UpdateType UNRECOGNIZED
public static final int OPEN_CHANNEL_VALUE
OPEN_CHANNEL = 0;
public static final int CLOSED_CHANNEL_VALUE
CLOSED_CHANNEL = 1;
public static final int ACTIVE_CHANNEL_VALUE
ACTIVE_CHANNEL = 2;
public static final int INACTIVE_CHANNEL_VALUE
INACTIVE_CHANNEL = 3;
public static final int PENDING_OPEN_CHANNEL_VALUE
PENDING_OPEN_CHANNEL = 4;
public static final int FULLY_RESOLVED_CHANNEL_VALUE
FULLY_RESOLVED_CHANNEL = 5;
public static LightningApi.ChannelEventUpdate.UpdateType[] values()
for (LightningApi.ChannelEventUpdate.UpdateType c : LightningApi.ChannelEventUpdate.UpdateType.values()) System.out.println(c);
public static LightningApi.ChannelEventUpdate.UpdateType 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 LightningApi.ChannelEventUpdate.UpdateType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static LightningApi.ChannelEventUpdate.UpdateType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LightningApi.ChannelEventUpdate.UpdateType> 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 LightningApi.ChannelEventUpdate.UpdateType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)