Package com.google.genai.types
Class LiveSendToolResponseParameters
-
- All Implemented Interfaces:
public abstract class LiveSendToolResponseParameters extends JsonSerializable
Parameters for sending tool responses to the live API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classLiveSendToolResponseParameters.BuilderBuilder for LiveSendToolResponseParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description LiveSendToolResponseParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<List<FunctionResponse>>functionResponses()Tool responses to send to the session. static LiveSendToolResponseParameters.Builderbuilder()Instantiates a builder for LiveSendToolResponseParameters. abstract LiveSendToolResponseParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static LiveSendToolResponseParametersfromJson(String jsonString)Deserializes a JSON string to a LiveSendToolResponseParameters object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
functionResponses
abstract Optional<List<FunctionResponse>> functionResponses()
Tool responses to send to the session.
-
builder
static LiveSendToolResponseParameters.Builder builder()
Instantiates a builder for LiveSendToolResponseParameters.
-
toBuilder
abstract LiveSendToolResponseParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static LiveSendToolResponseParameters fromJson(String jsonString)
Deserializes a JSON string to a LiveSendToolResponseParameters object.
-
-
-
-