Class RealtimeSessionCreateResponse.Audio.Output.Builder
-
- All Implemented Interfaces:
public final class RealtimeSessionCreateResponse.Audio.Output.Builder
A builder for Output.
-
-
Method Summary
-
-
Method Detail
-
format
final RealtimeSessionCreateResponse.Audio.Output.Builder format(String format)
The format of output audio. Options are
pcm16
,g711_ulaw
, org711_alaw
.
-
format
final RealtimeSessionCreateResponse.Audio.Output.Builder format(JsonField<String> format)
Sets Builder.format to an arbitrary JSON value.
You should usually call Builder.format with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
speed
final RealtimeSessionCreateResponse.Audio.Output.Builder speed(Double speed)
-
speed
final RealtimeSessionCreateResponse.Audio.Output.Builder speed(JsonField<Double> speed)
Sets Builder.speed to an arbitrary JSON value.
You should usually call Builder.speed with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
voice
final RealtimeSessionCreateResponse.Audio.Output.Builder voice(RealtimeSessionCreateResponse.Audio.Output.Voice voice)
-
voice
final RealtimeSessionCreateResponse.Audio.Output.Builder voice(JsonField<RealtimeSessionCreateResponse.Audio.Output.Voice> voice)
Sets Builder.voice to an arbitrary JSON value.
You should usually call Builder.voice with a well-typed Voice value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
voice
final RealtimeSessionCreateResponse.Audio.Output.Builder voice(String value)
Sets voice to an arbitrary String.
You should usually call voice with a well-typed Voice constant instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RealtimeSessionCreateResponse.Audio.Output.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RealtimeSessionCreateResponse.Audio.Output.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RealtimeSessionCreateResponse.Audio.Output.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RealtimeSessionCreateResponse.Audio.Output.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RealtimeSessionCreateResponse.Audio.Output.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RealtimeSessionCreateResponse.Audio.Output build()
Returns an immutable instance of Output.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-