Uses of Record Class
org.a2aproject.sdk.spec.Artifact
Packages that use Artifact
Package
Description
JSON processing exceptions for the A2A Java SDK.
-
Uses of Artifact in org.a2aproject.sdk.compat03.conversion.mappers.domain
Methods in org.a2aproject.sdk.compat03.conversion.mappers.domain that return ArtifactModifier and TypeMethodDescriptiondefault ArtifactArtifactMapper_v0_3.toV10(Artifact_v0_3 v03) Converts v0.3 Artifact to v1.0 Artifact.Methods in org.a2aproject.sdk.compat03.conversion.mappers.domain with parameters of type Artifact -
Uses of Artifact in org.a2aproject.sdk.grpc.mapper
Methods in org.a2aproject.sdk.grpc.mapper that return ArtifactModifier and TypeMethodDescriptionConverts proto Artifact to domain Artifact.Methods in org.a2aproject.sdk.grpc.mapper that return types with arguments of type ArtifactMethods in org.a2aproject.sdk.grpc.mapper with parameters of type Artifact -
Uses of Artifact in org.a2aproject.sdk.server.util
Methods in org.a2aproject.sdk.server.util that return ArtifactModifier 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.static ArtifactArtifactUtils.newDataArtifact(String name, Object data) Creates a new Artifact object containing only a single DataPart with empty description.static ArtifactArtifactUtils.newDataArtifact(String name, Object data, @Nullable String description) Creates a new Artifact object containing only a single DataPart.static ArtifactArtifactUtils.newTextArtifact(String name, String text) Creates a new Artifact object containing only a single TextPart with empty description.static ArtifactArtifactUtils.newTextArtifact(String name, String text, @Nullable String description) Creates a new Artifact object containing only a single TextPart. -
Uses of Artifact in org.a2aproject.sdk.spec
Methods in org.a2aproject.sdk.spec that return ArtifactModifier and TypeMethodDescriptionTaskArtifactUpdateEvent.artifact()Returns the value of theartifactrecord component.Artifact.Builder.build()Builds a new immutableArtifactfrom the current builder state.Methods in org.a2aproject.sdk.spec that return types with arguments of type ArtifactModifier and TypeMethodDescriptionTask.artifacts()Returns the value of theartifactsrecord component.Methods in org.a2aproject.sdk.spec with parameters of type ArtifactModifier and TypeMethodDescriptionSets the artifact being updated.static Artifact.BuilderCreate a new Builder initialized with values from an existing Artifact.Method parameters in org.a2aproject.sdk.spec with type arguments of type ArtifactModifier and TypeMethodDescriptionSets the list of artifacts produced by the agent during task execution.Constructors in org.a2aproject.sdk.spec with parameters of type ArtifactModifierConstructorDescriptionTaskArtifactUpdateEvent(String taskId, Artifact artifact, String contextId, @Nullable Boolean append, @Nullable Boolean lastChunk, @Nullable Map<String, Object> metadata) Compact constructor with validation.Constructor parameters in org.a2aproject.sdk.spec with type arguments of type Artifact