# GPUCompilationInfo.Builder

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

*** ** * ** ***


```
class GPUCompilationInfo.Builder
```

<br />

*** ** * ** ***

Builder for `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompilationInfo`.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompilationInfo.Builder#Builder()()` |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompilationInfo` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompilationInfo.Builder#build()()` Builds the `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompilationInfo`. |
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompilationInfo.Builder` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompilationInfo.Builder#setMessages(kotlin.Array)(messages: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompilationMessage>)` |

## Public constructors

### Builder

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

```
Builder()
```

## Public functions

### build

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

```
fun build(): GPUCompilationInfo
```

Builds the `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCompilationInfo`.

### setMessages

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

```
fun setMessages(messages: Array<GPUCompilationMessage>): GPUCompilationInfo.Builder
```