// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// source: rt_system.proto
|
|
package com.xiaopeng.api.vo.automaticPilot.protobuf;
|
|
/**
|
* <pre>
|
* L4功能能力枚举
|
* </pre>
|
*
|
* Protobuf enum {@code acm.proto.intelliservices.rt.L4CapabilityType}
|
*/
|
public enum L4CapabilityType
|
implements com.google.protobuf.ProtocolMessageEnum {
|
/**
|
* <pre>
|
* 无功能
|
* </pre>
|
*
|
* <code>NO_L4_CAPABILITY = 0;</code>
|
*/
|
NO_L4_CAPABILITY(0),
|
/**
|
* <pre>
|
* RT功能
|
* </pre>
|
*
|
* <code>RT = 1;</code>
|
*/
|
RT(1),
|
/**
|
* <pre>
|
* VPD功能
|
* </pre>
|
*
|
* <code>VPD = 2;</code>
|
*/
|
VPD(2),
|
UNRECOGNIZED(-1),
|
;
|
|
/**
|
* <pre>
|
* 无功能
|
* </pre>
|
*
|
* <code>NO_L4_CAPABILITY = 0;</code>
|
*/
|
public static final int NO_L4_CAPABILITY_VALUE = 0;
|
/**
|
* <pre>
|
* RT功能
|
* </pre>
|
*
|
* <code>RT = 1;</code>
|
*/
|
public static final int RT_VALUE = 1;
|
/**
|
* <pre>
|
* VPD功能
|
* </pre>
|
*
|
* <code>VPD = 2;</code>
|
*/
|
public static final int VPD_VALUE = 2;
|
|
|
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 L4CapabilityType 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 L4CapabilityType forNumber(int value) {
|
switch (value) {
|
case 0: return NO_L4_CAPABILITY;
|
case 1: return RT;
|
case 2: return VPD;
|
default: return null;
|
}
|
}
|
|
public static com.google.protobuf.Internal.EnumLiteMap<L4CapabilityType>
|
internalGetValueMap() {
|
return internalValueMap;
|
}
|
private static final com.google.protobuf.Internal.EnumLiteMap<
|
L4CapabilityType> internalValueMap =
|
new com.google.protobuf.Internal.EnumLiteMap<L4CapabilityType>() {
|
public L4CapabilityType findValueByNumber(int number) {
|
return L4CapabilityType.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 RtSystem.getDescriptor().getEnumTypes().get(1);
|
}
|
|
private static final L4CapabilityType[] VALUES = values();
|
|
public static L4CapabilityType 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 L4CapabilityType(int value) {
|
this.value = value;
|
}
|
|
// @@protoc_insertion_point(enum_scope:acm.proto.intelliservices.rt.L4CapabilityType)
|
}
|