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, currently the emitter's own path. It is set on an event that carries the node's output, either in the event's output field or as a message-as-output event whose content is the output, and the output then counts for each listed path in the same invocation.

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.