Package com.google.genai.types
Class LiveServerSetupComplete
-
- All Implemented Interfaces:
public abstract class LiveServerSetupComplete extends JsonSerializable
Sent in response to a `LiveGenerateContentSetup` message from the client.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classLiveServerSetupComplete.BuilderBuilder for LiveServerSetupComplete.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description LiveServerSetupComplete()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>sessionId()The session id of the live session. static LiveServerSetupComplete.Builderbuilder()Instantiates a builder for LiveServerSetupComplete. abstract LiveServerSetupComplete.BuildertoBuilder()Creates a builder with the same values as this instance. static LiveServerSetupCompletefromJson(String jsonString)Deserializes a JSON string to a LiveServerSetupComplete 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
-
builder
static LiveServerSetupComplete.Builder builder()
Instantiates a builder for LiveServerSetupComplete.
-
toBuilder
abstract LiveServerSetupComplete.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static LiveServerSetupComplete fromJson(String jsonString)
Deserializes a JSON string to a LiveServerSetupComplete object.
-
-
-
-