public static enum AccessLevel.LevelCase extends Enum<AccessLevel.LevelCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
| Enum Constant and Description |
|---|
BASIC |
CUSTOM |
LEVEL_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static AccessLevel.LevelCase |
forNumber(int value) |
int |
getNumber() |
static AccessLevel.LevelCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AccessLevel.LevelCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessLevel.LevelCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessLevel.LevelCase BASIC
public static final AccessLevel.LevelCase CUSTOM
public static final AccessLevel.LevelCase LEVEL_NOT_SET
public static AccessLevel.LevelCase[] values()
for (AccessLevel.LevelCase c : AccessLevel.LevelCase.values()) System.out.println(c);
public static AccessLevel.LevelCase 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 AccessLevel.LevelCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static AccessLevel.LevelCase forNumber(int value)
public int getNumber()
getNumber in interface AbstractMessageLite.InternalOneOfEnumgetNumber in interface Internal.EnumLiteCopyright © 2021 Google LLC. All rights reserved.