public static enum Principal.AccountCase extends Enum<Principal.AccountCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
ACCOUNT_NOT_SET |
CONFLUENT_SERVICE_ACCOUNT |
CONFLUENT_USER |
EXTERNAL_ACCOUNT |
Modifier and Type | Method and Description |
---|---|
static Principal.AccountCase |
forNumber(int value) |
int |
getNumber() |
static Principal.AccountCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Principal.AccountCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Principal.AccountCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Principal.AccountCase CONFLUENT_USER
public static final Principal.AccountCase CONFLUENT_SERVICE_ACCOUNT
public static final Principal.AccountCase EXTERNAL_ACCOUNT
public static final Principal.AccountCase ACCOUNT_NOT_SET
public static Principal.AccountCase[] values()
for (Principal.AccountCase c : Principal.AccountCase.values()) System.out.println(c);
public static Principal.AccountCase 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 Principal.AccountCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Principal.AccountCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite