Enum FailureDetails.ExternalDeps.Code
- java.lang.Object
-
- java.lang.Enum<FailureDetails.ExternalDeps.Code>
-
- com.google.devtools.build.lib.server.FailureDetails.ExternalDeps.Code
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<FailureDetails.ExternalDeps.Code>
- Enclosing class:
- FailureDetails.ExternalDeps
public static enum FailureDetails.ExternalDeps.Code extends java.lang.Enum<FailureDetails.ExternalDeps.Code> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumfailure_details.ExternalDeps.Code
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_MODULEBAD_MODULE = 2 [(.failure_details.metadata) = { ...ERROR_ACCESSING_REGISTRYERROR_ACCESSING_REGISTRY = 5 [(.failure_details.metadata) = { ...EXTERNAL_DEPS_UNKNOWNEXTERNAL_DEPS_UNKNOWN = 0 [(.failure_details.metadata) = { ...INVALID_REGISTRY_URLINVALID_REGISTRY_URL = 4 [(.failure_details.metadata) = { ...MODULE_NOT_FOUNDMODULE_NOT_FOUND = 1 [(.failure_details.metadata) = { ...UNRECOGNIZEDVERSION_RESOLUTION_ERRORVERSION_RESOLUTION_ERROR = 3 [(.failure_details.metadata) = { ...
-
Field Summary
Fields Modifier and Type Field Description static intBAD_MODULE_VALUEBAD_MODULE = 2 [(.failure_details.metadata) = { ...static intERROR_ACCESSING_REGISTRY_VALUEERROR_ACCESSING_REGISTRY = 5 [(.failure_details.metadata) = { ...static intEXTERNAL_DEPS_UNKNOWN_VALUEEXTERNAL_DEPS_UNKNOWN = 0 [(.failure_details.metadata) = { ...static intINVALID_REGISTRY_URL_VALUEINVALID_REGISTRY_URL = 4 [(.failure_details.metadata) = { ...static intMODULE_NOT_FOUND_VALUEMODULE_NOT_FOUND = 1 [(.failure_details.metadata) = { ...static intVERSION_RESOLUTION_ERROR_VALUEVERSION_RESOLUTION_ERROR = 3 [(.failure_details.metadata) = { ...
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FailureDetails.ExternalDeps.CodeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<FailureDetails.ExternalDeps.Code>internalGetValueMap()static FailureDetails.ExternalDeps.CodevalueOf(int value)Deprecated.static FailureDetails.ExternalDeps.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static FailureDetails.ExternalDeps.CodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FailureDetails.ExternalDeps.Code[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERNAL_DEPS_UNKNOWN
public static final FailureDetails.ExternalDeps.Code EXTERNAL_DEPS_UNKNOWN
EXTERNAL_DEPS_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
-
MODULE_NOT_FOUND
public static final FailureDetails.ExternalDeps.Code MODULE_NOT_FOUND
MODULE_NOT_FOUND = 1 [(.failure_details.metadata) = { ... }
-
BAD_MODULE
public static final FailureDetails.ExternalDeps.Code BAD_MODULE
BAD_MODULE = 2 [(.failure_details.metadata) = { ... }
-
VERSION_RESOLUTION_ERROR
public static final FailureDetails.ExternalDeps.Code VERSION_RESOLUTION_ERROR
VERSION_RESOLUTION_ERROR = 3 [(.failure_details.metadata) = { ... }
-
INVALID_REGISTRY_URL
public static final FailureDetails.ExternalDeps.Code INVALID_REGISTRY_URL
INVALID_REGISTRY_URL = 4 [(.failure_details.metadata) = { ... }
-
ERROR_ACCESSING_REGISTRY
public static final FailureDetails.ExternalDeps.Code ERROR_ACCESSING_REGISTRY
ERROR_ACCESSING_REGISTRY = 5 [(.failure_details.metadata) = { ... }
-
UNRECOGNIZED
public static final FailureDetails.ExternalDeps.Code UNRECOGNIZED
-
-
Field Detail
-
EXTERNAL_DEPS_UNKNOWN_VALUE
public static final int EXTERNAL_DEPS_UNKNOWN_VALUE
EXTERNAL_DEPS_UNKNOWN = 0 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
MODULE_NOT_FOUND_VALUE
public static final int MODULE_NOT_FOUND_VALUE
MODULE_NOT_FOUND = 1 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
BAD_MODULE_VALUE
public static final int BAD_MODULE_VALUE
BAD_MODULE = 2 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
VERSION_RESOLUTION_ERROR_VALUE
public static final int VERSION_RESOLUTION_ERROR_VALUE
VERSION_RESOLUTION_ERROR = 3 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
INVALID_REGISTRY_URL_VALUE
public static final int INVALID_REGISTRY_URL_VALUE
INVALID_REGISTRY_URL = 4 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
ERROR_ACCESSING_REGISTRY_VALUE
public static final int ERROR_ACCESSING_REGISTRY_VALUE
ERROR_ACCESSING_REGISTRY = 5 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FailureDetails.ExternalDeps.Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FailureDetails.ExternalDeps.Code c : FailureDetails.ExternalDeps.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FailureDetails.ExternalDeps.Code valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static FailureDetails.ExternalDeps.Code valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static FailureDetails.ExternalDeps.Code forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<FailureDetails.ExternalDeps.Code> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static FailureDetails.ExternalDeps.Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-