# ActionBuilders.LoadAction.Builder

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/ActionBuilders.java+class:androidx.wear.protolayout.ActionBuilders.LoadAction.Builder) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.0.0)

*** ** * ** ***


```
public final class ActionBuilders.LoadAction.Builder
```

<br />

*** ** * ** ***

Builder for `https://developer.android.com/reference/androidx/wear/protolayout/ActionBuilders.LoadAction`.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/wear/protolayout/ActionBuilders.LoadAction.Builder#Builder()()` Creates an instance of `https://developer.android.com/reference/androidx/wear/protolayout/ActionBuilders.LoadAction.Builder`. |

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/protolayout/ActionBuilders.LoadAction` | `https://developer.android.com/reference/androidx/wear/protolayout/ActionBuilders.LoadAction.Builder#build()()` Builds an instance from accumulated values. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/protolayout/ActionBuilders.LoadAction.Builder` | `@https://developer.android.com/reference/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 0) https://developer.android.com/reference/androidx/wear/protolayout/ActionBuilders.LoadAction.Builder#setRequestState(androidx.wear.protolayout.StateBuilders.State)(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/protolayout/StateBuilders.State requestState)` Sets the state to load the next layout with. |

## Public constructors

### Builder

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

```
public Builder()
```

Creates an instance of `https://developer.android.com/reference/androidx/wear/protolayout/ActionBuilders.LoadAction.Builder`.

## Public methods

### build

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

```
public @NonNull ActionBuilders.LoadAction build()
```

Builds an instance from accumulated values.

### setRequestState

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

```
@RequiresSchemaVersion(major = 1, minor = 0)
public @NonNull ActionBuilders.LoadAction.Builder setRequestState(@NonNull StateBuilders.State requestState)
```

Sets the state to load the next layout with. This will be included in the layout request sent after this action is invoked by a `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.Clickable`.