public static enum AuthenticationInfo.Result extends Enum<AuthenticationInfo.Result> implements com.google.protobuf.ProtocolMessageEnum
auditlog.v2.AuthenticationInfo.Result
Enum Constant and Description |
---|
FAILURE
The credentials failed to authenticate a principal, and the request
was rejected.
|
SUCCESS
The principal is authenticated.
|
UNRECOGNIZED |
UNSET
Default value.
|
Modifier and Type | Field and Description |
---|---|
static int |
FAILURE_VALUE
The credentials failed to authenticate a principal, and the request
was rejected.
|
static int |
SUCCESS_VALUE
The principal is authenticated.
|
static int |
UNSET_VALUE
Default value.
|
Modifier and Type | Method and Description |
---|---|
static AuthenticationInfo.Result |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<AuthenticationInfo.Result> |
internalGetValueMap() |
static AuthenticationInfo.Result |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AuthenticationInfo.Result |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AuthenticationInfo.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationInfo.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationInfo.Result UNSET
Default value. Services must set a non-default value.
UNSET = 0;
public static final AuthenticationInfo.Result SUCCESS
The principal is authenticated.
SUCCESS = 1;
public static final AuthenticationInfo.Result FAILURE
The credentials failed to authenticate a principal, and the request was rejected.
FAILURE = 2;
public static final AuthenticationInfo.Result UNRECOGNIZED
public static final int UNSET_VALUE
Default value. Services must set a non-default value.
UNSET = 0;
public static final int SUCCESS_VALUE
The principal is authenticated.
SUCCESS = 1;
public static final int FAILURE_VALUE
The credentials failed to authenticate a principal, and the request was rejected.
FAILURE = 2;
public static AuthenticationInfo.Result[] values()
for (AuthenticationInfo.Result c : AuthenticationInfo.Result.values()) System.out.println(c);
public static AuthenticationInfo.Result 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 nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static AuthenticationInfo.Result valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static AuthenticationInfo.Result forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AuthenticationInfo.Result> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AuthenticationInfo.Result valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)