Package com.openai.models
Class MessageContentDelta
-
- All Implemented Interfaces:
public final class MessageContentDeltaReferences an image File in the content of a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceMessageContentDelta.Visitorpublic final classMessageContentDelta.Deserializerpublic final classMessageContentDelta.Serializer
-
Method Summary
Modifier and Type Method Description final Optional<ImageFileDeltaBlock>imageFileDeltaBlock()References an image File in the content of a message. final Optional<TextDeltaBlock>textDeltaBlock()The text content that is part of a message. final Optional<RefusalDeltaBlock>refusalDeltaBlock()The refusal content that is part of a message. final Optional<ImageUrlDeltaBlock>imageUrlDeltaBlock()References an image URL in the content of a message. final BooleanisImageFileDeltaBlock()final BooleanisTextDeltaBlock()final BooleanisRefusalDeltaBlock()final BooleanisImageUrlDeltaBlock()final ImageFileDeltaBlockasImageFileDeltaBlock()References an image File in the content of a message. final TextDeltaBlockasTextDeltaBlock()The text content that is part of a message. final RefusalDeltaBlockasRefusalDeltaBlock()The refusal content that is part of a message. final ImageUrlDeltaBlockasImageUrlDeltaBlock()References an image URL in the content of a message. final Optional<JsonValue>_json()final <T extends Any> Taccept(MessageContentDelta.Visitor<T> visitor)final MessageContentDeltavalidate()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageContentDeltaofImageFileDeltaBlock(ImageFileDeltaBlock imageFileDeltaBlock)References an image File in the content of a message. final static MessageContentDeltaofTextDeltaBlock(TextDeltaBlock textDeltaBlock)The text content that is part of a message. final static MessageContentDeltaofRefusalDeltaBlock(RefusalDeltaBlock refusalDeltaBlock)The refusal content that is part of a message. final static MessageContentDeltaofImageUrlDeltaBlock(ImageUrlDeltaBlock imageUrlDeltaBlock)References an image URL in the content of a message. -
-
Method Detail
-
imageFileDeltaBlock
final Optional<ImageFileDeltaBlock> imageFileDeltaBlock()
References an image File in the content of a message.
-
textDeltaBlock
final Optional<TextDeltaBlock> textDeltaBlock()
The text content that is part of a message.
-
refusalDeltaBlock
final Optional<RefusalDeltaBlock> refusalDeltaBlock()
The refusal content that is part of a message.
-
imageUrlDeltaBlock
final Optional<ImageUrlDeltaBlock> imageUrlDeltaBlock()
References an image URL in the content of a message.
-
isImageFileDeltaBlock
final Boolean isImageFileDeltaBlock()
-
isTextDeltaBlock
final Boolean isTextDeltaBlock()
-
isRefusalDeltaBlock
final Boolean isRefusalDeltaBlock()
-
isImageUrlDeltaBlock
final Boolean isImageUrlDeltaBlock()
-
asImageFileDeltaBlock
final ImageFileDeltaBlock asImageFileDeltaBlock()
References an image File in the content of a message.
-
asTextDeltaBlock
final TextDeltaBlock asTextDeltaBlock()
The text content that is part of a message.
-
asRefusalDeltaBlock
final RefusalDeltaBlock asRefusalDeltaBlock()
The refusal content that is part of a message.
-
asImageUrlDeltaBlock
final ImageUrlDeltaBlock asImageUrlDeltaBlock()
References an image URL in the content of a message.
-
accept
final <T extends Any> T accept(MessageContentDelta.Visitor<T> visitor)
-
validate
final MessageContentDelta validate()
-
ofImageFileDeltaBlock
final static MessageContentDelta ofImageFileDeltaBlock(ImageFileDeltaBlock imageFileDeltaBlock)
References an image File in the content of a message.
-
ofTextDeltaBlock
final static MessageContentDelta ofTextDeltaBlock(TextDeltaBlock textDeltaBlock)
The text content that is part of a message.
-
ofRefusalDeltaBlock
final static MessageContentDelta ofRefusalDeltaBlock(RefusalDeltaBlock refusalDeltaBlock)
The refusal content that is part of a message.
-
ofImageUrlDeltaBlock
final static MessageContentDelta ofImageUrlDeltaBlock(ImageUrlDeltaBlock imageUrlDeltaBlock)
References an image URL in the content of a message.
-
-
-
-