Enum Class ErrorCodeOuterClass.ErrorCode
java.lang.Object
java.lang.Enum<ErrorCodeOuterClass.ErrorCode>
Arp.Services.DataLogger.Services.Grpc.ErrorCodeOuterClass.ErrorCode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ErrorCodeOuterClass.ErrorCode>,Constable
- Enclosing class:
ErrorCodeOuterClass
public static enum ErrorCodeOuterClass.ErrorCode
extends Enum<ErrorCodeOuterClass.ErrorCode>
implements com.google.protobuf.ProtocolMessageEnum
/ <summary> / Possible error codes for data-logger rsc services. / </summary>Protobuf enum
Arp.Services.DataLogger.Services.Grpc.ErrorCode-
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> / A session with the same name already exists./ <summary> / Expected data is unavailable for the requested time range / due to an unmounted volume an off-line archive or / similar reason for temporary unavailability./ <summary> / The configuration for the session contains an error / </summary>/ <summary> / No data exists for the requested time range / </summary>/ <summary> / Function call succeeded./ <summary> / The specified session does not exist./ <summary> / The specified variable does not exists./ <summary> / Logging of variable not supported./ <summary> / An attempt to allocate memory failed./ <summary> / The specified session is in running state./ <summary> / Unspecified error. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int/ <summary> / A session with the same name already exists.static final int/ <summary> / Expected data is unavailable for the requested time range / due to an unmounted volume an off-line archive or / similar reason for temporary unavailability.static final int/ <summary> / The configuration for the session contains an error / </summary>static final int/ <summary> / No data exists for the requested time range / </summary>static final int/ <summary> / Function call succeeded.static final int/ <summary> / The specified session does not exist.static final int/ <summary> / The specified variable does not exists.static final int/ <summary> / Logging of variable not supported.static final int/ <summary> / An attempt to allocate memory failed.static final int/ <summary> / The specified session is in running state.static final int/ <summary> / Unspecified error.private static final com.google.protobuf.Internal.EnumLiteMap<ErrorCodeOuterClass.ErrorCode> private final intprivate static final ErrorCodeOuterClass.ErrorCode[] -
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<ErrorCodeOuterClass.ErrorCode> 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 ErrorCodeOuterClass.ErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EC_None
/ <summary> / Function call succeeded. / </summary>
EC_None = 0; -
EC_NoSuchSession
/ <summary> / The specified session does not exist. / </summary>
EC_NoSuchSession = 1; -
EC_SessionRunning
/ <summary> / The specified session is in running state. / </summary>
EC_SessionRunning = 2; -
EC_NoSuchVariable
/ <summary> / The specified variable does not exists. / </summary>
EC_NoSuchVariable = 3; -
EC_AlreadyExists
/ <summary> / A session with the same name already exists. / </summary>
EC_AlreadyExists = 4; -
EC_OutOfMemory
/ <summary> / An attempt to allocate memory failed. / </summary>
EC_OutOfMemory = 5; -
EC_NotSupported
/ <summary> / Logging of variable not supported. / </summary>
EC_NotSupported = 6; -
EC_NoData
/ <summary> / No data exists for the requested time range / </summary>
EC_NoData = 7; -
EC_InvalidConfig
/ <summary> / The configuration for the session contains an error / </summary>
EC_InvalidConfig = 9; -
EC_Unspecified
/ <summary> / Unspecified error. See log file for more information. / </summary>
EC_Unspecified = 255; -
UNRECOGNIZED
-
-
Field Details
-
EC_None_VALUE
public static final int EC_None_VALUE/ <summary> / Function call succeeded. / </summary>
EC_None = 0;- See Also:
-
EC_NoSuchSession_VALUE
public static final int EC_NoSuchSession_VALUE/ <summary> / The specified session does not exist. / </summary>
EC_NoSuchSession = 1;- See Also:
-
EC_SessionRunning_VALUE
public static final int EC_SessionRunning_VALUE/ <summary> / The specified session is in running state. / </summary>
EC_SessionRunning = 2;- See Also:
-
EC_NoSuchVariable_VALUE
public static final int EC_NoSuchVariable_VALUE/ <summary> / The specified variable does not exists. / </summary>
EC_NoSuchVariable = 3;- See Also:
-
EC_AlreadyExists_VALUE
public static final int EC_AlreadyExists_VALUE/ <summary> / A session with the same name already exists. / </summary>
EC_AlreadyExists = 4;- See Also:
-
EC_OutOfMemory_VALUE
public static final int EC_OutOfMemory_VALUE/ <summary> / An attempt to allocate memory failed. / </summary>
EC_OutOfMemory = 5;- See Also:
-
EC_NotSupported_VALUE
public static final int EC_NotSupported_VALUE/ <summary> / Logging of variable not supported. / </summary>
EC_NotSupported = 6;- See Also:
-
EC_NoData_VALUE
public static final int EC_NoData_VALUE/ <summary> / No data exists for the requested time range / </summary>
EC_NoData = 7;- See Also:
-
EC_InvalidConfig_VALUE
public static final int EC_InvalidConfig_VALUE/ <summary> / The configuration for the session contains an error / </summary>
EC_InvalidConfig = 9;- See Also:
-
EC_Unspecified_VALUE
public static final int EC_Unspecified_VALUE/ <summary> / Unspecified error. See log file for more information. / </summary>
EC_Unspecified = 255;- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<ErrorCodeOuterClass.ErrorCode> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
ErrorCode
private ErrorCode(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<ErrorCodeOuterClass.ErrorCode> 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 ErrorCodeOuterClass.ErrorCode 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
-