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