Enum ControlMessage.MessageType
- java.lang.Object
-
- java.lang.Enum<ControlMessage.MessageType>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.MessageType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<ControlMessage.MessageType>
- Enclosing class:
- ControlMessage
public static enum ControlMessage.MessageType extends java.lang.Enum<ControlMessage.MessageType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumprotobuf.MessageType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BlockLocationInfo
BlockLocationInfo = 5;
BlockStateChanged
BlockStateChanged = 2;
ExecutorDataCollected
ExecutorDataCollected = 7;
ExecutorFailed
ExecutorFailed = 6;
InMasterBroadcastVariable
InMasterBroadcastVariable = 12;
MetricFlushed
MetricFlushed = 10;
MetricMessageReceived
MetricMessageReceived = 8;
PipeInit
PipeInit = 13;
PipeLocInfo
PipeLocInfo = 15;
RequestBlockLocation
RequestBlockLocation = 4;
RequestBroadcastVariable
RequestBroadcastVariable = 11;
RequestMetricFlush
RequestMetricFlush = 9;
RequestPipeLoc
RequestPipeLoc = 14;
RunTimePassMessage
RunTimePassMessage = 3;
ScheduleTask
ScheduleTask = 1;
TaskStateChanged
TaskStateChanged = 0;
-
Field Summary
Fields Modifier and Type Field Description static int
BlockLocationInfo_VALUE
BlockLocationInfo = 5;
static int
BlockStateChanged_VALUE
BlockStateChanged = 2;
static int
ExecutorDataCollected_VALUE
ExecutorDataCollected = 7;
static int
ExecutorFailed_VALUE
ExecutorFailed = 6;
static int
InMasterBroadcastVariable_VALUE
InMasterBroadcastVariable = 12;
static int
MetricFlushed_VALUE
MetricFlushed = 10;
static int
MetricMessageReceived_VALUE
MetricMessageReceived = 8;
static int
PipeInit_VALUE
PipeInit = 13;
static int
PipeLocInfo_VALUE
PipeLocInfo = 15;
static int
RequestBlockLocation_VALUE
RequestBlockLocation = 4;
static int
RequestBroadcastVariable_VALUE
RequestBroadcastVariable = 11;
static int
RequestMetricFlush_VALUE
RequestMetricFlush = 9;
static int
RequestPipeLoc_VALUE
RequestPipeLoc = 14;
static int
RunTimePassMessage_VALUE
RunTimePassMessage = 3;
static int
ScheduleTask_VALUE
ScheduleTask = 1;
static int
TaskStateChanged_VALUE
TaskStateChanged = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ControlMessage.MessageType
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<ControlMessage.MessageType>
internalGetValueMap()
static ControlMessage.MessageType
valueOf(int value)
Deprecated.static ControlMessage.MessageType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ControlMessage.MessageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ControlMessage.MessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TaskStateChanged
public static final ControlMessage.MessageType TaskStateChanged
TaskStateChanged = 0;
-
ScheduleTask
public static final ControlMessage.MessageType ScheduleTask
ScheduleTask = 1;
-
BlockStateChanged
public static final ControlMessage.MessageType BlockStateChanged
BlockStateChanged = 2;
-
RunTimePassMessage
public static final ControlMessage.MessageType RunTimePassMessage
RunTimePassMessage = 3;
-
RequestBlockLocation
public static final ControlMessage.MessageType RequestBlockLocation
RequestBlockLocation = 4;
-
BlockLocationInfo
public static final ControlMessage.MessageType BlockLocationInfo
BlockLocationInfo = 5;
-
ExecutorFailed
public static final ControlMessage.MessageType ExecutorFailed
ExecutorFailed = 6;
-
ExecutorDataCollected
public static final ControlMessage.MessageType ExecutorDataCollected
ExecutorDataCollected = 7;
-
MetricMessageReceived
public static final ControlMessage.MessageType MetricMessageReceived
MetricMessageReceived = 8;
-
RequestMetricFlush
public static final ControlMessage.MessageType RequestMetricFlush
RequestMetricFlush = 9;
-
MetricFlushed
public static final ControlMessage.MessageType MetricFlushed
MetricFlushed = 10;
-
RequestBroadcastVariable
public static final ControlMessage.MessageType RequestBroadcastVariable
RequestBroadcastVariable = 11;
-
InMasterBroadcastVariable
public static final ControlMessage.MessageType InMasterBroadcastVariable
InMasterBroadcastVariable = 12;
-
PipeInit
public static final ControlMessage.MessageType PipeInit
PipeInit = 13;
-
RequestPipeLoc
public static final ControlMessage.MessageType RequestPipeLoc
RequestPipeLoc = 14;
-
PipeLocInfo
public static final ControlMessage.MessageType PipeLocInfo
PipeLocInfo = 15;
-
-
Field Detail
-
TaskStateChanged_VALUE
public static final int TaskStateChanged_VALUE
TaskStateChanged = 0;
- See Also:
- Constant Field Values
-
ScheduleTask_VALUE
public static final int ScheduleTask_VALUE
ScheduleTask = 1;
- See Also:
- Constant Field Values
-
BlockStateChanged_VALUE
public static final int BlockStateChanged_VALUE
BlockStateChanged = 2;
- See Also:
- Constant Field Values
-
RunTimePassMessage_VALUE
public static final int RunTimePassMessage_VALUE
RunTimePassMessage = 3;
- See Also:
- Constant Field Values
-
RequestBlockLocation_VALUE
public static final int RequestBlockLocation_VALUE
RequestBlockLocation = 4;
- See Also:
- Constant Field Values
-
BlockLocationInfo_VALUE
public static final int BlockLocationInfo_VALUE
BlockLocationInfo = 5;
- See Also:
- Constant Field Values
-
ExecutorFailed_VALUE
public static final int ExecutorFailed_VALUE
ExecutorFailed = 6;
- See Also:
- Constant Field Values
-
ExecutorDataCollected_VALUE
public static final int ExecutorDataCollected_VALUE
ExecutorDataCollected = 7;
- See Also:
- Constant Field Values
-
MetricMessageReceived_VALUE
public static final int MetricMessageReceived_VALUE
MetricMessageReceived = 8;
- See Also:
- Constant Field Values
-
RequestMetricFlush_VALUE
public static final int RequestMetricFlush_VALUE
RequestMetricFlush = 9;
- See Also:
- Constant Field Values
-
MetricFlushed_VALUE
public static final int MetricFlushed_VALUE
MetricFlushed = 10;
- See Also:
- Constant Field Values
-
RequestBroadcastVariable_VALUE
public static final int RequestBroadcastVariable_VALUE
RequestBroadcastVariable = 11;
- See Also:
- Constant Field Values
-
InMasterBroadcastVariable_VALUE
public static final int InMasterBroadcastVariable_VALUE
InMasterBroadcastVariable = 12;
- See Also:
- Constant Field Values
-
PipeInit_VALUE
public static final int PipeInit_VALUE
PipeInit = 13;
- See Also:
- Constant Field Values
-
RequestPipeLoc_VALUE
public static final int RequestPipeLoc_VALUE
RequestPipeLoc = 14;
- See Also:
- Constant Field Values
-
PipeLocInfo_VALUE
public static final int PipeLocInfo_VALUE
PipeLocInfo = 15;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ControlMessage.MessageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ControlMessage.MessageType c : ControlMessage.MessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControlMessage.MessageType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ControlMessage.MessageType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static ControlMessage.MessageType forNumber(int value)
- 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<ControlMessage.MessageType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ControlMessage.MessageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-