generated/voice_events.pb library

Classes

AgentResponseCompletedEvent
AgentResponseStartedEvent
AssistantTokenEvent
Single token decoded by the LLM. is_final=true on the last token of a response (end-of-stream marker).
AudioEncoding
AudioFrameEvent
A chunk of synthesized PCM audio, ready for the sink. The frontend is expected to copy the bytes out; the C ABI does NOT retain ownership.
AudioLevelEvent
ComponentProgressEvent
ErrorEvent
Terminal or recoverable error in the pipeline. Frontends map these to their native error types.
InterruptedEvent
Assistant playback was interrupted by a barge-in. The reason distinguishes user barge-in from app-initiated cancel.
InterruptReason
MetricsEvent
Per-primitive latency breakdown. Emitted at barge-in and at pipeline stop.
PipelineState
SessionStartedEvent
SessionStoppedEvent
SpeechTurnDetectionEvent
SpeechTurnDetectionEventKind
StateChangeEvent
Pipeline lifecycle state. Ordered — callers can compare numerically.
TokenKind
TurnLifecycleEvent
TurnLifecycleEventKind
UserSaidEvent
User speech finalized by STT (is_final=false → partial hypothesis).
VADEvent
Voice Activity Detection output. Frontends usually do not need this — exposed for debugging and custom UIs (waveform highlighting, etc.). type uses the canonical VADStreamEventKind enum from vad_options.proto (the hand-rolled VADEventType was deleted).
VoiceAgentComponentStates
Aggregate load state across all four voice-agent components. Mirrors Swift VoiceAgentComponentStates, Kotlin VoiceAgentComponentStates, RN VoiceAgentComponentStates, Web VoiceAgentComponentStates, and Flutter VoiceAgentComponentStates.
VoiceEvent
VoicePipelineComponent
VoiceSessionError
WakeWordDetectedEvent

Extensions

GeneratedMessageGenericExtensions on T
Extensions on GeneratedMessages.