public static enum UserProtos.RequestStatus extends Enum<UserProtos.RequestStatus> implements com.google.protobuf.ProtocolMessageEnum
Enum indicating the request status.Protobuf enum
exec.user.RequestStatus
Enum Constant and Description |
---|
FAILED
FAILED = 2; |
OK
OK = 1; |
TIMEOUT
Request timed out.
|
UNKNOWN_STATUS
UNKNOWN_STATUS = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
FAILED_VALUE
FAILED = 2; |
static int |
OK_VALUE
OK = 1; |
static int |
TIMEOUT_VALUE
Request timed out.
|
static int |
UNKNOWN_STATUS_VALUE
UNKNOWN_STATUS = 0; |
Modifier and Type | Method and Description |
---|---|
static UserProtos.RequestStatus |
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<UserProtos.RequestStatus> |
internalGetValueMap() |
static UserProtos.RequestStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UserProtos.RequestStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UserProtos.RequestStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserProtos.RequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserProtos.RequestStatus UNKNOWN_STATUS
UNKNOWN_STATUS = 0;
public static final UserProtos.RequestStatus OK
OK = 1;
public static final UserProtos.RequestStatus FAILED
FAILED = 2;
public static final UserProtos.RequestStatus TIMEOUT
Request timed out. Futher attempts can change any API specific parameters and retry or just retry the request.
TIMEOUT = 3;
public static final int UNKNOWN_STATUS_VALUE
UNKNOWN_STATUS = 0;
public static final int OK_VALUE
OK = 1;
public static final int FAILED_VALUE
FAILED = 2;
public static final int TIMEOUT_VALUE
Request timed out. Futher attempts can change any API specific parameters and retry or just retry the request.
TIMEOUT = 3;
public static UserProtos.RequestStatus[] values()
for (UserProtos.RequestStatus c : UserProtos.RequestStatus.values()) System.out.println(c);
public static UserProtos.RequestStatus 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 UserProtos.RequestStatus valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static UserProtos.RequestStatus forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UserProtos.RequestStatus> 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 UserProtos.RequestStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 1970 The Apache Software Foundation. All rights reserved.