// 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 internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< PointType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PointType findValueByNumber(int number) { return PointType.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 RtCommon.getDescriptor().getEnumTypes().get(2); } private static final PointType[] VALUES = values(); public static PointType 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 PointType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:acm.proto.intelliservices.rt.PointType) }