Enum FailureDetails.StarlarkLoading.Code

    • Field Detail

      • STARLARK_LOADING_UNKNOWN_VALUE

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

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

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

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

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

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

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

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

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

        public static final int BUILTINS_ERROR_VALUE
        BUILTINS_ERROR = 9 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static FailureDetails.StarlarkLoading.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.StarlarkLoading.Code c : FailureDetails.StarlarkLoading.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.StarlarkLoading.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 name
        java.lang.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 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 name
        java.lang.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.
      • 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 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 name
        java.lang.NullPointerException - if the argument is null