Package com.google.genai.types
Class Transcription
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.Transcription
Audio transcription in Server Conent.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Transcription.Builder
builder()
Instantiates a builder for Transcription.finished()
The bool indicates the end of the transcription.static Transcription
Deserializes a JSON string to a Transcription object.text()
Transcription text.abstract Transcription.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
Transcription
public Transcription()
-
-
Method Details
-
text
Transcription text. -
finished
The bool indicates the end of the transcription. -
builder
Instantiates a builder for Transcription. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a Transcription object.
-