NodeInfo

data class NodeInfo(val path: String = "", val outputFor: List<String>? = null, val messageAsOutput: Boolean = false)

Identifies the workflow-node activation that emitted an com.google.adk.kt.events.Event; null outside a workflow.

Constructors

Link copied to clipboard
constructor(path: String = "", outputFor: List<String>? = null, messageAsOutput: Boolean = false)

Types

Link copied to clipboard
class Builder

Fluent builder for NodeInfo, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

When true this event's content is the node's output, so no separate output event follows.

Link copied to clipboard

The node paths this event's output counts for within its invocation: the emitter's own path, then each ancestor linked to it by useAsOutput (a runNode caller, or the workflow of a terminal node). Set on an event carrying the node's output, in output or as message-as-output content.

Link copied to clipboard

The emitting node's path. Segments are /-separated and each is name@runId, so a node of workflow wf reads wf@1/a@1. An empty path denotes the workflow's top-level node.

Functions

Link copied to clipboard

Returns a Builder initialized with this instance's properties, primarily for Java callers. Prefer it over copy from Java: copy takes every property positionally, so its signature changes whenever a property is added.