- java.lang.Object
-
- java.lang.Enum<Result>
-
- io.axoniq.axonserver.grpc.admin.Result
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Result>
@Generated public enum Result extends Enum<Result> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumio.axoniq.axonserver.grpc.admin.Result
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTEDThe handler has accepted the result, no result will be returnedSUCCESSThe handler confirmed that the action was executed successfullyUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intACCEPTED_VALUEThe handler has accepted the result, no result will be returnedstatic intSUCCESS_VALUEThe handler confirmed that the action was executed successfully
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ResultforNumber(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<Result>internalGetValueMap()static ResultvalueOf(int value)Deprecated.static ResultvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ResultvalueOf(String name)Returns the enum constant of this type with the specified name.static Result[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final Result SUCCESS
The handler confirmed that the action was executed successfully
SUCCESS = 0;
-
ACCEPTED
public static final Result ACCEPTED
The handler has accepted the result, no result will be returned
ACCEPTED = 1;
-
UNRECOGNIZED
public static final Result UNRECOGNIZED
-
-
Field Detail
-
SUCCESS_VALUE
public static final int SUCCESS_VALUE
The handler confirmed that the action was executed successfully
SUCCESS = 0;- See Also:
- Constant Field Values
-
ACCEPTED_VALUE
public static final int ACCEPTED_VALUE
The handler has accepted the result, no result will be returned
ACCEPTED = 1;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Result[] 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 (Result c : Result.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Result 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 Result 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 Result forNumber(int value)
- 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<Result> 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 Result 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
-
-