Class ResponseOutputAudio.Builder
-
- All Implemented Interfaces:
public final class ResponseOutputAudio.Builder
A builder for ResponseOutputAudio.
-
-
Method Summary
-
-
Method Detail
-
data
final ResponseOutputAudio.Builder data(String data)
Base64-encoded audio data from the model.
-
data
final ResponseOutputAudio.Builder data(JsonField<String> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
transcript
final ResponseOutputAudio.Builder transcript(String transcript)
The transcript of the audio data from the model.
-
transcript
final ResponseOutputAudio.Builder transcript(JsonField<String> transcript)
Sets Builder.transcript to an arbitrary JSON value.
You should usually call Builder.transcript 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 ResponseOutputAudio.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("output_audio")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseOutputAudio.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseOutputAudio.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseOutputAudio.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseOutputAudio.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseOutputAudio.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseOutputAudio build()
Returns an immutable instance of ResponseOutputAudio.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .transcript()
-
-
-
-