public static enum AccountService.CreateAccountResponse.Result extends java.lang.Enum<AccountService.CreateAccountResponse.Result> implements com.google.protobuf.Internal.EnumLite
kin.agora.account.v4.CreateAccountResponse.Result| Enum Constant and Description |
|---|
BAD_NONCE
Indicates the nonce/blockhash used in the transaction is invalid, and should
be refetched
|
EXISTS
EXISTS = 1; |
OK
OK = 0; |
PAYER_REQUIRED
Indicates that the service will not subsidize the transaction, and that
the caller should fund the transaction themselves.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BAD_NONCE_VALUE
Indicates the nonce/blockhash used in the transaction is invalid, and should
be refetched
|
static int |
EXISTS_VALUE
EXISTS = 1; |
static int |
OK_VALUE
OK = 0; |
static int |
PAYER_REQUIRED_VALUE
Indicates that the service will not subsidize the transaction, and that
the caller should fund the transaction themselves.
|
| Modifier and Type | Method and Description |
|---|---|
static AccountService.CreateAccountResponse.Result |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<AccountService.CreateAccountResponse.Result> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static AccountService.CreateAccountResponse.Result |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AccountService.CreateAccountResponse.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountService.CreateAccountResponse.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountService.CreateAccountResponse.Result OK
OK = 0;public static final AccountService.CreateAccountResponse.Result EXISTS
EXISTS = 1;public static final AccountService.CreateAccountResponse.Result PAYER_REQUIRED
Indicates that the service will not subsidize the transaction, and that the caller should fund the transaction themselves.
PAYER_REQUIRED = 2;public static final AccountService.CreateAccountResponse.Result BAD_NONCE
Indicates the nonce/blockhash used in the transaction is invalid, and should be refetched
BAD_NONCE = 3;public static final AccountService.CreateAccountResponse.Result UNRECOGNIZED
public static final int OK_VALUE
OK = 0;public static final int EXISTS_VALUE
EXISTS = 1;public static final int PAYER_REQUIRED_VALUE
Indicates that the service will not subsidize the transaction, and that the caller should fund the transaction themselves.
PAYER_REQUIRED = 2;public static final int BAD_NONCE_VALUE
Indicates the nonce/blockhash used in the transaction is invalid, and should be refetched
BAD_NONCE = 3;public static AccountService.CreateAccountResponse.Result[] values()
for (AccountService.CreateAccountResponse.Result c : AccountService.CreateAccountResponse.Result.values()) System.out.println(c);
public static AccountService.CreateAccountResponse.Result 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@Deprecated public static AccountService.CreateAccountResponse.Result valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static AccountService.CreateAccountResponse.Result forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<AccountService.CreateAccountResponse.Result> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()