Interface ListTasksResultMapper

All Known Implementing Classes:
ListTasksResultMapperImpl

public interface ListTasksResultMapper
Mapper between ListTasksResult and ListTasksResponse.

Handles conversion with null handling for nextPageToken field. Uses ADDER_PREFERRED strategy to avoid ProtocolMessageList instantiation issues.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.a2aproject.sdk.jsonrpc.common.wrappers.ListTasksResult
     
    toProto(org.a2aproject.sdk.jsonrpc.common.wrappers.ListTasksResult domain)
    Converts domain ListTasksResult to proto ListTasksResponse.
  • Field Details

  • Method Details

    • toProto

      ListTasksResponse toProto(org.a2aproject.sdk.jsonrpc.common.wrappers.ListTasksResult domain)
      Converts domain ListTasksResult to proto ListTasksResponse. Protobuf builders don't accept null, so nextPageToken is conditionally mapped.
    • fromProto

      org.a2aproject.sdk.jsonrpc.common.wrappers.ListTasksResult fromProto(ListTasksResponse proto)