Class State (0.7.4)

State(value)

Lifecycle position of this chunk within the artifact's stream.

Enums

Name Description
STATE_UNSPECIFIED Unused default.
STARTED The assistant started generating the artifact.
DELTA A content increment; content_delta is set.
FINALIZED The artifact was persisted; gcs_uri is set.
FAILED Generation or persistence failed; the artifact was not saved.
CLOSED The document finished streaming: its content was fully delivered via content_delta chunks. Persistence may still follow; a FINALIZED chunk with a gcs_uri is sent if and when the artifact is saved.