Enum Class SessionStateOuterClass.SessionState

java.lang.Object
java.lang.Enum<SessionStateOuterClass.SessionState>
Arp.Services.DataLogger.Services.Grpc.SessionStateOuterClass.SessionState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<SessionStateOuterClass.SessionState>, Constable
Enclosing class:
SessionStateOuterClass

public static enum SessionStateOuterClass.SessionState extends Enum<SessionStateOuterClass.SessionState> implements com.google.protobuf.ProtocolMessageEnum
/ <summary>
 / State of a data logger session
 / </summary>
 
Protobuf enum Arp.Services.DataLogger.Services.Grpc.SessionState
  • Enum Constant Details

  • Field Details

    • SS_None_VALUE

      public static final int SS_None_VALUE
      / <summary>
       / Initialization value
       / </summary>
       
      SS_None = 0;
      See Also:
    • SS_Created_VALUE

      public static final int SS_Created_VALUE
      / <summary>
       / The session was already created but not yet initialized
       / </summary>
       
      SS_Created = 1;
      See Also:
    • SS_Initialized_VALUE

      public static final int SS_Initialized_VALUE
      / <summary>
       / The session has loaded a configuration and is ready to run
       / </summary>
       
      SS_Initialized = 2;
      See Also:
    • SS_Running_VALUE

      public static final int SS_Running_VALUE
      / <summary>
       / The session is currently running and logging variables
       / </summary>
       
      SS_Running = 3;
      See Also:
    • SS_Stopped_VALUE

      public static final int SS_Stopped_VALUE
      / <summary>
       / The session is currently not running.
       / </summary>
       
      SS_Stopped = 4;
      See Also:
    • SS_Error_VALUE

      public static final int SS_Error_VALUE
      / <summary>
       / The session is in an error state.
       / </summary>
       
      SS_Error = 5;
      See Also:
    • internalValueMap

      private static final com.google.protobuf.Internal.EnumLiteMap<SessionStateOuterClass.SessionState> internalValueMap
    • VALUES

      private static final SessionStateOuterClass.SessionState[] VALUES
    • value

      private final int value
  • Constructor Details

    • SessionState

      private SessionState(int value)
  • Method Details

    • values

      public static SessionStateOuterClass.SessionState[] 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 SessionStateOuterClass.SessionState 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 SessionStateOuterClass.SessionState 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 SessionStateOuterClass.SessionState forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<SessionStateOuterClass.SessionState> 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 SessionStateOuterClass.SessionState 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