Enum Class AccessErrorCodeOuterClass.AccessErrorCode
java.lang.Object
java.lang.Enum<AccessErrorCodeOuterClass.AccessErrorCode>
Arp.Device.Interface.Services.Grpc.AccessErrorCodeOuterClass.AccessErrorCode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AccessErrorCodeOuterClass.AccessErrorCode>,Constable
- Enclosing class:
AccessErrorCodeOuterClass
public static enum AccessErrorCodeOuterClass.AccessErrorCode
extends Enum<AccessErrorCodeOuterClass.AccessErrorCode>
implements com.google.protobuf.ProtocolMessageEnum
/ <summary> / Enumeration for error codes returned from Device.Interface.Services. / </summary>Protobuf enum
Arp.Device.Interface.Services.Grpc.AccessErrorCode-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription/ <summary> / Authorization failure / </summary>/ <summary> / The type of the new value is wrong / </summary>/ <summary> / The format of the new value is wrong / </summary>/ <summary> / A parameter is invalid / </summary>/ <summary> / Success / </summary>/ <summary> / A value is out of range / </summary>/ <summary> / Unkown Error / </summary>/ <summary> / Unknown setting id / </summary> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int/ <summary> / Authorization failure / </summary>static final int/ <summary> / The type of the new value is wrong / </summary>static final int/ <summary> / The format of the new value is wrong / </summary>static final int/ <summary> / A parameter is invalid / </summary>static final int/ <summary> / Success / </summary>static final int/ <summary> / A value is out of range / </summary>static final int/ <summary> / Unkown Error / </summary>static final int/ <summary> / Unknown setting id / </summary>private static final com.google.protobuf.Internal.EnumLiteMap<AccessErrorCodeOuterClass.AccessErrorCode> private final intprivate static final AccessErrorCodeOuterClass.AccessErrorCode[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AccessErrorCodeOuterClass.AccessErrorCode> 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.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AEC_None
/ <summary> / Success / </summary>
AEC_None = 0; -
AEC_UnknownError
/ <summary> / Unkown Error / </summary>
AEC_UnknownError = 1; -
AEC_UnknownSetting
/ <summary> / Unknown setting id / </summary>
AEC_UnknownSetting = 2; -
AEC_AuthorizationFailure
/ <summary> / Authorization failure / </summary>
AEC_AuthorizationFailure = 3; -
AEC_IncompatibleType
/ <summary> / The type of the new value is wrong / </summary>
AEC_IncompatibleType = 4; -
AEC_InvalidFormat
/ <summary> / The format of the new value is wrong / </summary>
AEC_InvalidFormat = 5; -
AEC_InvalidParameter
/ <summary> / A parameter is invalid / </summary>
AEC_InvalidParameter = 6; -
AEC_OutOfRange
/ <summary> / A value is out of range / </summary>
AEC_OutOfRange = 7; -
UNRECOGNIZED
-
-
Field Details
-
AEC_None_VALUE
public static final int AEC_None_VALUE/ <summary> / Success / </summary>
AEC_None = 0;- See Also:
-
AEC_UnknownError_VALUE
public static final int AEC_UnknownError_VALUE/ <summary> / Unkown Error / </summary>
AEC_UnknownError = 1;- See Also:
-
AEC_UnknownSetting_VALUE
public static final int AEC_UnknownSetting_VALUE/ <summary> / Unknown setting id / </summary>
AEC_UnknownSetting = 2;- See Also:
-
AEC_AuthorizationFailure_VALUE
public static final int AEC_AuthorizationFailure_VALUE/ <summary> / Authorization failure / </summary>
AEC_AuthorizationFailure = 3;- See Also:
-
AEC_IncompatibleType_VALUE
public static final int AEC_IncompatibleType_VALUE/ <summary> / The type of the new value is wrong / </summary>
AEC_IncompatibleType = 4;- See Also:
-
AEC_InvalidFormat_VALUE
public static final int AEC_InvalidFormat_VALUE/ <summary> / The format of the new value is wrong / </summary>
AEC_InvalidFormat = 5;- See Also:
-
AEC_InvalidParameter_VALUE
public static final int AEC_InvalidParameter_VALUE/ <summary> / A parameter is invalid / </summary>
AEC_InvalidParameter = 6;- See Also:
-
AEC_OutOfRange_VALUE
public static final int AEC_OutOfRange_VALUE/ <summary> / A value is out of range / </summary>
AEC_OutOfRange = 7;- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<AccessErrorCodeOuterClass.AccessErrorCode> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
AccessErrorCode
private AccessErrorCode(int value)
-
-
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
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AccessErrorCodeOuterClass.AccessErrorCode> 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 AccessErrorCodeOuterClass.AccessErrorCode 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
-