Class ArtifactMapperImpl

java.lang.Object
org.a2aproject.sdk.grpc.mapper.ArtifactMapperImpl
All Implemented Interfaces:
ArtifactMapper

@Generated(value="org.mapstruct.ap.MappingProcessor", date="2026-07-21T16:05:38+0100", comments="version: 1.6.3, compiler: javac, environment: Java 17.0.18 (Eclipse Adoptium)") public class ArtifactMapperImpl extends Object implements ArtifactMapper
  • Constructor Details

    • ArtifactMapperImpl

      public ArtifactMapperImpl()
  • Method Details

    • toProto

      public Artifact toProto(Artifact domain)
      Description copied from interface: ArtifactMapper
      Converts domain Artifact to proto Artifact. ADDER_PREFERRED strategy ensures MapStruct uses addAllExtensions() method.
      Specified by:
      toProto in interface ArtifactMapper
    • fromProto

      public Artifact fromProto(Artifact proto)
      Description copied from interface: ArtifactMapper
      Converts proto Artifact to domain Artifact. Handles empty string → null and Struct conversions via CommonFieldMapper.
      Specified by:
      fromProto in interface ArtifactMapper
    • partListToPartArray

      protected Part[] partListToPartArray(List<Part> list)