// Generated by the protocol buffer compiler. DO NOT EDIT! // source: rt_system.proto package com.xiaopeng.api.vo.automaticPilot.protobuf; /** *
* 服务可用性(Normal状态使用) ** * Protobuf enum {@code acm.proto.intelliservices.rt.ServiceAvailability} */ public enum ServiceAvailability implements com.google.protobuf.ProtocolMessageEnum { /** *
SERVICE_AVAILABILITY_UNSPECIFIED = 0;
*/
SERVICE_AVAILABILITY_UNSPECIFIED(0),
/**
* * Robotaxi可用 ** *
ROBOTAXI_AVAILABLE = 1;
*/
ROBOTAXI_AVAILABLE(1),
/**
* * VPD可用 ** *
VPD_AVAILABLE = 2;
*/
VPD_AVAILABLE(2),
UNRECOGNIZED(-1),
;
/**
* SERVICE_AVAILABILITY_UNSPECIFIED = 0;
*/
public static final int SERVICE_AVAILABILITY_UNSPECIFIED_VALUE = 0;
/**
* * Robotaxi可用 ** *
ROBOTAXI_AVAILABLE = 1;
*/
public static final int ROBOTAXI_AVAILABLE_VALUE = 1;
/**
* * VPD可用 ** *
VPD_AVAILABLE = 2;
*/
public static final int VPD_AVAILABLE_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 ServiceAvailability 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 ServiceAvailability forNumber(int value) {
switch (value) {
case 0: return SERVICE_AVAILABILITY_UNSPECIFIED;
case 1: return ROBOTAXI_AVAILABLE;
case 2: return VPD_AVAILABLE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap