Enum Class FailureDetails.StarlarkLoading.Code

java.lang.Object
java.lang.Enum<FailureDetails.StarlarkLoading.Code>
com.google.devtools.build.lib.server.FailureDetails.StarlarkLoading.Code
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<FailureDetails.StarlarkLoading.Code>, Constable
Enclosing class:
FailureDetails.StarlarkLoading

public static enum FailureDetails.StarlarkLoading.Code extends Enum<FailureDetails.StarlarkLoading.Code> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum failure_details.StarlarkLoading.Code
  • Enum Constant Details

  • Field Details

    • STARLARK_LOADING_UNKNOWN_VALUE

      public static final int STARLARK_LOADING_UNKNOWN_VALUE
      STARLARK_LOADING_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
      See Also:
    • CYCLE_VALUE

      public static final int CYCLE_VALUE
      CYCLE = 1 [(.failure_details.metadata) = { ... }
      See Also:
    • COMPILE_ERROR_VALUE

      public static final int COMPILE_ERROR_VALUE
      COMPILE_ERROR = 2 [(.failure_details.metadata) = { ... }
      See Also:
    • PARSE_ERROR_VALUE

      public static final int PARSE_ERROR_VALUE
      PARSE_ERROR = 3 [(.failure_details.metadata) = { ... }
      See Also:
    • EVAL_ERROR_VALUE

      public static final int EVAL_ERROR_VALUE
      EVAL_ERROR = 4 [(.failure_details.metadata) = { ... }
      See Also:
    • CONTAINING_PACKAGE_NOT_FOUND_VALUE

      public static final int CONTAINING_PACKAGE_NOT_FOUND_VALUE
      CONTAINING_PACKAGE_NOT_FOUND = 5 [(.failure_details.metadata) = { ... }
      See Also:
    • PACKAGE_NOT_FOUND_VALUE

      public static final int PACKAGE_NOT_FOUND_VALUE
      PACKAGE_NOT_FOUND = 6 [(.failure_details.metadata) = { ... }
      See Also:
    • IO_ERROR_VALUE

      public static final int IO_ERROR_VALUE
      IO_ERROR = 7 [(.failure_details.metadata) = { ... }
      See Also:
    • LABEL_CROSSES_PACKAGE_BOUNDARY_VALUE

      public static final int LABEL_CROSSES_PACKAGE_BOUNDARY_VALUE
      LABEL_CROSSES_PACKAGE_BOUNDARY = 8 [(.failure_details.metadata) = { ... }
      See Also:
    • BUILTINS_ERROR_VALUE

      public static final int BUILTINS_ERROR_VALUE
      BUILTINS_ERROR = 9 [(.failure_details.metadata) = { ... }
      See Also:
    • VISIBILITY_ERROR_VALUE

      public static final int VISIBILITY_ERROR_VALUE
      VISIBILITY_ERROR = 10 [(.failure_details.metadata) = { ... }
      See Also:
  • Method Details

    • values

      public static FailureDetails.StarlarkLoading.Code[] 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

      public static FailureDetails.StarlarkLoading.Code valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static FailureDetails.StarlarkLoading.Code valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static FailureDetails.StarlarkLoading.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.StarlarkLoading.Code> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static FailureDetails.StarlarkLoading.Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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:
      desc - 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 name
      NullPointerException - if the argument is null