Package com.google.genai.types
Class Transcription.Builder
java.lang.Object
com.google.genai.types.Transcription.Builder
- Enclosing class:
- Transcription
Builder for Transcription.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Transcriptionbuild()Clears the value of finished field.Clears the value of languageCode field.Clears the value of text field.abstract Transcription.Builderfinished(boolean finished) Setter for finished.abstract Transcription.BuilderlanguageCode(String languageCode) Setter for languageCode.abstract Transcription.BuilderSetter for text.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
text
Setter for text.text: Optional. Transcription text.
-
clearText
Clears the value of text field. -
finished
Setter for finished.finished: Optional. The bool indicates the end of the transcription.
-
clearFinished
Clears the value of finished field. -
languageCode
Setter for languageCode.languageCode: The BCP-47 language code of the transcription.
-
clearLanguageCode
Clears the value of languageCode field. -
build
-