public static enum MATLABRequestInfo.MATLAB_Request_Info.State extends Enum<MATLABRequestInfo.MATLAB_Request_Info.State> implements com.google.protobuf.ProtocolMessageEnum
All requests are in one of these statesProtobuf enum
MATLAB_Request_Info.State| Enum Constant and Description |
|---|
CANCELLED_STATE
the request has been cancelled at the client's request
|
DELETED_STATE
error code if the request were synchronous)
|
ERROR_STATE
the request could not be completed due to an error (this would result in an HTTP
|
IN_QUEUE_STATE
the request is waiting for a worker to be allocated
|
PROCESSING_STATE
the request has been assigned to a worker and is running
|
READING_STATE
the request is being read from the client
|
READY_STATE
the request has completed and response data is ready
|
UNKNOWN_STATE
UNKNOWN_STATE = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELLED_STATE_VALUE
the request has been cancelled at the client's request
|
static int |
DELETED_STATE_VALUE
error code if the request were synchronous)
|
static int |
ERROR_STATE_VALUE
the request could not be completed due to an error (this would result in an HTTP
|
static int |
IN_QUEUE_STATE_VALUE
the request is waiting for a worker to be allocated
|
static int |
PROCESSING_STATE_VALUE
the request has been assigned to a worker and is running
|
static int |
READING_STATE_VALUE
the request is being read from the client
|
static int |
READY_STATE_VALUE
the request has completed and response data is ready
|
static int |
UNKNOWN_STATE_VALUE
UNKNOWN_STATE = 0; |
| Modifier and Type | Method and Description |
|---|---|
static MATLABRequestInfo.MATLAB_Request_Info.State |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<MATLABRequestInfo.MATLAB_Request_Info.State> |
internalGetValueMap() |
static MATLABRequestInfo.MATLAB_Request_Info.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MATLABRequestInfo.MATLAB_Request_Info.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MATLABRequestInfo.MATLAB_Request_Info.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MATLABRequestInfo.MATLAB_Request_Info.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MATLABRequestInfo.MATLAB_Request_Info.State UNKNOWN_STATE
UNKNOWN_STATE = 0;public static final MATLABRequestInfo.MATLAB_Request_Info.State READING_STATE
the request is being read from the client
READING_STATE = 1;public static final MATLABRequestInfo.MATLAB_Request_Info.State IN_QUEUE_STATE
the request is waiting for a worker to be allocated
IN_QUEUE_STATE = 2;public static final MATLABRequestInfo.MATLAB_Request_Info.State PROCESSING_STATE
the request has been assigned to a worker and is running
PROCESSING_STATE = 3;public static final MATLABRequestInfo.MATLAB_Request_Info.State READY_STATE
the request has completed and response data is ready
READY_STATE = 4;public static final MATLABRequestInfo.MATLAB_Request_Info.State CANCELLED_STATE
the request has been cancelled at the client's request
CANCELLED_STATE = 5;public static final MATLABRequestInfo.MATLAB_Request_Info.State ERROR_STATE
the request could not be completed due to an error (this would result in an HTTP
ERROR_STATE = 6;public static final MATLABRequestInfo.MATLAB_Request_Info.State DELETED_STATE
error code if the request were synchronous)
DELETED_STATE = 7;public static final int UNKNOWN_STATE_VALUE
UNKNOWN_STATE = 0;public static final int READING_STATE_VALUE
the request is being read from the client
READING_STATE = 1;public static final int IN_QUEUE_STATE_VALUE
the request is waiting for a worker to be allocated
IN_QUEUE_STATE = 2;public static final int PROCESSING_STATE_VALUE
the request has been assigned to a worker and is running
PROCESSING_STATE = 3;public static final int READY_STATE_VALUE
the request has completed and response data is ready
READY_STATE = 4;public static final int CANCELLED_STATE_VALUE
the request has been cancelled at the client's request
CANCELLED_STATE = 5;public static final int ERROR_STATE_VALUE
the request could not be completed due to an error (this would result in an HTTP
ERROR_STATE = 6;public static final int DELETED_STATE_VALUE
error code if the request were synchronous)
DELETED_STATE = 7;public static MATLABRequestInfo.MATLAB_Request_Info.State[] values()
for (MATLABRequestInfo.MATLAB_Request_Info.State c : MATLABRequestInfo.MATLAB_Request_Info.State.values()) System.out.println(c);
public static MATLABRequestInfo.MATLAB_Request_Info.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static MATLABRequestInfo.MATLAB_Request_Info.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MATLABRequestInfo.MATLAB_Request_Info.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MATLABRequestInfo.MATLAB_Request_Info.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MATLABRequestInfo.MATLAB_Request_Info.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2015–2024. All rights reserved.