Uses of Class
io.a2a.spec.Message.Builder
Packages that use Message.Builder
-
Uses of Message.Builder in io.a2a.spec
Methods in io.a2a.spec that return Message.BuilderModifier and TypeMethodDescriptionstatic Message.BuilderMessage.builder()Creates a new Builder for constructing Message instances.static Message.BuilderCreates a new Builder initialized with values from an existing Message.Sets the conversation context identifier.Message.Builder.extensions(List<String> extensions) Sets the list of protocol extensions used in this message.Sets the unique identifier for this message.Sets additional metadata for the message.Sets the content parts of the message from varargs.Sets the content parts of the message.Message.Builder.referenceTaskIds(List<String> referenceTaskIds) Sets the list of reference task identifiers this message relates to.Message.Builder.role(Message.Role role) Sets the role of the message sender.Sets the task identifier this message is associated with.