public static enum AccountService.Event.TypeCase extends java.lang.Enum<AccountService.Event.TypeCase>
| Enum Constant and Description |
|---|
ACCOUNT_UPDATE_EVENT |
TRANSACTION_EVENT |
TYPE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static AccountService.Event.TypeCase |
forNumber(int value) |
int |
getNumber() |
static AccountService.Event.TypeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AccountService.Event.TypeCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountService.Event.TypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountService.Event.TypeCase ACCOUNT_UPDATE_EVENT
public static final AccountService.Event.TypeCase TRANSACTION_EVENT
public static final AccountService.Event.TypeCase TYPE_NOT_SET
public static AccountService.Event.TypeCase[] values()
for (AccountService.Event.TypeCase c : AccountService.Event.TypeCase.values()) System.out.println(c);
public static AccountService.Event.TypeCase 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 AccountService.Event.TypeCase valueOf(int value)
forNumber(int) instead.public static AccountService.Event.TypeCase forNumber(int value)
public int getNumber()