public static enum Lgraph.LGraphResponse.ErrorCode extends Enum<Lgraph.LGraphResponse.ErrorCode> implements com.google.protobuf.ProtocolMessageEnum
lgraph.LGraphResponse.ErrorCode| Enum Constant and Description |
|---|
AUTH_ERROR
AUTH_ERROR = 3; |
BAD_REQUEST
BAD_REQUEST = 2; |
EXCEPTION
EXCEPTION = 255; |
FAILED
FAILED = 6; |
KILLED
KILLED = 4; |
REDIRECT
REDIRECT = 5; |
SUCCESS
SUCCESS = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTH_ERROR_VALUE
AUTH_ERROR = 3; |
static int |
BAD_REQUEST_VALUE
BAD_REQUEST = 2; |
static int |
EXCEPTION_VALUE
EXCEPTION = 255; |
static int |
FAILED_VALUE
FAILED = 6; |
static int |
KILLED_VALUE
KILLED = 4; |
static int |
REDIRECT_VALUE
REDIRECT = 5; |
static int |
SUCCESS_VALUE
SUCCESS = 1; |
| Modifier and Type | Method and Description |
|---|---|
static Lgraph.LGraphResponse.ErrorCode |
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<Lgraph.LGraphResponse.ErrorCode> |
internalGetValueMap() |
static Lgraph.LGraphResponse.ErrorCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Lgraph.LGraphResponse.ErrorCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Lgraph.LGraphResponse.ErrorCode |
valueOf(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.
|
public static final Lgraph.LGraphResponse.ErrorCode SUCCESS
SUCCESS = 1;public static final Lgraph.LGraphResponse.ErrorCode BAD_REQUEST
BAD_REQUEST = 2;public static final Lgraph.LGraphResponse.ErrorCode AUTH_ERROR
AUTH_ERROR = 3;public static final Lgraph.LGraphResponse.ErrorCode KILLED
KILLED = 4;public static final Lgraph.LGraphResponse.ErrorCode REDIRECT
REDIRECT = 5;public static final Lgraph.LGraphResponse.ErrorCode FAILED
FAILED = 6;public static final Lgraph.LGraphResponse.ErrorCode EXCEPTION
EXCEPTION = 255;public static final int SUCCESS_VALUE
SUCCESS = 1;public static final int BAD_REQUEST_VALUE
BAD_REQUEST = 2;public static final int AUTH_ERROR_VALUE
AUTH_ERROR = 3;public static final int KILLED_VALUE
KILLED = 4;public static final int REDIRECT_VALUE
REDIRECT = 5;public static final int FAILED_VALUE
FAILED = 6;public static final int EXCEPTION_VALUE
EXCEPTION = 255;public static Lgraph.LGraphResponse.ErrorCode[] values()
for (Lgraph.LGraphResponse.ErrorCode c : Lgraph.LGraphResponse.ErrorCode.values()) System.out.println(c);
public static Lgraph.LGraphResponse.ErrorCode 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Lgraph.LGraphResponse.ErrorCode valueOf(int value)
forNumber(int) instead.public static Lgraph.LGraphResponse.ErrorCode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Lgraph.LGraphResponse.ErrorCode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Lgraph.LGraphResponse.ErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Ant Group. All rights reserved.