public enum SorobanAuthorizedFunctionType extends java.lang.Enum<SorobanAuthorizedFunctionType> implements XdrElement
enum SorobanAuthorizedFunctionType
{
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN = 0,
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN = 1,
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN = 2
};
| Enum Constant and Description |
|---|
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN |
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN |
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN |
| Modifier and Type | Method and Description |
|---|---|
static SorobanAuthorizedFunctionType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static SorobanAuthorizedFunctionType |
fromXdrBase64(java.lang.String xdr) |
static SorobanAuthorizedFunctionType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static SorobanAuthorizedFunctionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SorobanAuthorizedFunctionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOftoXdrBase64, toXdrByteArraypublic static final SorobanAuthorizedFunctionType SOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN
public static final SorobanAuthorizedFunctionType SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN
public static final SorobanAuthorizedFunctionType SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN
public static SorobanAuthorizedFunctionType[] values()
for (SorobanAuthorizedFunctionType c : SorobanAuthorizedFunctionType.values()) System.out.println(c);
public static SorobanAuthorizedFunctionType 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 int getValue()
public static SorobanAuthorizedFunctionType decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static SorobanAuthorizedFunctionType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static SorobanAuthorizedFunctionType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException