Package com.google.genai.types
Class AudioTranscriptionConfig.Builder
java.lang.Object
com.google.genai.types.AudioTranscriptionConfig.Builder
- Enclosing class:
- AudioTranscriptionConfig
Builder for AudioTranscriptionConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AudioTranscriptionConfigbuild()Clears the value of languageCodes field.languageCodes(String... languageCodes) Setter for languageCodes.abstract AudioTranscriptionConfig.BuilderlanguageCodes(List<String> languageCodes) Setter for languageCodes.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
languageCodes
Setter for languageCodes.languageCodes: The language codes of the audio. BCP-47 language code. If not set, the transcription will be in the language detected by the model. If set, the server will use the language code specified in the model config as a hint for the language of the audio
-
languageCodes
@CanIgnoreReturnValue public AudioTranscriptionConfig.Builder languageCodes(String... languageCodes) Setter for languageCodes.languageCodes: The language codes of the audio. BCP-47 language code. If not set, the transcription will be in the language detected by the model. If set, the server will use the language code specified in the model config as a hint for the language of the audio
-
clearLanguageCodes
Clears the value of languageCodes field. -
build
-