Package com.viam.service.navigation.v1
Enum Class Navigation.NavErrorCode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Navigation.NavErrorCode>,Constable
- Enclosing class:
Navigation
public static enum Navigation.NavErrorCode
extends Enum<Navigation.NavErrorCode>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.service.navigation.v1.NavErrorCode-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNAV_ERROR_CODE_BASE_ERROR = 4;NAV_ERROR_CODE_BLOCKED = 2;NAV_ERROR_CODE_LOCALIZATION_LOST = 3;NAV_ERROR_CODE_NO_PATH = 1;NAV_ERROR_CODE_OTHER = 6;NAV_ERROR_CODE_TIMEOUT = 5;NAV_ERROR_CODE_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNAV_ERROR_CODE_BASE_ERROR = 4;static final intNAV_ERROR_CODE_BLOCKED = 2;static final intNAV_ERROR_CODE_LOCALIZATION_LOST = 3;static final intNAV_ERROR_CODE_NO_PATH = 1;static final intNAV_ERROR_CODE_OTHER = 6;static final intNAV_ERROR_CODE_TIMEOUT = 5;static final intNAV_ERROR_CODE_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Navigation.NavErrorCodeforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<Navigation.NavErrorCode> static com.google.protobuf.Internal.EnumVerifierstatic Navigation.NavErrorCodevalueOf(int value) Deprecated.static Navigation.NavErrorCodeReturns the enum constant of this class with the specified name.static Navigation.NavErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAV_ERROR_CODE_UNSPECIFIED
NAV_ERROR_CODE_UNSPECIFIED = 0; -
NAV_ERROR_CODE_NO_PATH
NAV_ERROR_CODE_NO_PATH = 1; -
NAV_ERROR_CODE_BLOCKED
NAV_ERROR_CODE_BLOCKED = 2; -
NAV_ERROR_CODE_LOCALIZATION_LOST
NAV_ERROR_CODE_LOCALIZATION_LOST = 3; -
NAV_ERROR_CODE_BASE_ERROR
NAV_ERROR_CODE_BASE_ERROR = 4; -
NAV_ERROR_CODE_TIMEOUT
NAV_ERROR_CODE_TIMEOUT = 5; -
NAV_ERROR_CODE_OTHER
NAV_ERROR_CODE_OTHER = 6; -
UNRECOGNIZED
-
-
Field Details
-
NAV_ERROR_CODE_UNSPECIFIED_VALUE
public static final int NAV_ERROR_CODE_UNSPECIFIED_VALUENAV_ERROR_CODE_UNSPECIFIED = 0;- See Also:
-
NAV_ERROR_CODE_NO_PATH_VALUE
public static final int NAV_ERROR_CODE_NO_PATH_VALUENAV_ERROR_CODE_NO_PATH = 1;- See Also:
-
NAV_ERROR_CODE_BLOCKED_VALUE
public static final int NAV_ERROR_CODE_BLOCKED_VALUENAV_ERROR_CODE_BLOCKED = 2;- See Also:
-
NAV_ERROR_CODE_LOCALIZATION_LOST_VALUE
public static final int NAV_ERROR_CODE_LOCALIZATION_LOST_VALUENAV_ERROR_CODE_LOCALIZATION_LOST = 3;- See Also:
-
NAV_ERROR_CODE_BASE_ERROR_VALUE
public static final int NAV_ERROR_CODE_BASE_ERROR_VALUENAV_ERROR_CODE_BASE_ERROR = 4;- See Also:
-
NAV_ERROR_CODE_TIMEOUT_VALUE
public static final int NAV_ERROR_CODE_TIMEOUT_VALUENAV_ERROR_CODE_TIMEOUT = 5;- See Also:
-
NAV_ERROR_CODE_OTHER_VALUE
public static final int NAV_ERROR_CODE_OTHER_VALUENAV_ERROR_CODE_OTHER = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Navigation.NavErrorCode> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-