Package com.google.genai.types
Class LiveServerSetupComplete.Builder
java.lang.Object
com.google.genai.types.LiveServerSetupComplete.Builder
- Enclosing class:
- LiveServerSetupComplete
Builder for LiveServerSetupComplete.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract LiveServerSetupCompletebuild()Clears the value of sessionId field.Clears the value of voiceConsentSignature field.abstract LiveServerSetupComplete.BuilderSetter for sessionId.abstract LiveServerSetupComplete.BuildervoiceConsentSignature(VoiceConsentSignature voiceConsentSignature) Setter for voiceConsentSignature.voiceConsentSignature(VoiceConsentSignature.Builder voiceConsentSignatureBuilder) Setter for voiceConsentSignature builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sessionId
Setter for sessionId.sessionId: The session id of the live session.
-
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
Clears the value of voiceConsentSignature field. -
build
-