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
  • Enum Constant Details

    • EC_None

      public static final ErrorCodeOuterClass.ErrorCode EC_None
      / <summary>
       / Function call succeeded.
       / </summary>
       
      EC_None = 0;
    • EC_NoSuchSession

      public static final ErrorCodeOuterClass.ErrorCode EC_NoSuchSession
      / <summary>
       / The specified session does not exist.
       / </summary>
       
      EC_NoSuchSession = 1;
    • EC_SessionRunning

      public static final ErrorCodeOuterClass.ErrorCode EC_SessionRunning
      / <summary>
       / The specified session is in running state.
       / </summary>
       
      EC_SessionRunning = 2;
    • EC_NoSuchVariable

      public static final ErrorCodeOuterClass.ErrorCode EC_NoSuchVariable
      / <summary>
       / The specified variable does not exists.
       / </summary>
       
      EC_NoSuchVariable = 3;
    • EC_AlreadyExists

      public static final ErrorCodeOuterClass.ErrorCode EC_AlreadyExists
      / <summary>
       / A session with the same name already exists.
       / </summary>
       
      EC_AlreadyExists = 4;
    • EC_OutOfMemory

      public static final ErrorCodeOuterClass.ErrorCode EC_OutOfMemory
      / <summary>
       / An attempt to allocate memory failed.
       / </summary>
       
      EC_OutOfMemory = 5;
    • EC_NotSupported

      public static final ErrorCodeOuterClass.ErrorCode EC_NotSupported
      / <summary>
       / Logging of variable not supported.
       / </summary>
       
      EC_NotSupported = 6;
    • EC_NoData

      public static final ErrorCodeOuterClass.ErrorCode EC_NoData
      / <summary>
       / No data exists for the requested time range
       / </summary>
       
      EC_NoData = 7;
    • EC_DataUnavailable

      public static final ErrorCodeOuterClass.ErrorCode EC_DataUnavailable
      / <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>
       
      EC_DataUnavailable = 8;
    • EC_InvalidConfig

      public static final ErrorCodeOuterClass.ErrorCode EC_InvalidConfig
      / <summary>
       / The configuration for the session contains an error
       / </summary>
       
      EC_InvalidConfig = 9;
    • EC_Unspecified

      public static final ErrorCodeOuterClass.ErrorCode EC_Unspecified
      / <summary>
       / Unspecified error. See log file for more information.
       / </summary>
       
      EC_Unspecified = 255;
    • UNRECOGNIZED

      public static final ErrorCodeOuterClass.ErrorCode 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_DataUnavailable_VALUE

      public static final int EC_DataUnavailable_VALUE
      / <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>
       
      EC_DataUnavailable = 8;
      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

      private static final ErrorCodeOuterClass.ErrorCode[] VALUES
    • value

      private final int value
  • Constructor Details

    • ErrorCode

      private ErrorCode(int value)
  • Method Details

    • values

      public static ErrorCodeOuterClass.ErrorCode[] 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

      public static ErrorCodeOuterClass.ErrorCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static ErrorCodeOuterClass.ErrorCode valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static ErrorCodeOuterClass.ErrorCode forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<ErrorCodeOuterClass.ErrorCode> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null