Class ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder
-
- All Implemented Interfaces:
public final class ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder
A builder for Input.
-
-
Method Summary
-
-
Method Detail
-
format
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder format(String format)
The format of input audio. Options are
pcm16
,g711_ulaw
, org711_alaw
.
-
format
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.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.
-
noiseReduction
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder noiseReduction(ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.NoiseReduction noiseReduction)
Configuration for input audio noise reduction.
-
noiseReduction
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder noiseReduction(JsonField<ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.NoiseReduction> noiseReduction)
Sets Builder.noiseReduction to an arbitrary JSON value.
You should usually call Builder.noiseReduction with a well-typed NoiseReduction value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
transcription
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder transcription(ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Transcription transcription)
Configuration of the transcription model.
-
transcription
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder transcription(JsonField<ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Transcription> transcription)
Sets Builder.transcription to an arbitrary JSON value.
You should usually call Builder.transcription with a well-typed Transcription value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
turnDetection
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder turnDetection(ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.TurnDetection turnDetection)
Configuration for turn detection.
-
turnDetection
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder turnDetection(JsonField<ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.TurnDetection> turnDetection)
Sets Builder.turnDetection to an arbitrary JSON value.
You should usually call Builder.turnDetection with a well-typed TurnDetection value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio.Input build()
Returns an immutable instance of Input.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-