// Generated by the protocol buffer compiler. DO NOT EDIT! // source: rt_msg_content.proto package com.xiaopeng.api.vo.automaticPilot.protobuf; /** *
* 定义source枚举 ** * Protobuf enum {@code acm.proto.intelliservices.rt.SourceType} */ public enum SourceType implements com.google.protobuf.ProtocolMessageEnum { /** *
SOURCE_UNKNOWN = 0;
*/
SOURCE_UNKNOWN(0),
/**
* CLOUD = 1;
*/
CLOUD(1),
/**
* CDU = 2;
*/
CDU(2),
/**
* XPU = 3;
*/
XPU(3),
UNRECOGNIZED(-1),
;
/**
* SOURCE_UNKNOWN = 0;
*/
public static final int SOURCE_UNKNOWN_VALUE = 0;
/**
* CLOUD = 1;
*/
public static final int CLOUD_VALUE = 1;
/**
* CDU = 2;
*/
public static final int CDU_VALUE = 2;
/**
* XPU = 3;
*/
public static final int XPU_VALUE = 3;
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 SourceType 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 SourceType forNumber(int value) {
switch (value) {
case 0: return SOURCE_UNKNOWN;
case 1: return CLOUD;
case 2: return CDU;
case 3: return XPU;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap