Enum Class Umadb.ErrorResponse.ErrorType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Umadb.ErrorResponse.ErrorType>, Constable
- Enclosing class:
Umadb.ErrorResponse
public static enum Umadb.ErrorResponse.ErrorType
extends Enum<Umadb.ErrorResponse.ErrorType>
implements com.google.protobuf.ProtocolMessageEnum
Categories of errors that can occur within the event store operations.Protobuf enum
umadb.v1.ErrorResponse.ErrorType-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionClient is not authorized to perform the operation.Underlying storage is corrupted.Data constraints violated (e.g., AppendCondition failed).Unhandled or unexpected internal server error.The request was malformed or contained invalid parameters.Disk or network input/output failure.Failed to parse or serialize event payloads or metadata. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intClient is not authorized to perform the operation.static final intUnderlying storage is corrupted.static final intData constraints violated (e.g., AppendCondition failed).static final intUnhandled or unexpected internal server error.static final intThe request was malformed or contained invalid parameters.static final intDisk or network input/output failure.static final intFailed to parse or serialize event payloads or metadata. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Umadb.ErrorResponse.ErrorType> valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static Umadb.ErrorResponse.ErrorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IO
Disk or network input/output failure.
IO = 0; -
SERIALIZATION
Failed to parse or serialize event payloads or metadata.
SERIALIZATION = 1; -
INTEGRITY
Data constraints violated (e.g., AppendCondition failed).
INTEGRITY = 2; -
CORRUPTION
Underlying storage is corrupted.
CORRUPTION = 3; -
INTERNAL
Unhandled or unexpected internal server error.
INTERNAL = 4; -
AUTHENTICATION
Client is not authorized to perform the operation.
AUTHENTICATION = 5; -
INVALID_ARGUMENT
The request was malformed or contained invalid parameters.
INVALID_ARGUMENT = 6; -
UNRECOGNIZED
-
-
Field Details
-
IO_VALUE
public static final int IO_VALUEDisk or network input/output failure.
IO = 0;- See Also:
-
SERIALIZATION_VALUE
public static final int SERIALIZATION_VALUEFailed to parse or serialize event payloads or metadata.
SERIALIZATION = 1;- See Also:
-
INTEGRITY_VALUE
public static final int INTEGRITY_VALUEData constraints violated (e.g., AppendCondition failed).
INTEGRITY = 2;- See Also:
-
CORRUPTION_VALUE
public static final int CORRUPTION_VALUEUnderlying storage is corrupted.
CORRUPTION = 3;- See Also:
-
INTERNAL_VALUE
public static final int INTERNAL_VALUEUnhandled or unexpected internal server error.
INTERNAL = 4;- See Also:
-
AUTHENTICATION_VALUE
public static final int AUTHENTICATION_VALUEClient is not authorized to perform the operation.
AUTHENTICATION = 5;- See Also:
-
INVALID_ARGUMENT_VALUE
public static final int INVALID_ARGUMENT_VALUEThe request was malformed or contained invalid parameters.
INVALID_ARGUMENT = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Umadb.ErrorResponse.ErrorType> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Umadb.ErrorResponse.ErrorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-