Uses of Interface
org.a2aproject.sdk.spec.Part
Packages that use Part
Package
Description
JSON processing exceptions for the A2A Java SDK.
-
Uses of Part in org.a2aproject.sdk
Method parameters in org.a2aproject.sdk with type arguments of type Part -
Uses of Part in org.a2aproject.sdk.compat03.conversion.mappers.domain
Methods in org.a2aproject.sdk.compat03.conversion.mappers.domain that return PartMethods in org.a2aproject.sdk.compat03.conversion.mappers.domain with parameters of type Part -
Uses of Part in org.a2aproject.sdk.grpc.mapper
Methods in org.a2aproject.sdk.grpc.mapper that return PartModifier and TypeMethodDescriptiondefault Part<?>Converts proto Part to domain Part.protected Part[]ArtifactMapperImpl.partListToPartArray(List<Part> list) protected Part[]MessageMapperImpl.partListToPartArray(List<Part> list) Methods in org.a2aproject.sdk.grpc.mapper with parameters of type Part -
Uses of Part in org.a2aproject.sdk.server.tasks
Method parameters in org.a2aproject.sdk.server.tasks with type arguments of type PartModifier and TypeMethodDescriptionvoidAgentEmitter.addArtifact(List<Part<?>> parts) Adds an artifact with the given parts to the task.voidAgentEmitter.addArtifact(List<Part<?>> parts, @Nullable String artifactId, @Nullable String name, @Nullable Map<String, Object> metadata) Adds an artifact with the given parts, artifact ID, name, and metadata.voidAgentEmitter.addArtifact(List<Part<?>> parts, @Nullable String artifactId, @Nullable String name, @Nullable Map<String, Object> metadata, @Nullable Boolean append, @Nullable Boolean lastChunk) Adds an artifact with all optional parameters.Creates a new agent message with the given parts and metadata.voidAgentEmitter.sendMessage(List<Part<?>> parts) Sends a message with custom parts (text, images, etc.) to the client.voidSends a message with parts and metadata to the client. -
Uses of Part in org.a2aproject.sdk.server.util
Method parameters in org.a2aproject.sdk.server.util with type arguments of type PartModifier and TypeMethodDescriptionstatic ArtifactArtifactUtils.newArtifact(String name, List<Part<?>> parts) Creates a new Artifact object with empty description.static ArtifactArtifactUtils.newArtifact(String name, List<Part<?>> parts, @Nullable String description) Creates a new Artifact object. -
Uses of Part in org.a2aproject.sdk.spec
Classes in org.a2aproject.sdk.spec that implement PartModifier and TypeClassDescriptionfinal recordfinal recordfinal recordMethods in org.a2aproject.sdk.spec that return types with arguments of type PartModifier and TypeMethodDescriptionArtifact.parts()Returns the value of thepartsrecord component.Message.parts()Returns the value of thepartsrecord component.Methods in org.a2aproject.sdk.spec with parameters of type PartModifier and TypeMethodDescriptionSets the content parts from varargs.Sets the content parts of the message from varargs.Method parameters in org.a2aproject.sdk.spec with type arguments of type PartModifier and TypeMethodDescriptionSets the content parts comprising the artifact.Sets the content parts of the message.Constructor parameters in org.a2aproject.sdk.spec with type arguments of type PartModifierConstructorDescriptionArtifact(String artifactId, @Nullable String name, @Nullable String description, List<Part<?>> parts, @Nullable Map<String, Object> metadata, @Nullable List<String> extensions) Compact constructor that validates required fields.Message(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.