// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// source: rt_task.proto
|
|
package com.xiaopeng.api.vo.automaticPilot.protobuf;
|
|
/**
|
* Protobuf enum {@code acm.proto.intelliservices.rt.TaskRunningStatus}
|
*/
|
public enum TaskRunningStatus
|
implements com.google.protobuf.ProtocolMessageEnum {
|
/**
|
* <pre>
|
* 未指定
|
* </pre>
|
*
|
* <code>TASK_RUNNING_STATUS_UNSPECIFIED = 0;</code>
|
*/
|
TASK_RUNNING_STATUS_UNSPECIFIED(0),
|
/**
|
* <pre>
|
* 空闲(任务已创建,未开始)
|
* </pre>
|
*
|
* <code>TASK_IDLE = 1;</code>
|
*/
|
TASK_IDLE(1),
|
/**
|
* <pre>
|
* 初始化中(准备运行环境)
|
* </pre>
|
*
|
* <code>TASK_INITIALIZING = 2;</code>
|
*/
|
TASK_INITIALIZING(2),
|
/**
|
* <pre>
|
* 运行中(正常执行)
|
* </pre>
|
*
|
* <code>TASK_RUNNING = 3;</code>
|
*/
|
TASK_RUNNING(3),
|
/**
|
* <pre>
|
* 已暂停
|
* </pre>
|
*
|
* <code>TASK_PAUSED = 4;</code>
|
*/
|
TASK_PAUSED(4),
|
/**
|
* <pre>
|
* 停止中
|
* </pre>
|
*
|
* <code>TASK_STOPPING = 5;</code>
|
*/
|
TASK_STOPPING(5),
|
/**
|
* <pre>
|
* 已完成
|
* </pre>
|
*
|
* <code>TASK_COMPLETED = 6;</code>
|
*/
|
TASK_COMPLETED(6),
|
/**
|
* <pre>
|
* 执行失败
|
* </pre>
|
*
|
* <code>TASK_FAILED = 7;</code>
|
*/
|
TASK_FAILED(7),
|
/**
|
* <pre>
|
* 已取消
|
* </pre>
|
*
|
* <code>TASK_CANCELLED = 8;</code>
|
*/
|
TASK_CANCELLED(8),
|
UNRECOGNIZED(-1),
|
;
|
|
/**
|
* <pre>
|
* 未指定
|
* </pre>
|
*
|
* <code>TASK_RUNNING_STATUS_UNSPECIFIED = 0;</code>
|
*/
|
public static final int TASK_RUNNING_STATUS_UNSPECIFIED_VALUE = 0;
|
/**
|
* <pre>
|
* 空闲(任务已创建,未开始)
|
* </pre>
|
*
|
* <code>TASK_IDLE = 1;</code>
|
*/
|
public static final int TASK_IDLE_VALUE = 1;
|
/**
|
* <pre>
|
* 初始化中(准备运行环境)
|
* </pre>
|
*
|
* <code>TASK_INITIALIZING = 2;</code>
|
*/
|
public static final int TASK_INITIALIZING_VALUE = 2;
|
/**
|
* <pre>
|
* 运行中(正常执行)
|
* </pre>
|
*
|
* <code>TASK_RUNNING = 3;</code>
|
*/
|
public static final int TASK_RUNNING_VALUE = 3;
|
/**
|
* <pre>
|
* 已暂停
|
* </pre>
|
*
|
* <code>TASK_PAUSED = 4;</code>
|
*/
|
public static final int TASK_PAUSED_VALUE = 4;
|
/**
|
* <pre>
|
* 停止中
|
* </pre>
|
*
|
* <code>TASK_STOPPING = 5;</code>
|
*/
|
public static final int TASK_STOPPING_VALUE = 5;
|
/**
|
* <pre>
|
* 已完成
|
* </pre>
|
*
|
* <code>TASK_COMPLETED = 6;</code>
|
*/
|
public static final int TASK_COMPLETED_VALUE = 6;
|
/**
|
* <pre>
|
* 执行失败
|
* </pre>
|
*
|
* <code>TASK_FAILED = 7;</code>
|
*/
|
public static final int TASK_FAILED_VALUE = 7;
|
/**
|
* <pre>
|
* 已取消
|
* </pre>
|
*
|
* <code>TASK_CANCELLED = 8;</code>
|
*/
|
public static final int TASK_CANCELLED_VALUE = 8;
|
|
|
public final int getNumber() {
|
if (this == UNRECOGNIZED) {
|
throw new IllegalArgumentException(
|
"Can't get the number of an unknown enum value.");
|
}
|
return value;
|
}
|
|
/**
|
* @param value The numeric wire value of the corresponding enum entry.
|
* @return The enum associated with the given numeric wire value.
|
* @deprecated Use {@link #forNumber(int)} instead.
|
*/
|
@Deprecated
|
public static TaskRunningStatus valueOf(int value) {
|
return forNumber(value);
|
}
|
|
/**
|
* @param value The numeric wire value of the corresponding enum entry.
|
* @return The enum associated with the given numeric wire value.
|
*/
|
public static TaskRunningStatus forNumber(int value) {
|
switch (value) {
|
case 0: return TASK_RUNNING_STATUS_UNSPECIFIED;
|
case 1: return TASK_IDLE;
|
case 2: return TASK_INITIALIZING;
|
case 3: return TASK_RUNNING;
|
case 4: return TASK_PAUSED;
|
case 5: return TASK_STOPPING;
|
case 6: return TASK_COMPLETED;
|
case 7: return TASK_FAILED;
|
case 8: return TASK_CANCELLED;
|
default: return null;
|
}
|
}
|
|
public static com.google.protobuf.Internal.EnumLiteMap<TaskRunningStatus>
|
internalGetValueMap() {
|
return internalValueMap;
|
}
|
private static final com.google.protobuf.Internal.EnumLiteMap<
|
TaskRunningStatus> internalValueMap =
|
new com.google.protobuf.Internal.EnumLiteMap<TaskRunningStatus>() {
|
public TaskRunningStatus findValueByNumber(int number) {
|
return TaskRunningStatus.forNumber(number);
|
}
|
};
|
|
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
getValueDescriptor() {
|
if (this == UNRECOGNIZED) {
|
throw new IllegalStateException(
|
"Can't get the descriptor of an unrecognized enum value.");
|
}
|
return getDescriptor().getValues().get(ordinal());
|
}
|
public final com.google.protobuf.Descriptors.EnumDescriptor
|
getDescriptorForType() {
|
return getDescriptor();
|
}
|
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
getDescriptor() {
|
return RtTaskOuterClass.getDescriptor().getEnumTypes().get(1);
|
}
|
|
private static final TaskRunningStatus[] VALUES = values();
|
|
public static TaskRunningStatus valueOf(
|
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
if (desc.getType() != getDescriptor()) {
|
throw new IllegalArgumentException(
|
"EnumValueDescriptor is not for this type.");
|
}
|
if (desc.getIndex() == -1) {
|
return UNRECOGNIZED;
|
}
|
return VALUES[desc.getIndex()];
|
}
|
|
private final int value;
|
|
private TaskRunningStatus(int value) {
|
this.value = value;
|
}
|
|
// @@protoc_insertion_point(enum_scope:acm.proto.intelliservices.rt.TaskRunningStatus)
|
}
|