# SpeechTranslatorRequest.Builder


```
class SpeechTranslatorRequest.Builder
```

<br />

*** ** * ** ***

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

## Summary

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

| ### Public functions |
|---|---|
| `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/speechtranslation/SpeechTranslatorRequest` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/speechtranslation/SpeechTranslatorRequest.Builder#build()()` Builds the `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/speechtranslation/SpeechTranslatorRequest` instance. |

## Public constructors

### Builder

```
Builder(audioFlow: Flow<TranslationAudio>)
```

## Public functions

### build

```
fun build(): SpeechTranslatorRequest
```

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