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