Live Server Content
Incremental server update generated by the model in response to client messages.
Content is generated as quickly as possible, and not in real time. Clients may choose to buffer and play it out in real time.
Properties
Functions
Link copied to clipboard
Instantiates a builder for LiveServerContent.
Link copied to clipboard
Deserializes a JSON string to a LiveServerContent object.
Link copied to clipboard
@InternalApi()
Deserializes a JsonNode to an object of the given type.
Link copied to clipboard
@InternalApi()
Deserializes a Json string to an object of the given type.
Link copied to clipboard
If true, indicates that the model is done generating.
Link copied to clipboard
Metadata returned to client when grounding is enabled.
Link copied to clipboard
Input transcription.
Link copied to clipboard
If true, indicates that a client message has interrupted current model generation.
Link copied to clipboard
Link copied to clipboard
Output transcription.
Link copied to clipboard
Overrides the default maximum JSON string length (20MB) for the JSON parser.
Link copied to clipboard
Converts a Json string to a JsonNode.
Link copied to clipboard
Creates a builder with the same values as this instance.
Link copied to clipboard
Serializes an object to a JsonNode.
Link copied to clipboard
Serializes an object to a Json string.
Link copied to clipboard
If true, indicates that the model is done generating.
Link copied to clipboard
Reason for the turn is complete.
Link copied to clipboard
Metadata related to url context retrieval tool.
Link copied to clipboard
If true, indicates that the model is not generating content because it is waiting for more input from the user, e.g.