// Generated by the protocol buffer compiler. DO NOT EDIT! // source: rt_common.proto package com.xiaopeng.api.vo.automaticPilot.protobuf; /** *
* 导航点类型 ** * Protobuf enum {@code acm.proto.intelliservices.rt.PointType} */ public enum PointType implements com.google.protobuf.ProtocolMessageEnum { /** *
POINT_TYPE_UNSPECIFIED = 0;
*/
POINT_TYPE_UNSPECIFIED(0),
/**
* * 起点 ** *
START_POINT = 1;
*/
START_POINT(1),
/**
* * 途经点 ** *
WAY_POINT = 2;
*/
WAY_POINT(2),
/**
* * 终点(导航终点) ** *
END_POINT = 3;
*/
END_POINT(3),
/**
* * 上车点(导航终点) ** *
PICK_UP_POINT = 4;
*/
PICK_UP_POINT(4),
/**
* * 巡游终点 ** *
CRUISE_END_POINT = 5;
*/
CRUISE_END_POINT(5),
UNRECOGNIZED(-1),
;
/**
* POINT_TYPE_UNSPECIFIED = 0;
*/
public static final int POINT_TYPE_UNSPECIFIED_VALUE = 0;
/**
* * 起点 ** *
START_POINT = 1;
*/
public static final int START_POINT_VALUE = 1;
/**
* * 途经点 ** *
WAY_POINT = 2;
*/
public static final int WAY_POINT_VALUE = 2;
/**
* * 终点(导航终点) ** *
END_POINT = 3;
*/
public static final int END_POINT_VALUE = 3;
/**
* * 上车点(导航终点) ** *
PICK_UP_POINT = 4;
*/
public static final int PICK_UP_POINT_VALUE = 4;
/**
* * 巡游终点 ** *
CRUISE_END_POINT = 5;
*/
public static final int CRUISE_END_POINT_VALUE = 5;
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 PointType 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 PointType forNumber(int value) {
switch (value) {
case 0: return POINT_TYPE_UNSPECIFIED;
case 1: return START_POINT;
case 2: return WAY_POINT;
case 3: return END_POINT;
case 4: return PICK_UP_POINT;
case 5: return CRUISE_END_POINT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap