Package com.openai.models
Class MessageContentDelta
-
- All Implemented Interfaces:
public final class MessageContentDelta
References an image File in the content of a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
MessageContentDelta.Visitor
public final class
MessageContentDelta.Deserializer
public final class
MessageContentDelta.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 Boolean
isImageFileDeltaBlock()
final Boolean
isTextDeltaBlock()
final Boolean
isRefusalDeltaBlock()
final Boolean
isImageUrlDeltaBlock()
final ImageFileDeltaBlock
asImageFileDeltaBlock()
References an image File in the content of a message. final TextDeltaBlock
asTextDeltaBlock()
The text content that is part of a message. final RefusalDeltaBlock
asRefusalDeltaBlock()
The refusal content that is part of a message. final ImageUrlDeltaBlock
asImageUrlDeltaBlock()
References an image URL in the content of a message. final Optional<JsonValue>
_json()
final <T extends Any> T
accept(MessageContentDelta.Visitor<T> visitor)
final MessageContentDelta
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static MessageContentDelta
ofImageFileDeltaBlock(ImageFileDeltaBlock imageFileDeltaBlock)
References an image File in the content of a message. final static MessageContentDelta
ofTextDeltaBlock(TextDeltaBlock textDeltaBlock)
The text content that is part of a message. final static MessageContentDelta
ofRefusalDeltaBlock(RefusalDeltaBlock refusalDeltaBlock)
The refusal content that is part of a message. final static MessageContentDelta
ofImageUrlDeltaBlock(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.
-
-
-
-