Class InputAudioBufferTimeoutTriggered.Builder
-
- All Implemented Interfaces:
public final class InputAudioBufferTimeoutTriggered.Builder
A builder for InputAudioBufferTimeoutTriggered.
-
-
Method Summary
-
-
Method Detail
-
audioEndMs
final InputAudioBufferTimeoutTriggered.Builder audioEndMs(Long audioEndMs)
Millisecond offset of audio written to the input audio buffer at the time the timeout was triggered.
-
audioEndMs
final InputAudioBufferTimeoutTriggered.Builder audioEndMs(JsonField<Long> audioEndMs)
Sets Builder.audioEndMs to an arbitrary JSON value.
You should usually call Builder.audioEndMs with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
audioStartMs
final InputAudioBufferTimeoutTriggered.Builder audioStartMs(Long audioStartMs)
Millisecond offset of audio written to the input audio buffer that was after the playback time of the last model response.
-
audioStartMs
final InputAudioBufferTimeoutTriggered.Builder audioStartMs(JsonField<Long> audioStartMs)
Sets Builder.audioStartMs to an arbitrary JSON value.
You should usually call Builder.audioStartMs with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
eventId
final InputAudioBufferTimeoutTriggered.Builder eventId(String eventId)
The unique ID of the server event.
-
eventId
final InputAudioBufferTimeoutTriggered.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.
-
itemId
final InputAudioBufferTimeoutTriggered.Builder itemId(String itemId)
The ID of the item associated with this segment.
-
itemId
final InputAudioBufferTimeoutTriggered.Builder itemId(JsonField<String> itemId)
Sets Builder.itemId to an arbitrary JSON value.
You should usually call Builder.itemId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final InputAudioBufferTimeoutTriggered.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("input_audio_buffer.timeout_triggered")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InputAudioBufferTimeoutTriggered.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InputAudioBufferTimeoutTriggered.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InputAudioBufferTimeoutTriggered.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InputAudioBufferTimeoutTriggered.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InputAudioBufferTimeoutTriggered.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InputAudioBufferTimeoutTriggered build()
Returns an immutable instance of InputAudioBufferTimeoutTriggered.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.audioEndMs() .audioStartMs() .eventId() .itemId()
-
-
-
-