Package lgraph
Enum Lgraph.LGraphResponse.ErrorCode
- java.lang.Object
-
- java.lang.Enum<Lgraph.LGraphResponse.ErrorCode>
-
- lgraph.Lgraph.LGraphResponse.ErrorCode
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Lgraph.LGraphResponse.ErrorCode>
- Enclosing class:
- Lgraph.LGraphResponse
public static enum Lgraph.LGraphResponse.ErrorCode extends Enum<Lgraph.LGraphResponse.ErrorCode> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumlgraph.LGraphResponse.ErrorCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTH_ERRORAUTH_ERROR = 3;BAD_REQUESTBAD_REQUEST = 2;EXCEPTIONEXCEPTION = 255;FAILEDFAILED = 6;KILLEDKILLED = 4;REDIRECTREDIRECT = 5;SUCCESSSUCCESS = 1;
-
Field Summary
Fields Modifier and Type Field Description static intAUTH_ERROR_VALUEAUTH_ERROR = 3;static intBAD_REQUEST_VALUEBAD_REQUEST = 2;static intEXCEPTION_VALUEEXCEPTION = 255;static intFAILED_VALUEFAILED = 6;static intKILLED_VALUEKILLED = 4;static intREDIRECT_VALUEREDIRECT = 5;static intSUCCESS_VALUESUCCESS = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Lgraph.LGraphResponse.ErrorCodeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Lgraph.LGraphResponse.ErrorCode>internalGetValueMap()static Lgraph.LGraphResponse.ErrorCodevalueOf(int value)Deprecated.static Lgraph.LGraphResponse.ErrorCodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Lgraph.LGraphResponse.ErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static Lgraph.LGraphResponse.ErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final Lgraph.LGraphResponse.ErrorCode SUCCESS
SUCCESS = 1;
-
BAD_REQUEST
public static final Lgraph.LGraphResponse.ErrorCode BAD_REQUEST
BAD_REQUEST = 2;
-
AUTH_ERROR
public static final Lgraph.LGraphResponse.ErrorCode AUTH_ERROR
AUTH_ERROR = 3;
-
KILLED
public static final Lgraph.LGraphResponse.ErrorCode KILLED
KILLED = 4;
-
REDIRECT
public static final Lgraph.LGraphResponse.ErrorCode REDIRECT
REDIRECT = 5;
-
FAILED
public static final Lgraph.LGraphResponse.ErrorCode FAILED
FAILED = 6;
-
EXCEPTION
public static final Lgraph.LGraphResponse.ErrorCode EXCEPTION
EXCEPTION = 255;
-
-
Field Detail
-
SUCCESS_VALUE
public static final int SUCCESS_VALUE
SUCCESS = 1;- See Also:
- Constant Field Values
-
BAD_REQUEST_VALUE
public static final int BAD_REQUEST_VALUE
BAD_REQUEST = 2;- See Also:
- Constant Field Values
-
AUTH_ERROR_VALUE
public static final int AUTH_ERROR_VALUE
AUTH_ERROR = 3;- See Also:
- Constant Field Values
-
KILLED_VALUE
public static final int KILLED_VALUE
KILLED = 4;- See Also:
- Constant Field Values
-
REDIRECT_VALUE
public static final int REDIRECT_VALUE
REDIRECT = 5;- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
FAILED = 6;- See Also:
- Constant Field Values
-
EXCEPTION_VALUE
public static final int EXCEPTION_VALUE
EXCEPTION = 255;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Lgraph.LGraphResponse.ErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Lgraph.LGraphResponse.ErrorCode c : Lgraph.LGraphResponse.ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Lgraph.LGraphResponse.ErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Lgraph.LGraphResponse.ErrorCode valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Lgraph.LGraphResponse.ErrorCode forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Lgraph.LGraphResponse.ErrorCode> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Lgraph.LGraphResponse.ErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-