Class SpeechConfig
java.lang.Object
com.google.genai.gaos.models.interactions.SpeechConfig
SpeechConfig
The configuration for speech interaction.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SpeechConfig.Builderbuilder()booleaninthashCode()language()The language of the speech.speaker()The speaker's name, it should match the speaker name given in the prompt.toString()voice()The voice of the speaker.withLanguage(String language) The language of the speech.withSpeaker(String speaker) The speaker's name, it should match the speaker name given in the prompt.The voice of the speaker.
-
Constructor Details
-
SpeechConfig
-
SpeechConfig
public SpeechConfig()
-
-
Method Details
-
language
The language of the speech. -
speaker
The speaker's name, it should match the speaker name given in the prompt. -
voice
The voice of the speaker. -
builder
-
withLanguage
The language of the speech. -
withSpeaker
The speaker's name, it should match the speaker name given in the prompt. -
withVoice
The voice of the speaker. -
equals
-
hashCode
public int hashCode() -
toString
-