Package org.a2aproject.sdk.grpc.mapper
Interface ArtifactMapper
- All Known Implementing Classes:
ArtifactMapperImpl
public interface ArtifactMapper
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
toProto
Converts domain Artifact to proto Artifact. ADDER_PREFERRED strategy ensures MapStruct uses addAllExtensions() method. -
fromProto
Converts proto Artifact to domain Artifact. Handles empty string → null and Struct conversions via CommonFieldMapper.
-