public static enum Result.Status extends Enum<Result.Status> implements com.google.protobuf.ProtocolMessageEnum
auditlog.v2.Result.Status
Enum Constant and Description |
---|
FAILURE
The request described in this audit log entry was not successfully
performed (nor accepted for asynchronous processing).
|
SUCCESS
The request described in this audit log entry was successfully
performed or accepted for asynchronous processing.
|
UNRECOGNIZED |
UNSET
Default
|
Modifier and Type | Field and Description |
---|---|
static int |
FAILURE_VALUE
The request described in this audit log entry was not successfully
performed (nor accepted for asynchronous processing).
|
static int |
SUCCESS_VALUE
The request described in this audit log entry was successfully
performed or accepted for asynchronous processing.
|
static int |
UNSET_VALUE
Default
|
Modifier and Type | Method and Description |
---|---|
static Result.Status |
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<Result.Status> |
internalGetValueMap() |
static Result.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Result.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Result.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Result.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Result.Status UNSET
Default
UNSET = 0;
public static final Result.Status SUCCESS
The request described in this audit log entry was successfully performed or accepted for asynchronous processing.
SUCCESS = 1;
public static final Result.Status FAILURE
The request described in this audit log entry was not successfully performed (nor accepted for asynchronous processing).
FAILURE = 2;
public static final Result.Status UNRECOGNIZED
public static final int UNSET_VALUE
Default
UNSET = 0;
public static final int SUCCESS_VALUE
The request described in this audit log entry was successfully performed or accepted for asynchronous processing.
SUCCESS = 1;
public static final int FAILURE_VALUE
The request described in this audit log entry was not successfully performed (nor accepted for asynchronous processing).
FAILURE = 2;
public static Result.Status[] values()
for (Result.Status c : Result.Status.values()) System.out.println(c);
public static Result.Status 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 Result.Status valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Result.Status forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Result.Status> 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 Result.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)