Package io.dapr.client.domain
Class DeveloperMessage
java.lang.Object
io.dapr.client.domain.DeveloperMessage
- All Implemented Interfaces:
ConversationMessage
Developer message for development and debugging purposes.
Used for providing additional context or instructions during development.
-
Constructor Summary
ConstructorsConstructorDescriptionDeveloperMessage(List<ConversationMessageContent> content) Creates a developer message with content. -
Method Summary
-
Constructor Details
-
DeveloperMessage
Creates a developer message with content.- Parameters:
content- the content of the developer message
-
-
Method Details
-
getRole
Description copied from interface:ConversationMessageGets the role of the message sender.- Specified by:
getRolein interfaceConversationMessage- Returns:
- the message role
-
getName
Description copied from interface:ConversationMessageGets the name of the participant in the message.- Specified by:
getNamein interfaceConversationMessage- Returns:
- the participant name, or null if not specified
-
setName
Sets the name of the developer participant.- Parameters:
name- the name to set- Returns:
- this instance for method chaining
-
getContent
Description copied from interface:ConversationMessageGets the content of the message.- Specified by:
getContentin interfaceConversationMessage- Returns:
- the message content
-