Class LiveServerSetupComplete.Builder

java.lang.Object
com.google.genai.types.LiveServerSetupComplete.Builder
Enclosing class:
LiveServerSetupComplete

public abstract static class LiveServerSetupComplete.Builder extends Object
Builder for LiveServerSetupComplete.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • sessionId

      public abstract LiveServerSetupComplete.Builder sessionId(String sessionId)
      Setter for sessionId.

      sessionId: The session id of the live session.

    • clearSessionId

      @CanIgnoreReturnValue public LiveServerSetupComplete.Builder clearSessionId()
      Clears the value of sessionId field.
    • voiceConsentSignature

      public abstract LiveServerSetupComplete.Builder voiceConsentSignature(VoiceConsentSignature voiceConsentSignature)
      Setter for 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.

    • voiceConsentSignature

      @CanIgnoreReturnValue public LiveServerSetupComplete.Builder voiceConsentSignature(VoiceConsentSignature.Builder voiceConsentSignatureBuilder)
      Setter for voiceConsentSignature builder.

      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.

    • clearVoiceConsentSignature

      @CanIgnoreReturnValue public LiveServerSetupComplete.Builder clearVoiceConsentSignature()
      Clears the value of voiceConsentSignature field.
    • build

      public abstract LiveServerSetupComplete build()