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-
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> / The session was already created but not yet initialized / </summary>/ <summary> / The session is in an error state./ <summary> / The session has loaded a configuration and is ready to run / </summary>/ <summary> / Initialization value / </summary>/ <summary> / The session is currently running and logging variables / </summary>/ <summary> / The session is currently not running. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.google.protobuf.Internal.EnumLiteMap<SessionStateOuterClass.SessionState> static final int/ <summary> / The session was already created but not yet initialized / </summary>static final int/ <summary> / The session is in an error state.static final int/ <summary> / The session has loaded a configuration and is ready to run / </summary>static final int/ <summary> / Initialization value / </summary>static final int/ <summary> / The session is currently running and logging variables / </summary>static final int/ <summary> / The session is currently not running.private final intprivate static final SessionStateOuterClass.SessionState[] -
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<SessionStateOuterClass.SessionState> 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 SessionStateOuterClass.SessionState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SS_None
/ <summary> / Initialization value / </summary>
SS_None = 0; -
SS_Created
/ <summary> / The session was already created but not yet initialized / </summary>
SS_Created = 1; -
SS_Initialized
/ <summary> / The session has loaded a configuration and is ready to run / </summary>
SS_Initialized = 2; -
SS_Running
/ <summary> / The session is currently running and logging variables / </summary>
SS_Running = 3; -
SS_Stopped
/ <summary> / The session is currently not running. / </summary>
SS_Stopped = 4; -
SS_Error
/ <summary> / The session is in an error state. / </summary>
SS_Error = 5; -
UNRECOGNIZED
-
-
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
-
value
private final int value
-
-
Constructor Details
-
SessionState
private SessionState(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<SessionStateOuterClass.SessionState> 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 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 nameNullPointerException- if the argument is null
-