Live Client Realtime Input
User input that is sent in real time.
This is different from `LiveClientContent` in a few ways:
- Can be sent continuously without interruption to model generation. - If there is a need to mix data interleaved across the `LiveClientContent` and the `LiveClientRealtimeInput`, server attempts to optimize for best response, but there are no guarantees. - End of turn is not explicitly specified, but is rather derived from user activity (for example, end of speech). - Even before the end of turn, the data is processed incrementally to optimize for a fast start of the response from the model. - Is always assumed to be the user's input (cannot be used to populate conversation history).
Types
Properties
Functions
Link copied to clipboard
Marks the end of user activity.
Link copied to clipboard
Marks the start of user activity.
Link copied to clipboard
Indicates that the audio stream has ended, e.g.
Link copied to clipboard
Instantiates a builder for LiveClientRealtimeInput.
Link copied to clipboard
Deserializes a JSON string to a LiveClientRealtimeInput 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
Inlined bytes data for media input.
Link copied to clipboard
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.