Class InputAudioBufferCommittedEvent.Builder
-
- All Implemented Interfaces:
public final class InputAudioBufferCommittedEvent.Builder
A builder for InputAudioBufferCommittedEvent.
-
-
Method Summary
-
-
Method Detail
-
eventId
final InputAudioBufferCommittedEvent.Builder eventId(String eventId)
The unique ID of the server event.
-
eventId
final InputAudioBufferCommittedEvent.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 InputAudioBufferCommittedEvent.Builder itemId(String itemId)
The ID of the user message item that will be created.
-
itemId
final InputAudioBufferCommittedEvent.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.
-
previousItemId
final InputAudioBufferCommittedEvent.Builder previousItemId(String previousItemId)
The ID of the preceding item after which the new item will be inserted.
-
previousItemId
final InputAudioBufferCommittedEvent.Builder previousItemId(JsonField<String> previousItemId)
Sets Builder.previousItemId to an arbitrary JSON value.
You should usually call Builder.previousItemId 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 InputAudioBufferCommittedEvent.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.committed")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InputAudioBufferCommittedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InputAudioBufferCommittedEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InputAudioBufferCommittedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InputAudioBufferCommittedEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InputAudioBufferCommittedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InputAudioBufferCommittedEvent build()
Returns an immutable instance of InputAudioBufferCommittedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.eventId() .itemId() .previousItemId()
-
-
-
-