Uses of Enum Class
org.springframework.ai.chat.messages.MessageType
Packages that use MessageType
-
Uses of MessageType in org.springframework.ai.chat.messages
Subclasses with type arguments of type MessageType in org.springframework.ai.chat.messagesModifier and TypeClassDescriptionenumEnumeration representing types ofMessagesin a chat application.Fields in org.springframework.ai.chat.messages declared as MessageTypeModifier and TypeFieldDescriptionprotected final MessageTypeAbstractMessage.messageTypeThe message type of the message.Methods in org.springframework.ai.chat.messages that return MessageTypeModifier and TypeMethodDescriptionAbstractMessage.getMessageType()Get the message type of the message.Message.getMessageType()Get the message type.static MessageTypeReturns the enum constant of this class with the specified name.static MessageType[]MessageType.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.springframework.ai.chat.messages with parameters of type MessageTypeModifierConstructorDescriptionprotectedAbstractMessage(MessageType messageType, @Nullable String textContent, Map<String, Object> metadata) Create a new AbstractMessage with the given message type, text content, and metadata.