Interface StreamingEventKind_v0_3

All Superinterfaces:
Event_v0_3
All Known Implementing Classes:
Message_v0_3, Task_v0_3, TaskArtifactUpdateEvent_v0_3, TaskStatusUpdateEvent_v0_3

public sealed interface StreamingEventKind_v0_3 extends Event_v0_3 permits Task_v0_3, Message_v0_3, TaskStatusUpdateEvent_v0_3, TaskArtifactUpdateEvent_v0_3
Sealed interface for events that can be emitted during streaming A2A Protocol operations.

StreamingEventKind represents events suitable for asynchronous, progressive updates during agent task execution. Streaming allows agents to provide incremental feedback as work progresses, rather than waiting until task completion.

Streaming events use polymorphic JSON serialization with the "kind" discriminator to determine the concrete type during deserialization.

Permitted implementations:

Streaming events enable patterns like:

  • Progressive text generation (chunks of response as generated)
  • Status notifications (task state transitions)
  • Partial results (early artifacts before task completion)
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details