MCPcopy Create free account
hub / github.com/a2aproject/a2a-java / EventKind

Interface EventKind

spec/src/main/java/org/a2aproject/sdk/spec/EventKind.java:22–33  ·  view source on GitHub ↗

Interface for events that can be returned from non-streaming A2A Protocol operations. EventKind represents events that are suitable for synchronous request-response patterns. These events provide complete state information and are typically returned as the final result of an operation. Event

Source from the content-addressed store, hash-verified

20 * @see Event
21 */
22public interface EventKind {
23
24 /**
25 * Returns the type identifier for this event.
26 * <p>
27 * This method provides programmatic type discrimination for routing, logging, and debugging.
28 * <strong>NOTE:</strong> This value is NOT serialized to JSON in protocol v1.0+.
29 *
30 * @return the event kind string (e.g., "task", "message")
31 */
32 String kind();
33}

Callers 4

testSendMessageMethod · 0.95
writeMethod · 0.65
taskOrMessageMethod · 0.65
taskOrMessageStreamMethod · 0.65

Implementers 4

TaskStatusUpdateEventspec/src/main/java/org/a2aproject/sdk/
TaskArtifactUpdateEventspec/src/main/java/org/a2aproject/sdk/
Taskspec/src/main/java/org/a2aproject/sdk/
Messagespec/src/main/java/org/a2aproject/sdk/

Calls

no outgoing calls

Tested by

no test coverage detected