Class TranscriptionSessionUpdate.Builder
-
- All Implemented Interfaces:
public final class TranscriptionSessionUpdate.Builder
A builder for TranscriptionSessionUpdate.
-
-
Method Summary
-
-
Method Detail
-
session
final TranscriptionSessionUpdate.Builder session(TranscriptionSessionUpdate.Session session)
Realtime transcription session object configuration.
-
session
final TranscriptionSessionUpdate.Builder session(JsonField<TranscriptionSessionUpdate.Session> session)
Sets Builder.session to an arbitrary JSON value.
You should usually call Builder.session with a well-typed Session value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final TranscriptionSessionUpdate.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("transcription_session.update")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
eventId
final TranscriptionSessionUpdate.Builder eventId(String eventId)
Optional client-generated ID used to identify this event.
-
eventId
final TranscriptionSessionUpdate.Builder eventId(JsonField<String> eventId)
Sets Builder.eventId to an arbitrary JSON value.
You should usually call Builder.eventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final TranscriptionSessionUpdate.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TranscriptionSessionUpdate.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TranscriptionSessionUpdate.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TranscriptionSessionUpdate.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TranscriptionSessionUpdate.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TranscriptionSessionUpdate build()
Returns an immutable instance of TranscriptionSessionUpdate.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.session()
-
-
-
-