Package mxaccess_gateway.v1
Enum Class MxaccessGateway.SessionState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MxaccessGateway.SessionState>,Constable
- Enclosing class:
- MxaccessGateway
public static enum MxaccessGateway.SessionState
extends Enum<MxaccessGateway.SessionState>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
mxaccess_gateway.v1.SessionState-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSESSION_STATE_CLOSED = 8;SESSION_STATE_CLOSING = 7;SESSION_STATE_CREATING = 1;SESSION_STATE_FAULTED = 9;SESSION_STATE_HANDSHAKING = 4;SESSION_STATE_INITIALIZING_WORKER = 5;SESSION_STATE_READY = 6;SESSION_STATE_STARTING_WORKER = 2;SESSION_STATE_UNSPECIFIED = 0;SESSION_STATE_WAITING_FOR_PIPE = 3; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSESSION_STATE_CLOSED = 8;static final intSESSION_STATE_CLOSING = 7;static final intSESSION_STATE_CREATING = 1;static final intSESSION_STATE_FAULTED = 9;static final intSESSION_STATE_HANDSHAKING = 4;static final intSESSION_STATE_INITIALIZING_WORKER = 5;static final intSESSION_STATE_READY = 6;static final intSESSION_STATE_STARTING_WORKER = 2;static final intSESSION_STATE_UNSPECIFIED = 0;static final intSESSION_STATE_WAITING_FOR_PIPE = 3; -
Method Summary
Modifier and TypeMethodDescriptionstatic MxaccessGateway.SessionStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<MxaccessGateway.SessionState>static MxaccessGateway.SessionStatevalueOf(int value) Deprecated.static MxaccessGateway.SessionStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static MxaccessGateway.SessionStateReturns the enum constant of this class with the specified name.static MxaccessGateway.SessionState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SESSION_STATE_UNSPECIFIED
SESSION_STATE_UNSPECIFIED = 0; -
SESSION_STATE_CREATING
SESSION_STATE_CREATING = 1; -
SESSION_STATE_STARTING_WORKER
SESSION_STATE_STARTING_WORKER = 2; -
SESSION_STATE_WAITING_FOR_PIPE
SESSION_STATE_WAITING_FOR_PIPE = 3; -
SESSION_STATE_HANDSHAKING
SESSION_STATE_HANDSHAKING = 4; -
SESSION_STATE_INITIALIZING_WORKER
SESSION_STATE_INITIALIZING_WORKER = 5; -
SESSION_STATE_READY
SESSION_STATE_READY = 6; -
SESSION_STATE_CLOSING
SESSION_STATE_CLOSING = 7; -
SESSION_STATE_CLOSED
SESSION_STATE_CLOSED = 8; -
SESSION_STATE_FAULTED
SESSION_STATE_FAULTED = 9; -
UNRECOGNIZED
-
-
Field Details
-
SESSION_STATE_UNSPECIFIED_VALUE
public static final int SESSION_STATE_UNSPECIFIED_VALUESESSION_STATE_UNSPECIFIED = 0;- See Also:
-
SESSION_STATE_CREATING_VALUE
public static final int SESSION_STATE_CREATING_VALUESESSION_STATE_CREATING = 1;- See Also:
-
SESSION_STATE_STARTING_WORKER_VALUE
public static final int SESSION_STATE_STARTING_WORKER_VALUESESSION_STATE_STARTING_WORKER = 2;- See Also:
-
SESSION_STATE_WAITING_FOR_PIPE_VALUE
public static final int SESSION_STATE_WAITING_FOR_PIPE_VALUESESSION_STATE_WAITING_FOR_PIPE = 3;- See Also:
-
SESSION_STATE_HANDSHAKING_VALUE
public static final int SESSION_STATE_HANDSHAKING_VALUESESSION_STATE_HANDSHAKING = 4;- See Also:
-
SESSION_STATE_INITIALIZING_WORKER_VALUE
public static final int SESSION_STATE_INITIALIZING_WORKER_VALUESESSION_STATE_INITIALIZING_WORKER = 5;- See Also:
-
SESSION_STATE_READY_VALUE
public static final int SESSION_STATE_READY_VALUESESSION_STATE_READY = 6;- See Also:
-
SESSION_STATE_CLOSING_VALUE
public static final int SESSION_STATE_CLOSING_VALUESESSION_STATE_CLOSING = 7;- See Also:
-
SESSION_STATE_CLOSED_VALUE
public static final int SESSION_STATE_CLOSED_VALUESESSION_STATE_CLOSED = 8;- See Also:
-
SESSION_STATE_FAULTED_VALUE
public static final int SESSION_STATE_FAULTED_VALUESESSION_STATE_FAULTED = 9;- See Also:
-
-
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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<MxaccessGateway.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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static MxaccessGateway.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
-