Package org.a2aproject.sdk.grpc.mapper
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 -
Method Summary
Modifier and TypeMethodDescriptionConverts proto SendMessageConfiguration to domain MessageSendConfiguration.toProto(MessageSendConfiguration domain) Converts domain MessageSendConfiguration to proto SendMessageConfiguration.
-
Field Details
-
INSTANCE
-
-
Method Details
-
toProto
Converts domain MessageSendConfiguration to proto SendMessageConfiguration. -
fromProto
Converts proto SendMessageConfiguration to domain MessageSendConfiguration. Uses Builder pattern for record construction.
-