# SpeechTranslatorRequest.Builder


```
public final class SpeechTranslatorRequest.Builder
```

<br />

*** ** * ** ***

Builder for `https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslatorRequest`.

## Summary

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslatorRequest.Builder#Builder(kotlinx.coroutines.flow.Flow)(@https://developer.android.com/reference/androidx/annotation/NonNull.html https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/TranslationAudio> audioFlow)` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslatorRequest` | `https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslatorRequest.Builder#build()()` Builds the `https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslatorRequest` instance. |

## Public constructors

### Builder

```
public Builder(@NonNull Flow<@NonNull TranslationAudio> audioFlow)
```

## Public methods

### build

```
public final @NonNull SpeechTranslatorRequest build()
```

Builds the `https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslatorRequest` instance.