// Generated by the protocol buffer compiler. DO NOT EDIT!
|
// source: rt_order.proto
|
|
package com.xiaopeng.api.vo.automaticPilot.protobuf;
|
|
/**
|
* <pre>
|
* 订单状态枚举
|
* </pre>
|
*
|
* Protobuf enum {@code acm.proto.intelliservices.rt.OrderStatus}
|
*/
|
public enum OrderStatus
|
implements com.google.protobuf.ProtocolMessageEnum {
|
/**
|
* <pre>
|
* 未指定
|
* </pre>
|
*
|
* <code>ORDER_STATUS_UNSPECIFIED = 0;</code>
|
*/
|
ORDER_STATUS_UNSPECIFIED(0),
|
/**
|
* <pre>
|
* 收到订单
|
* </pre>
|
*
|
* <code>ORDER_RECEIVED = 1;</code>
|
*/
|
ORDER_RECEIVED(1),
|
/**
|
* <pre>
|
* 开始执行订单
|
* </pre>
|
*
|
* <code>ORDER_STARTED = 2;</code>
|
*/
|
ORDER_STARTED(2),
|
/**
|
* <pre>
|
* 前往上车点
|
* </pre>
|
*
|
* <code>ORDER_EN_ROUTE_TO_PICKUP = 3;</code>
|
*/
|
ORDER_EN_ROUTE_TO_PICKUP(3),
|
/**
|
* <pre>
|
* 到达上车点
|
* </pre>
|
*
|
* <code>ORDER_ARRIVED_AT_PICKUP = 4;</code>
|
*/
|
ORDER_ARRIVED_AT_PICKUP(4),
|
/**
|
* <pre>
|
* 等待乘客上车
|
* </pre>
|
*
|
* <code>ORDER_WAITING_FOR_PICKUP = 5;</code>
|
*/
|
ORDER_WAITING_FOR_PICKUP(5),
|
/**
|
* <pre>
|
* 乘客已上车
|
* </pre>
|
*
|
* <code>ORDER_PASSENGER_ONBOARD = 6;</code>
|
*/
|
ORDER_PASSENGER_ONBOARD(6),
|
/**
|
* <pre>
|
* 前往目的地
|
* </pre>
|
*
|
* <code>ORDER_EN_ROUTE_TO_DESTINATION = 7;</code>
|
*/
|
ORDER_EN_ROUTE_TO_DESTINATION(7),
|
/**
|
* <pre>
|
* 到达目的地
|
* </pre>
|
*
|
* <code>ORDER_ARRIVED_AT_DESTINATION = 8;</code>
|
*/
|
ORDER_ARRIVED_AT_DESTINATION(8),
|
/**
|
* <pre>
|
* 等待乘客下车
|
* </pre>
|
*
|
* <code>ORDER_WAITING_FOR_DROPOFF = 9;</code>
|
*/
|
ORDER_WAITING_FOR_DROPOFF(9),
|
/**
|
* <pre>
|
* 下车完成
|
* </pre>
|
*
|
* <code>ORDER_DROPOFF_COMPLETED = 10;</code>
|
*/
|
ORDER_DROPOFF_COMPLETED(10),
|
/**
|
* <pre>
|
* 已完成
|
* </pre>
|
*
|
* <code>ORDER_COMPLETED = 11;</code>
|
*/
|
ORDER_COMPLETED(11),
|
/**
|
* <pre>
|
* 已取消
|
* </pre>
|
*
|
* <code>ORDER_CANCELLED = 12;</code>
|
*/
|
ORDER_CANCELLED(12),
|
/**
|
* <pre>
|
* 到达巡游终点
|
* </pre>
|
*
|
* <code>ORDER_ARRIVED_AT_CRUISE_DESTINATION = 13;</code>
|
*/
|
ORDER_ARRIVED_AT_CRUISE_DESTINATION(13),
|
/**
|
* <pre>
|
* 订单暂停
|
* </pre>
|
*
|
* <code>ORDER_PAUSED = 14;</code>
|
*/
|
ORDER_PAUSED(14),
|
UNRECOGNIZED(-1),
|
;
|
|
/**
|
* <pre>
|
* 未指定
|
* </pre>
|
*
|
* <code>ORDER_STATUS_UNSPECIFIED = 0;</code>
|
*/
|
public static final int ORDER_STATUS_UNSPECIFIED_VALUE = 0;
|
/**
|
* <pre>
|
* 收到订单
|
* </pre>
|
*
|
* <code>ORDER_RECEIVED = 1;</code>
|
*/
|
public static final int ORDER_RECEIVED_VALUE = 1;
|
/**
|
* <pre>
|
* 开始执行订单
|
* </pre>
|
*
|
* <code>ORDER_STARTED = 2;</code>
|
*/
|
public static final int ORDER_STARTED_VALUE = 2;
|
/**
|
* <pre>
|
* 前往上车点
|
* </pre>
|
*
|
* <code>ORDER_EN_ROUTE_TO_PICKUP = 3;</code>
|
*/
|
public static final int ORDER_EN_ROUTE_TO_PICKUP_VALUE = 3;
|
/**
|
* <pre>
|
* 到达上车点
|
* </pre>
|
*
|
* <code>ORDER_ARRIVED_AT_PICKUP = 4;</code>
|
*/
|
public static final int ORDER_ARRIVED_AT_PICKUP_VALUE = 4;
|
/**
|
* <pre>
|
* 等待乘客上车
|
* </pre>
|
*
|
* <code>ORDER_WAITING_FOR_PICKUP = 5;</code>
|
*/
|
public static final int ORDER_WAITING_FOR_PICKUP_VALUE = 5;
|
/**
|
* <pre>
|
* 乘客已上车
|
* </pre>
|
*
|
* <code>ORDER_PASSENGER_ONBOARD = 6;</code>
|
*/
|
public static final int ORDER_PASSENGER_ONBOARD_VALUE = 6;
|
/**
|
* <pre>
|
* 前往目的地
|
* </pre>
|
*
|
* <code>ORDER_EN_ROUTE_TO_DESTINATION = 7;</code>
|
*/
|
public static final int ORDER_EN_ROUTE_TO_DESTINATION_VALUE = 7;
|
/**
|
* <pre>
|
* 到达目的地
|
* </pre>
|
*
|
* <code>ORDER_ARRIVED_AT_DESTINATION = 8;</code>
|
*/
|
public static final int ORDER_ARRIVED_AT_DESTINATION_VALUE = 8;
|
/**
|
* <pre>
|
* 等待乘客下车
|
* </pre>
|
*
|
* <code>ORDER_WAITING_FOR_DROPOFF = 9;</code>
|
*/
|
public static final int ORDER_WAITING_FOR_DROPOFF_VALUE = 9;
|
/**
|
* <pre>
|
* 下车完成
|
* </pre>
|
*
|
* <code>ORDER_DROPOFF_COMPLETED = 10;</code>
|
*/
|
public static final int ORDER_DROPOFF_COMPLETED_VALUE = 10;
|
/**
|
* <pre>
|
* 已完成
|
* </pre>
|
*
|
* <code>ORDER_COMPLETED = 11;</code>
|
*/
|
public static final int ORDER_COMPLETED_VALUE = 11;
|
/**
|
* <pre>
|
* 已取消
|
* </pre>
|
*
|
* <code>ORDER_CANCELLED = 12;</code>
|
*/
|
public static final int ORDER_CANCELLED_VALUE = 12;
|
/**
|
* <pre>
|
* 到达巡游终点
|
* </pre>
|
*
|
* <code>ORDER_ARRIVED_AT_CRUISE_DESTINATION = 13;</code>
|
*/
|
public static final int ORDER_ARRIVED_AT_CRUISE_DESTINATION_VALUE = 13;
|
/**
|
* <pre>
|
* 订单暂停
|
* </pre>
|
*
|
* <code>ORDER_PAUSED = 14;</code>
|
*/
|
public static final int ORDER_PAUSED_VALUE = 14;
|
|
|
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 OrderStatus 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 OrderStatus forNumber(int value) {
|
switch (value) {
|
case 0: return ORDER_STATUS_UNSPECIFIED;
|
case 1: return ORDER_RECEIVED;
|
case 2: return ORDER_STARTED;
|
case 3: return ORDER_EN_ROUTE_TO_PICKUP;
|
case 4: return ORDER_ARRIVED_AT_PICKUP;
|
case 5: return ORDER_WAITING_FOR_PICKUP;
|
case 6: return ORDER_PASSENGER_ONBOARD;
|
case 7: return ORDER_EN_ROUTE_TO_DESTINATION;
|
case 8: return ORDER_ARRIVED_AT_DESTINATION;
|
case 9: return ORDER_WAITING_FOR_DROPOFF;
|
case 10: return ORDER_DROPOFF_COMPLETED;
|
case 11: return ORDER_COMPLETED;
|
case 12: return ORDER_CANCELLED;
|
case 13: return ORDER_ARRIVED_AT_CRUISE_DESTINATION;
|
case 14: return ORDER_PAUSED;
|
default: return null;
|
}
|
}
|
|
public static com.google.protobuf.Internal.EnumLiteMap<OrderStatus>
|
internalGetValueMap() {
|
return internalValueMap;
|
}
|
private static final com.google.protobuf.Internal.EnumLiteMap<
|
OrderStatus> internalValueMap =
|
new com.google.protobuf.Internal.EnumLiteMap<OrderStatus>() {
|
public OrderStatus findValueByNumber(int number) {
|
return OrderStatus.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 RtOrder.getDescriptor().getEnumTypes().get(2);
|
}
|
|
private static final OrderStatus[] VALUES = values();
|
|
public static OrderStatus 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 OrderStatus(int value) {
|
this.value = value;
|
}
|
|
// @@protoc_insertion_point(enum_scope:acm.proto.intelliservices.rt.OrderStatus)
|
}
|