public static enum LightningApi.FeatureBit extends java.lang.Enum<LightningApi.FeatureBit> implements com.google.protobuf.ProtocolMessageEnum
lnrpc.FeatureBit
Enum Constant and Description |
---|
AMP_OPT
AMP_OPT = 31; |
AMP_REQ
AMP_REQ = 30; |
ANCHORS_OPT
ANCHORS_OPT = 21; |
ANCHORS_REQ
ANCHORS_REQ = 20; |
ANCHORS_ZERO_FEE_HTLC_OPT
ANCHORS_ZERO_FEE_HTLC_OPT = 23; |
ANCHORS_ZERO_FEE_HTLC_REQ
ANCHORS_ZERO_FEE_HTLC_REQ = 22; |
DATALOSS_PROTECT_OPT
DATALOSS_PROTECT_OPT = 1; |
DATALOSS_PROTECT_REQ
DATALOSS_PROTECT_REQ = 0; |
EXT_GOSSIP_QUERIES_OPT
EXT_GOSSIP_QUERIES_OPT = 11; |
EXT_GOSSIP_QUERIES_REQ
EXT_GOSSIP_QUERIES_REQ = 10; |
GOSSIP_QUERIES_OPT
GOSSIP_QUERIES_OPT = 7; |
GOSSIP_QUERIES_REQ
GOSSIP_QUERIES_REQ = 6; |
INITIAL_ROUING_SYNC
INITIAL_ROUING_SYNC = 3; |
MPP_OPT
MPP_OPT = 17; |
MPP_REQ
MPP_REQ = 16; |
PAYMENT_ADDR_OPT
PAYMENT_ADDR_OPT = 15; |
PAYMENT_ADDR_REQ
PAYMENT_ADDR_REQ = 14; |
STATIC_REMOTE_KEY_OPT
STATIC_REMOTE_KEY_OPT = 13; |
STATIC_REMOTE_KEY_REQ
STATIC_REMOTE_KEY_REQ = 12; |
TLV_ONION_OPT
TLV_ONION_OPT = 9; |
TLV_ONION_REQ
TLV_ONION_REQ = 8; |
UNRECOGNIZED |
UPFRONT_SHUTDOWN_SCRIPT_OPT
UPFRONT_SHUTDOWN_SCRIPT_OPT = 5; |
UPFRONT_SHUTDOWN_SCRIPT_REQ
UPFRONT_SHUTDOWN_SCRIPT_REQ = 4; |
WUMBO_CHANNELS_OPT
WUMBO_CHANNELS_OPT = 19; |
WUMBO_CHANNELS_REQ
WUMBO_CHANNELS_REQ = 18; |
Modifier and Type | Field and Description |
---|---|
static int |
AMP_OPT_VALUE
AMP_OPT = 31; |
static int |
AMP_REQ_VALUE
AMP_REQ = 30; |
static int |
ANCHORS_OPT_VALUE
ANCHORS_OPT = 21; |
static int |
ANCHORS_REQ_VALUE
ANCHORS_REQ = 20; |
static int |
ANCHORS_ZERO_FEE_HTLC_OPT_VALUE
ANCHORS_ZERO_FEE_HTLC_OPT = 23; |
static int |
ANCHORS_ZERO_FEE_HTLC_REQ_VALUE
ANCHORS_ZERO_FEE_HTLC_REQ = 22; |
static int |
DATALOSS_PROTECT_OPT_VALUE
DATALOSS_PROTECT_OPT = 1; |
static int |
DATALOSS_PROTECT_REQ_VALUE
DATALOSS_PROTECT_REQ = 0; |
static int |
EXT_GOSSIP_QUERIES_OPT_VALUE
EXT_GOSSIP_QUERIES_OPT = 11; |
static int |
EXT_GOSSIP_QUERIES_REQ_VALUE
EXT_GOSSIP_QUERIES_REQ = 10; |
static int |
GOSSIP_QUERIES_OPT_VALUE
GOSSIP_QUERIES_OPT = 7; |
static int |
GOSSIP_QUERIES_REQ_VALUE
GOSSIP_QUERIES_REQ = 6; |
static int |
INITIAL_ROUING_SYNC_VALUE
INITIAL_ROUING_SYNC = 3; |
static int |
MPP_OPT_VALUE
MPP_OPT = 17; |
static int |
MPP_REQ_VALUE
MPP_REQ = 16; |
static int |
PAYMENT_ADDR_OPT_VALUE
PAYMENT_ADDR_OPT = 15; |
static int |
PAYMENT_ADDR_REQ_VALUE
PAYMENT_ADDR_REQ = 14; |
static int |
STATIC_REMOTE_KEY_OPT_VALUE
STATIC_REMOTE_KEY_OPT = 13; |
static int |
STATIC_REMOTE_KEY_REQ_VALUE
STATIC_REMOTE_KEY_REQ = 12; |
static int |
TLV_ONION_OPT_VALUE
TLV_ONION_OPT = 9; |
static int |
TLV_ONION_REQ_VALUE
TLV_ONION_REQ = 8; |
static int |
UPFRONT_SHUTDOWN_SCRIPT_OPT_VALUE
UPFRONT_SHUTDOWN_SCRIPT_OPT = 5; |
static int |
UPFRONT_SHUTDOWN_SCRIPT_REQ_VALUE
UPFRONT_SHUTDOWN_SCRIPT_REQ = 4; |
static int |
WUMBO_CHANNELS_OPT_VALUE
WUMBO_CHANNELS_OPT = 19; |
static int |
WUMBO_CHANNELS_REQ_VALUE
WUMBO_CHANNELS_REQ = 18; |
Modifier and Type | Method and Description |
---|---|
static LightningApi.FeatureBit |
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.FeatureBit> |
internalGetValueMap() |
static LightningApi.FeatureBit |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LightningApi.FeatureBit |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LightningApi.FeatureBit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LightningApi.FeatureBit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightningApi.FeatureBit DATALOSS_PROTECT_REQ
DATALOSS_PROTECT_REQ = 0;
public static final LightningApi.FeatureBit DATALOSS_PROTECT_OPT
DATALOSS_PROTECT_OPT = 1;
public static final LightningApi.FeatureBit INITIAL_ROUING_SYNC
INITIAL_ROUING_SYNC = 3;
public static final LightningApi.FeatureBit UPFRONT_SHUTDOWN_SCRIPT_REQ
UPFRONT_SHUTDOWN_SCRIPT_REQ = 4;
public static final LightningApi.FeatureBit UPFRONT_SHUTDOWN_SCRIPT_OPT
UPFRONT_SHUTDOWN_SCRIPT_OPT = 5;
public static final LightningApi.FeatureBit GOSSIP_QUERIES_REQ
GOSSIP_QUERIES_REQ = 6;
public static final LightningApi.FeatureBit GOSSIP_QUERIES_OPT
GOSSIP_QUERIES_OPT = 7;
public static final LightningApi.FeatureBit TLV_ONION_REQ
TLV_ONION_REQ = 8;
public static final LightningApi.FeatureBit TLV_ONION_OPT
TLV_ONION_OPT = 9;
public static final LightningApi.FeatureBit EXT_GOSSIP_QUERIES_REQ
EXT_GOSSIP_QUERIES_REQ = 10;
public static final LightningApi.FeatureBit EXT_GOSSIP_QUERIES_OPT
EXT_GOSSIP_QUERIES_OPT = 11;
public static final LightningApi.FeatureBit STATIC_REMOTE_KEY_REQ
STATIC_REMOTE_KEY_REQ = 12;
public static final LightningApi.FeatureBit STATIC_REMOTE_KEY_OPT
STATIC_REMOTE_KEY_OPT = 13;
public static final LightningApi.FeatureBit PAYMENT_ADDR_REQ
PAYMENT_ADDR_REQ = 14;
public static final LightningApi.FeatureBit PAYMENT_ADDR_OPT
PAYMENT_ADDR_OPT = 15;
public static final LightningApi.FeatureBit MPP_REQ
MPP_REQ = 16;
public static final LightningApi.FeatureBit MPP_OPT
MPP_OPT = 17;
public static final LightningApi.FeatureBit WUMBO_CHANNELS_REQ
WUMBO_CHANNELS_REQ = 18;
public static final LightningApi.FeatureBit WUMBO_CHANNELS_OPT
WUMBO_CHANNELS_OPT = 19;
public static final LightningApi.FeatureBit ANCHORS_REQ
ANCHORS_REQ = 20;
public static final LightningApi.FeatureBit ANCHORS_OPT
ANCHORS_OPT = 21;
public static final LightningApi.FeatureBit ANCHORS_ZERO_FEE_HTLC_REQ
ANCHORS_ZERO_FEE_HTLC_REQ = 22;
public static final LightningApi.FeatureBit ANCHORS_ZERO_FEE_HTLC_OPT
ANCHORS_ZERO_FEE_HTLC_OPT = 23;
public static final LightningApi.FeatureBit AMP_REQ
AMP_REQ = 30;
public static final LightningApi.FeatureBit AMP_OPT
AMP_OPT = 31;
public static final LightningApi.FeatureBit UNRECOGNIZED
public static final int DATALOSS_PROTECT_REQ_VALUE
DATALOSS_PROTECT_REQ = 0;
public static final int DATALOSS_PROTECT_OPT_VALUE
DATALOSS_PROTECT_OPT = 1;
public static final int INITIAL_ROUING_SYNC_VALUE
INITIAL_ROUING_SYNC = 3;
public static final int UPFRONT_SHUTDOWN_SCRIPT_REQ_VALUE
UPFRONT_SHUTDOWN_SCRIPT_REQ = 4;
public static final int UPFRONT_SHUTDOWN_SCRIPT_OPT_VALUE
UPFRONT_SHUTDOWN_SCRIPT_OPT = 5;
public static final int GOSSIP_QUERIES_REQ_VALUE
GOSSIP_QUERIES_REQ = 6;
public static final int GOSSIP_QUERIES_OPT_VALUE
GOSSIP_QUERIES_OPT = 7;
public static final int TLV_ONION_REQ_VALUE
TLV_ONION_REQ = 8;
public static final int TLV_ONION_OPT_VALUE
TLV_ONION_OPT = 9;
public static final int EXT_GOSSIP_QUERIES_REQ_VALUE
EXT_GOSSIP_QUERIES_REQ = 10;
public static final int EXT_GOSSIP_QUERIES_OPT_VALUE
EXT_GOSSIP_QUERIES_OPT = 11;
public static final int STATIC_REMOTE_KEY_REQ_VALUE
STATIC_REMOTE_KEY_REQ = 12;
public static final int STATIC_REMOTE_KEY_OPT_VALUE
STATIC_REMOTE_KEY_OPT = 13;
public static final int PAYMENT_ADDR_REQ_VALUE
PAYMENT_ADDR_REQ = 14;
public static final int PAYMENT_ADDR_OPT_VALUE
PAYMENT_ADDR_OPT = 15;
public static final int MPP_REQ_VALUE
MPP_REQ = 16;
public static final int MPP_OPT_VALUE
MPP_OPT = 17;
public static final int WUMBO_CHANNELS_REQ_VALUE
WUMBO_CHANNELS_REQ = 18;
public static final int WUMBO_CHANNELS_OPT_VALUE
WUMBO_CHANNELS_OPT = 19;
public static final int ANCHORS_REQ_VALUE
ANCHORS_REQ = 20;
public static final int ANCHORS_OPT_VALUE
ANCHORS_OPT = 21;
public static final int ANCHORS_ZERO_FEE_HTLC_REQ_VALUE
ANCHORS_ZERO_FEE_HTLC_REQ = 22;
public static final int ANCHORS_ZERO_FEE_HTLC_OPT_VALUE
ANCHORS_ZERO_FEE_HTLC_OPT = 23;
public static final int AMP_REQ_VALUE
AMP_REQ = 30;
public static final int AMP_OPT_VALUE
AMP_OPT = 31;
public static LightningApi.FeatureBit[] values()
for (LightningApi.FeatureBit c : LightningApi.FeatureBit.values()) System.out.println(c);
public static LightningApi.FeatureBit 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.FeatureBit valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static LightningApi.FeatureBit forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LightningApi.FeatureBit> 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.FeatureBit valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)