Package mxaccess_gateway.v1
Enum Class MxaccessGateway.ProtocolStatusCode
java.lang.Object
java.lang.Enum<MxaccessGateway.ProtocolStatusCode>
mxaccess_gateway.v1.MxaccessGateway.ProtocolStatusCode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MxaccessGateway.ProtocolStatusCode>,Constable
- Enclosing class:
MxaccessGateway
public static enum MxaccessGateway.ProtocolStatusCode
extends Enum<MxaccessGateway.ProtocolStatusCode>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
mxaccess_gateway.v1.ProtocolStatusCode-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPROTOCOL_STATUS_CODE_CANCELED = 7;PROTOCOL_STATUS_CODE_INVALID_REQUEST = 2;PROTOCOL_STATUS_CODE_MXACCESS_FAILURE = 9;PROTOCOL_STATUS_CODE_OK = 1;PROTOCOL_STATUS_CODE_PROTOCOL_VIOLATION = 8;PROTOCOL_STATUS_CODE_SESSION_NOT_FOUND = 3;PROTOCOL_STATUS_CODE_SESSION_NOT_READY = 4;PROTOCOL_STATUS_CODE_TIMEOUT = 6;PROTOCOL_STATUS_CODE_UNSPECIFIED = 0;PROTOCOL_STATUS_CODE_WORKER_UNAVAILABLE = 5; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPROTOCOL_STATUS_CODE_CANCELED = 7;static final intPROTOCOL_STATUS_CODE_INVALID_REQUEST = 2;static final intPROTOCOL_STATUS_CODE_MXACCESS_FAILURE = 9;static final intPROTOCOL_STATUS_CODE_OK = 1;static final intPROTOCOL_STATUS_CODE_PROTOCOL_VIOLATION = 8;static final intPROTOCOL_STATUS_CODE_SESSION_NOT_FOUND = 3;static final intPROTOCOL_STATUS_CODE_SESSION_NOT_READY = 4;static final intPROTOCOL_STATUS_CODE_TIMEOUT = 6;static final intPROTOCOL_STATUS_CODE_UNSPECIFIED = 0;static final intPROTOCOL_STATUS_CODE_WORKER_UNAVAILABLE = 5; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(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.ProtocolStatusCode> 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 MxaccessGateway.ProtocolStatusCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROTOCOL_STATUS_CODE_UNSPECIFIED
PROTOCOL_STATUS_CODE_UNSPECIFIED = 0; -
PROTOCOL_STATUS_CODE_OK
PROTOCOL_STATUS_CODE_OK = 1; -
PROTOCOL_STATUS_CODE_INVALID_REQUEST
PROTOCOL_STATUS_CODE_INVALID_REQUEST = 2; -
PROTOCOL_STATUS_CODE_SESSION_NOT_FOUND
PROTOCOL_STATUS_CODE_SESSION_NOT_FOUND = 3; -
PROTOCOL_STATUS_CODE_SESSION_NOT_READY
PROTOCOL_STATUS_CODE_SESSION_NOT_READY = 4; -
PROTOCOL_STATUS_CODE_WORKER_UNAVAILABLE
PROTOCOL_STATUS_CODE_WORKER_UNAVAILABLE = 5; -
PROTOCOL_STATUS_CODE_TIMEOUT
PROTOCOL_STATUS_CODE_TIMEOUT = 6; -
PROTOCOL_STATUS_CODE_CANCELED
PROTOCOL_STATUS_CODE_CANCELED = 7; -
PROTOCOL_STATUS_CODE_PROTOCOL_VIOLATION
PROTOCOL_STATUS_CODE_PROTOCOL_VIOLATION = 8; -
PROTOCOL_STATUS_CODE_MXACCESS_FAILURE
PROTOCOL_STATUS_CODE_MXACCESS_FAILURE = 9; -
UNRECOGNIZED
-
-
Field Details
-
PROTOCOL_STATUS_CODE_UNSPECIFIED_VALUE
public static final int PROTOCOL_STATUS_CODE_UNSPECIFIED_VALUEPROTOCOL_STATUS_CODE_UNSPECIFIED = 0;- See Also:
-
PROTOCOL_STATUS_CODE_OK_VALUE
public static final int PROTOCOL_STATUS_CODE_OK_VALUEPROTOCOL_STATUS_CODE_OK = 1;- See Also:
-
PROTOCOL_STATUS_CODE_INVALID_REQUEST_VALUE
public static final int PROTOCOL_STATUS_CODE_INVALID_REQUEST_VALUEPROTOCOL_STATUS_CODE_INVALID_REQUEST = 2;- See Also:
-
PROTOCOL_STATUS_CODE_SESSION_NOT_FOUND_VALUE
public static final int PROTOCOL_STATUS_CODE_SESSION_NOT_FOUND_VALUEPROTOCOL_STATUS_CODE_SESSION_NOT_FOUND = 3;- See Also:
-
PROTOCOL_STATUS_CODE_SESSION_NOT_READY_VALUE
public static final int PROTOCOL_STATUS_CODE_SESSION_NOT_READY_VALUEPROTOCOL_STATUS_CODE_SESSION_NOT_READY = 4;- See Also:
-
PROTOCOL_STATUS_CODE_WORKER_UNAVAILABLE_VALUE
public static final int PROTOCOL_STATUS_CODE_WORKER_UNAVAILABLE_VALUEPROTOCOL_STATUS_CODE_WORKER_UNAVAILABLE = 5;- See Also:
-
PROTOCOL_STATUS_CODE_TIMEOUT_VALUE
public static final int PROTOCOL_STATUS_CODE_TIMEOUT_VALUEPROTOCOL_STATUS_CODE_TIMEOUT = 6;- See Also:
-
PROTOCOL_STATUS_CODE_CANCELED_VALUE
public static final int PROTOCOL_STATUS_CODE_CANCELED_VALUEPROTOCOL_STATUS_CODE_CANCELED = 7;- See Also:
-
PROTOCOL_STATUS_CODE_PROTOCOL_VIOLATION_VALUE
public static final int PROTOCOL_STATUS_CODE_PROTOCOL_VIOLATION_VALUEPROTOCOL_STATUS_CODE_PROTOCOL_VIOLATION = 8;- See Also:
-
PROTOCOL_STATUS_CODE_MXACCESS_FAILURE_VALUE
public static final int PROTOCOL_STATUS_CODE_MXACCESS_FAILURE_VALUEPROTOCOL_STATUS_CODE_MXACCESS_FAILURE = 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.ProtocolStatusCode> 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.ProtocolStatusCode 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
-