Package mxaccess_worker.v1
Enum Class MxaccessWorker.WorkerState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MxaccessWorker.WorkerState>,Constable
- Enclosing class:
MxaccessWorker
public static enum MxaccessWorker.WorkerState
extends Enum<MxaccessWorker.WorkerState>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
mxaccess_worker.v1.WorkerState-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWORKER_STATE_EXECUTING_COMMAND = 5;WORKER_STATE_FAULTED = 8;WORKER_STATE_HANDSHAKING = 2;WORKER_STATE_INITIALIZING_STA = 3;WORKER_STATE_READY = 4;WORKER_STATE_SHUTTING_DOWN = 6;WORKER_STATE_STARTING = 1;WORKER_STATE_STOPPED = 7;WORKER_STATE_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intWORKER_STATE_EXECUTING_COMMAND = 5;static final intWORKER_STATE_FAULTED = 8;static final intWORKER_STATE_HANDSHAKING = 2;static final intWORKER_STATE_INITIALIZING_STA = 3;static final intWORKER_STATE_READY = 4;static final intWORKER_STATE_SHUTTING_DOWN = 6;static final intWORKER_STATE_STARTING = 1;static final intWORKER_STATE_STOPPED = 7;static final intWORKER_STATE_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic MxaccessWorker.WorkerStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<MxaccessWorker.WorkerState> static MxaccessWorker.WorkerStatevalueOf(int value) Deprecated.static MxaccessWorker.WorkerStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static MxaccessWorker.WorkerStateReturns the enum constant of this class with the specified name.static MxaccessWorker.WorkerState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WORKER_STATE_UNSPECIFIED
WORKER_STATE_UNSPECIFIED = 0; -
WORKER_STATE_STARTING
WORKER_STATE_STARTING = 1; -
WORKER_STATE_HANDSHAKING
WORKER_STATE_HANDSHAKING = 2; -
WORKER_STATE_INITIALIZING_STA
WORKER_STATE_INITIALIZING_STA = 3; -
WORKER_STATE_READY
WORKER_STATE_READY = 4; -
WORKER_STATE_EXECUTING_COMMAND
WORKER_STATE_EXECUTING_COMMAND = 5; -
WORKER_STATE_SHUTTING_DOWN
WORKER_STATE_SHUTTING_DOWN = 6; -
WORKER_STATE_STOPPED
WORKER_STATE_STOPPED = 7; -
WORKER_STATE_FAULTED
WORKER_STATE_FAULTED = 8; -
UNRECOGNIZED
-
-
Field Details
-
WORKER_STATE_UNSPECIFIED_VALUE
public static final int WORKER_STATE_UNSPECIFIED_VALUEWORKER_STATE_UNSPECIFIED = 0;- See Also:
-
WORKER_STATE_STARTING_VALUE
public static final int WORKER_STATE_STARTING_VALUEWORKER_STATE_STARTING = 1;- See Also:
-
WORKER_STATE_HANDSHAKING_VALUE
public static final int WORKER_STATE_HANDSHAKING_VALUEWORKER_STATE_HANDSHAKING = 2;- See Also:
-
WORKER_STATE_INITIALIZING_STA_VALUE
public static final int WORKER_STATE_INITIALIZING_STA_VALUEWORKER_STATE_INITIALIZING_STA = 3;- See Also:
-
WORKER_STATE_READY_VALUE
public static final int WORKER_STATE_READY_VALUEWORKER_STATE_READY = 4;- See Also:
-
WORKER_STATE_EXECUTING_COMMAND_VALUE
public static final int WORKER_STATE_EXECUTING_COMMAND_VALUEWORKER_STATE_EXECUTING_COMMAND = 5;- See Also:
-
WORKER_STATE_SHUTTING_DOWN_VALUE
public static final int WORKER_STATE_SHUTTING_DOWN_VALUEWORKER_STATE_SHUTTING_DOWN = 6;- See Also:
-
WORKER_STATE_STOPPED_VALUE
public static final int WORKER_STATE_STOPPED_VALUEWORKER_STATE_STOPPED = 7;- See Also:
-
WORKER_STATE_FAULTED_VALUE
public static final int WORKER_STATE_FAULTED_VALUEWORKER_STATE_FAULTED = 8;- 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<MxaccessWorker.WorkerState> 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 MxaccessWorker.WorkerState 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
-