Interface MessageSendConfigurationMapper

All Known Implementing Classes:
MessageSendConfigurationMapperImpl

public interface MessageSendConfigurationMapper
Mapper between MessageSendConfiguration and SendMessageConfiguration.

Handles bidirectional mapping with null/empty list conversions and task push notification config delegation. Uses ADDER_PREFERRED strategy to avoid ProtocolStringList instantiation issues.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.a2aproject.sdk.spec.MessageSendConfiguration
    Converts proto SendMessageConfiguration to domain MessageSendConfiguration.
    toProto(org.a2aproject.sdk.spec.MessageSendConfiguration domain)
    Converts domain MessageSendConfiguration to proto SendMessageConfiguration.
  • Field Details

  • Method Details

    • toProto

      SendMessageConfiguration toProto(org.a2aproject.sdk.spec.MessageSendConfiguration domain)
      Converts domain MessageSendConfiguration to proto SendMessageConfiguration.
    • fromProto

      org.a2aproject.sdk.spec.MessageSendConfiguration fromProto(SendMessageConfiguration proto)
      Converts proto SendMessageConfiguration to domain MessageSendConfiguration. Uses Builder pattern for record construction.