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