public static enum BasicTypes.ErrorCode extends java.lang.Enum<BasicTypes.ErrorCode> implements com.google.protobuf.ProtocolMessageEnum
org.apache.geode.internal.protocol.protobuf.v1.ErrorCode| Enum Constant and Description |
|---|
ALREADY_AUTHENTICATED
ALREADY_AUTHENTICATED = 12; |
AUTHENTICATION_FAILED
AUTHENTICATION_FAILED = 11; |
AUTHENTICATION_NOT_SUPPORTED
AUTHENTICATION_NOT_SUPPORTED = 13; |
AUTHENTICATION_REQUIRED
AUTHENTICATION_REQUIRED = 10; |
AUTHORIZATION_FAILED
AUTHORIZATION_FAILED = 20; |
INVALID_ERROR_CODE
INVALID_ERROR_CODE = 0; |
INVALID_REQUEST
INVALID_REQUEST = 50; |
NO_AVAILABLE_SERVER
NO_AVAILABLE_SERVER = 101; |
SERVER_ERROR
SERVER_ERROR = 100; |
UNRECOGNIZED |
UNSUPPORTED_OPERATION
UNSUPPORTED_OPERATION = 60; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALREADY_AUTHENTICATED_VALUE
ALREADY_AUTHENTICATED = 12; |
static int |
AUTHENTICATION_FAILED_VALUE
AUTHENTICATION_FAILED = 11; |
static int |
AUTHENTICATION_NOT_SUPPORTED_VALUE
AUTHENTICATION_NOT_SUPPORTED = 13; |
static int |
AUTHENTICATION_REQUIRED_VALUE
AUTHENTICATION_REQUIRED = 10; |
static int |
AUTHORIZATION_FAILED_VALUE
AUTHORIZATION_FAILED = 20; |
static int |
INVALID_ERROR_CODE_VALUE
INVALID_ERROR_CODE = 0; |
static int |
INVALID_REQUEST_VALUE
INVALID_REQUEST = 50; |
static int |
NO_AVAILABLE_SERVER_VALUE
NO_AVAILABLE_SERVER = 101; |
static int |
SERVER_ERROR_VALUE
SERVER_ERROR = 100; |
static int |
UNSUPPORTED_OPERATION_VALUE
UNSUPPORTED_OPERATION = 60; |
| Modifier and Type | Method and Description |
|---|---|
static BasicTypes.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<BasicTypes.ErrorCode> |
internalGetValueMap() |
static BasicTypes.ErrorCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BasicTypes.ErrorCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BasicTypes.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BasicTypes.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BasicTypes.ErrorCode INVALID_ERROR_CODE
INVALID_ERROR_CODE = 0;public static final BasicTypes.ErrorCode AUTHENTICATION_REQUIRED
AUTHENTICATION_REQUIRED = 10;public static final BasicTypes.ErrorCode AUTHENTICATION_FAILED
AUTHENTICATION_FAILED = 11;public static final BasicTypes.ErrorCode ALREADY_AUTHENTICATED
ALREADY_AUTHENTICATED = 12;public static final BasicTypes.ErrorCode AUTHENTICATION_NOT_SUPPORTED
AUTHENTICATION_NOT_SUPPORTED = 13;public static final BasicTypes.ErrorCode AUTHORIZATION_FAILED
AUTHORIZATION_FAILED = 20;public static final BasicTypes.ErrorCode INVALID_REQUEST
INVALID_REQUEST = 50;public static final BasicTypes.ErrorCode UNSUPPORTED_OPERATION
UNSUPPORTED_OPERATION = 60;public static final BasicTypes.ErrorCode SERVER_ERROR
SERVER_ERROR = 100;public static final BasicTypes.ErrorCode NO_AVAILABLE_SERVER
NO_AVAILABLE_SERVER = 101;public static final BasicTypes.ErrorCode UNRECOGNIZED
public static final int INVALID_ERROR_CODE_VALUE
INVALID_ERROR_CODE = 0;public static final int AUTHENTICATION_REQUIRED_VALUE
AUTHENTICATION_REQUIRED = 10;public static final int AUTHENTICATION_FAILED_VALUE
AUTHENTICATION_FAILED = 11;public static final int ALREADY_AUTHENTICATED_VALUE
ALREADY_AUTHENTICATED = 12;public static final int AUTHENTICATION_NOT_SUPPORTED_VALUE
AUTHENTICATION_NOT_SUPPORTED = 13;public static final int AUTHORIZATION_FAILED_VALUE
AUTHORIZATION_FAILED = 20;public static final int INVALID_REQUEST_VALUE
INVALID_REQUEST = 50;public static final int UNSUPPORTED_OPERATION_VALUE
UNSUPPORTED_OPERATION = 60;public static final int SERVER_ERROR_VALUE
SERVER_ERROR = 100;public static final int NO_AVAILABLE_SERVER_VALUE
NO_AVAILABLE_SERVER = 101;public static BasicTypes.ErrorCode[] values()
for (BasicTypes.ErrorCode c : BasicTypes.ErrorCode.values()) System.out.println(c);
public static BasicTypes.ErrorCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - 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 BasicTypes.ErrorCode valueOf(int value)
forNumber(int) instead.public static BasicTypes.ErrorCode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<BasicTypes.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 BasicTypes.ErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)