Class LiveServerSetupComplete

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.LiveServerSetupComplete

public abstract class LiveServerSetupComplete extends JsonSerializable
Sent in response to a `LiveGenerateContentSetup` message from the client.
  • Constructor Details

    • LiveServerSetupComplete

      public LiveServerSetupComplete()
  • Method Details

    • sessionId

      public abstract Optional<String> sessionId()
      The session id of the live session.
    • voiceConsentSignature

      public abstract Optional<VoiceConsentSignature> voiceConsentSignature()
      Signature of the verified consent audio. This is populated when the request has a ReplicatedVoiceConfig with consent_audio set, if the consent verification was successful. This may be used in a subsequent request instead of the consent_audio to verify the same consent.
    • builder

      public static LiveServerSetupComplete.Builder builder()
      Instantiates a builder for LiveServerSetupComplete.
    • toBuilder

      public abstract LiveServerSetupComplete.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static LiveServerSetupComplete fromJson(String jsonString)
      Deserializes a JSON string to a LiveServerSetupComplete object.