Package com.google.genai.types
Class Transcription.Builder
-
- All Implemented Interfaces:
public abstract class Transcription.BuilderBuilder for Transcription.
-
-
Constructor Summary
Constructors Constructor Description Transcription.Builder()
-
Method Summary
Modifier and Type Method Description abstract Transcription.Buildertext(String text)Setter for text. Transcription.BuilderclearText()Clears the value of text field. abstract Transcription.Builderfinished(boolean finished)Setter for finished. Transcription.BuilderclearFinished()Clears the value of finished field. abstract Transcriptionbuild()-
-
Method Detail
-
text
abstract Transcription.Builder text(String text)
Setter for text.
text: Optional. Transcription text.
-
clearText
@CanIgnoreReturnValue() Transcription.Builder clearText()
Clears the value of text field.
-
finished
abstract Transcription.Builder finished(boolean finished)
Setter for finished.
finished: Optional. The bool indicates the end of the transcription.
-
clearFinished
@CanIgnoreReturnValue() Transcription.Builder clearFinished()
Clears the value of finished field.
-
build
abstract Transcription build()
-
-
-
-