# CompilationMessageType

Artifact: [androidx.webgpu:webgpu](https://developer.android.com/jetpack/androidx/releases/webgpu) [View Source](https://cs.android.com/search?q=file:androidx/webgpu/CompilationMessageType.kt+class:androidx.webgpu.CompilationMessageType) Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

*** ** * ** ***


```
public final class CompilationMessageType
```

<br />

*** ** * ** ***

Specifies the severity of a shader compilation message.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/CompilationMessageType#Error() = 1` A compilation error. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/CompilationMessageType#Info() = 3` An informational message. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/CompilationMessageType#Warning() = 2` A compilation warning. |

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/webgpu/CompilationMessageType#toString(kotlin.Int)(int value)` |

## Constants

### Error

```
public static final int Error = 1
```

A compilation error.

### Info

```
public static final int Info = 3
```

An informational message.

### Warning

```
public static final int Warning = 2
```

A compilation warning.

## Public methods

### toString

Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
public static final @NonNull String toString(int value)
```