public static enum User.UserCase extends Enum<User.UserCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
| Enum Constant and Description |
|---|
EMAIL |
USER_ID |
USER_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static User.UserCase |
forNumber(int value) |
int |
getNumber() |
static User.UserCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static User.UserCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static User.UserCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final User.UserCase USER_ID
public static final User.UserCase EMAIL
public static final User.UserCase USER_NOT_SET
public static User.UserCase[] values()
for (User.UserCase c : User.UserCase.values()) System.out.println(c);
public static User.UserCase valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Deprecated public static User.UserCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static User.UserCase forNumber(int value)
public int getNumber()
getNumber in interface AbstractMessageLite.InternalOneOfEnumgetNumber in interface Internal.EnumLiteCopyright © 2020 Google LLC. All rights reserved.