Uses of Enum Class
org.a2aproject.sdk.spec.Message.Role
Packages that use Message.Role
-
Uses of Message.Role in org.a2aproject.sdk.spec
Methods in org.a2aproject.sdk.spec that return Message.RoleModifier and TypeMethodDescriptionMessage.role()Returns the value of therolerecord component.static Message.RoleReturns the enum constant of this class with the specified name.static Message.Role[]Message.Role.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.a2aproject.sdk.spec with parameters of type Message.RoleModifier and TypeMethodDescriptionMessage.Builder.role(Message.Role role) Sets the role of the message sender.Constructors in org.a2aproject.sdk.spec with parameters of type Message.RoleModifierConstructorDescriptionMessage(Message.Role role, List<Part<?>> parts, String messageId, @Nullable String contextId, @Nullable String taskId, @Nullable List<String> referenceTaskIds, @Nullable Map<String, Object> metadata, @Nullable List<String> extensions) Compact constructor with validation and defensive copying.