Uses of Enum Class
org.a2aproject.sdk.spec.Message.Role
Packages that use Message.Role
Package
Description
JSON processing exceptions for the A2A Java SDK.
-
Uses of Message.Role in org.a2aproject.sdk.compat03.conversion.mappers.domain
Methods in org.a2aproject.sdk.compat03.conversion.mappers.domain that return Message.RoleModifier and TypeMethodDescriptiondefault Message.RoleRoleMapper_v0_3.toV10(Message_v0_3.Role v03) Converts v0.3 Role to v1.0 Role.Methods in org.a2aproject.sdk.compat03.conversion.mappers.domain with parameters of type Message.RoleModifier and TypeMethodDescriptiondefault Message_v0_3.RoleRoleMapper_v0_3.fromV10(Message.Role v10) Converts v1.0 Role to v0.3 Role. -
Uses of Message.Role in org.a2aproject.sdk.grpc.mapper
Methods in org.a2aproject.sdk.grpc.mapper that return Message.RoleMethods in org.a2aproject.sdk.grpc.mapper with parameters of type Message.RoleModifier and TypeMethodDescriptiondefault RoleRoleMapper.toProto(Message.Role domain) Converts domain Role to proto Role. -
Uses of Message.Role in org.a2aproject.sdk.spec
Subclasses with type arguments of type Message.Role in org.a2aproject.sdk.specModifier and TypeClassDescriptionstatic enumDefines the role of the message sender in the conversation.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.