Class AudioDelta
java.lang.Object
com.google.genai.gaos.models.interactions.AudioDelta
- All Implemented Interfaces:
StepDeltaData
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAudioDelta(Integer channels, String data, AudioDeltaMimeType mimeType, Integer rate, Integer sampleRate, String uri) -
Method Summary
Modifier and TypeMethodDescriptionstatic AudioDelta.Builderbuilder()channels()The number of audio channels.data()booleaninthashCode()mimeType()rate()Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The sample rate of the audio.toString()type()uri()withChannels(Integer channels) The number of audio channels.withMimeType(AudioDeltaMimeType mimeType) Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.withSampleRate(Integer sampleRate) The sample rate of the audio.
-
Constructor Details
-
AudioDelta
-
AudioDelta
public AudioDelta()
-
-
Method Details
-
channels
The number of audio channels. -
data
-
mimeType
-
rate
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Deprecated. Use sample_rate instead. The value is ignored. -
sampleRate
The sample rate of the audio. -
type
- Specified by:
typein interfaceStepDeltaData
-
uri
-
builder
-
withChannels
The number of audio channels. -
withData
-
withMimeType
-
withRate
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Deprecated. Use sample_rate instead. The value is ignored. -
withSampleRate
The sample rate of the audio. -
withUri
-
equals
-
hashCode
public int hashCode() -
toString
-