Class SessionUpdateEvent
- 
                    
                    - All Implemented Interfaces:
 
 public final class SessionUpdateEventSend this event to update the session’s default configuration. The client may send this event at any time to update any field, except for voice. However, note that once a session has been initialized with a particularmodel, it can’t be changed to another model usingsession.update.When the server receives a session.update, it will respond with asession.updatedevent showing the full, effective configuration. Only the fields that are present are updated. To clear a field likeinstructions, pass an empty string.
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classSessionUpdateEvent.BuilderA builder for SessionUpdateEvent. public final classSessionUpdateEvent.SessionRealtime session object configuration. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final SessionUpdateEvent.Sessionsession()Realtime session object configuration. final JsonValue_type()The event type, must be session.update.final Optional<String>eventId()Optional client-generated ID used to identify this event. final JsonField<SessionUpdateEvent.Session>_session()Returns the raw JSON value of session. final JsonField<String>_eventId()Returns the raw JSON value of eventId. final Map<String, JsonValue>_additionalProperties()final SessionUpdateEvent.BuildertoBuilder()final SessionUpdateEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionUpdateEvent.Builderbuilder()Returns a mutable builder for constructing an instance of SessionUpdateEvent. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        sessionfinal SessionUpdateEvent.Session session() Realtime session object configuration. 
 - 
                                        _typefinal JsonValue _type() The event type, must be session.update.Expected to always return the following: JsonValue.from("session.update")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _sessionfinal JsonField<SessionUpdateEvent.Session> _session() Returns the raw JSON value of session. Unlike session, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _eventIdfinal JsonField<String> _eventId() Returns the raw JSON value of eventId. Unlike eventId, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal SessionUpdateEvent.Builder toBuilder() 
 - 
                                        validatefinal SessionUpdateEvent validate() 
 - 
                                        builderfinal static SessionUpdateEvent.Builder builder() Returns a mutable builder for constructing an instance of SessionUpdateEvent. The following fields are required: .session()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-