public static enum LightningApi.FundingShim.ShimCase extends java.lang.Enum<LightningApi.FundingShim.ShimCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
CHAN_POINT_SHIM |
PSBT_SHIM |
SHIM_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static LightningApi.FundingShim.ShimCase |
forNumber(int value) |
int |
getNumber() |
static LightningApi.FundingShim.ShimCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LightningApi.FundingShim.ShimCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LightningApi.FundingShim.ShimCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightningApi.FundingShim.ShimCase CHAN_POINT_SHIM
public static final LightningApi.FundingShim.ShimCase PSBT_SHIM
public static final LightningApi.FundingShim.ShimCase SHIM_NOT_SET
public static LightningApi.FundingShim.ShimCase[] values()
for (LightningApi.FundingShim.ShimCase c : LightningApi.FundingShim.ShimCase.values()) System.out.println(c);
public static LightningApi.FundingShim.ShimCase 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 null@Deprecated public static LightningApi.FundingShim.ShimCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static LightningApi.FundingShim.ShimCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite