Class AudioContent.Builder
java.lang.Object
com.google.genai.gaos.models.interactions.AudioContent.Builder
- Enclosing class:
- AudioContent
-
Method Summary
Modifier and TypeMethodDescriptionbuild()The number of audio channels.The audio content.mimeType(AudioContentMimeType mimeType) The mime type of the audio.processing(AudioProcessing processing) How the model processes this audio for understanding.sampleRate(Integer sampleRate) The sample rate of the audio.The URI of the audio.
-
Method Details
-
channels
The number of audio channels. -
data
The audio content. -
mimeType
The mime type of the audio. -
processing
How the model processes this audio for understanding. -
sampleRate
The sample rate of the audio. -
uri
The URI of the audio. -
build
-