// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rt_msg_content.proto
package com.xiaopeng.api.vo.automaticPilot.protobuf;
/**
* Protobuf enum {@code acm.proto.intelliservices.rt.StatusCode}
*/
public enum StatusCode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* HTTP_STATUS_CODE_UNSPECIFIED = 0;
*/
HTTP_STATUS_CODE_UNSPECIFIED(0),
/**
*
* 成功 ** *
OK = 200;
*/
OK(200),
/**
* *请求参数错误 ** *
BAD_REQUEST = 400;
*/
BAD_REQUEST(400),
/**
* FORBIDDEN = 403;
*/
FORBIDDEN(403),
/**
* NOT_FOUND = 404;
*/
NOT_FOUND(404),
/**
* *请求超时 ** *
REQUEST_TIMEOUT = 408;
*/
REQUEST_TIMEOUT(408),
/**
* * 失败 ** *
INTERNAL_SERVER_ERROR = 500;
*/
INTERNAL_SERVER_ERROR(500),
UNRECOGNIZED(-1),
;
/**
* HTTP_STATUS_CODE_UNSPECIFIED = 0;
*/
public static final int HTTP_STATUS_CODE_UNSPECIFIED_VALUE = 0;
/**
* * 成功 ** *
OK = 200;
*/
public static final int OK_VALUE = 200;
/**
* *请求参数错误 ** *
BAD_REQUEST = 400;
*/
public static final int BAD_REQUEST_VALUE = 400;
/**
* FORBIDDEN = 403;
*/
public static final int FORBIDDEN_VALUE = 403;
/**
* NOT_FOUND = 404;
*/
public static final int NOT_FOUND_VALUE = 404;
/**
* *请求超时 ** *
REQUEST_TIMEOUT = 408;
*/
public static final int REQUEST_TIMEOUT_VALUE = 408;
/**
* * 失败 ** *
INTERNAL_SERVER_ERROR = 500;
*/
public static final int INTERNAL_SERVER_ERROR_VALUE = 500;
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 StatusCode 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 StatusCode forNumber(int value) {
switch (value) {
case 0: return HTTP_STATUS_CODE_UNSPECIFIED;
case 200: return OK;
case 400: return BAD_REQUEST;
case 403: return FORBIDDEN;
case 404: return NOT_FOUND;
case 408: return REQUEST_TIMEOUT;
case 500: return INTERNAL_SERVER_ERROR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap