Transport

TransportProtocol types supported by the A2A protocol.

This enum defines the different transport mechanisms that can be used for agent-to-agent communication according to the A2A specification.

See also

Entries

Link copied to clipboard
@SerialName(value = "JSONRPC")
JSONRPC

JSON-RPC 2.0 transport over HTTP/WebSocket.

Link copied to clipboard
@SerialName(value = "GRPC")
GRPC

gRPC transport for high-performance communication.

Link copied to clipboard
@SerialName(value = "HTTP+JSON")
HTTP_JSON

HTTP transport with JSON payloads.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Transport

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.