ComponentLifecycleState class
Component runtime lifecycle state for model-backed SDK components. Platform
adapters own native component handles; this enum carries the C++ lifecycle
state every SDK can expose uniformly. Previously lived in sdk_events.proto
(also used by voice_events.proto's VoiceAgentComponentStates after the
former hand-rolled ComponentLoadState was consolidated into this single
richer taxonomy).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → ComponentLifecycleState?
Constants
- COMPONENT_LIFECYCLE_STATE_DELETING → const ComponentLifecycleState
- COMPONENT_LIFECYCLE_STATE_DOWNLOADING → const ComponentLifecycleState
- COMPONENT_LIFECYCLE_STATE_ERROR → const ComponentLifecycleState
- COMPONENT_LIFECYCLE_STATE_LOADING → const ComponentLifecycleState
- COMPONENT_LIFECYCLE_STATE_NOT_LOADED → const ComponentLifecycleState
- COMPONENT_LIFECYCLE_STATE_PAUSED → const ComponentLifecycleState
- COMPONENT_LIFECYCLE_STATE_READY → const ComponentLifecycleState
- COMPONENT_LIFECYCLE_STATE_SHUTDOWN → const ComponentLifecycleState
- COMPONENT_LIFECYCLE_STATE_UNLOADING → const ComponentLifecycleState
- COMPONENT_LIFECYCLE_STATE_UNSPECIFIED → const ComponentLifecycleState
- COMPONENT_LIFECYCLE_STATE_UPDATING → const ComponentLifecycleState
-
values
→ const List<
ComponentLifecycleState>