Class SessionUpdateEvent.Session.TurnDetection.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class SessionUpdateEvent.Session.TurnDetection.BuilderA builder for TurnDetection. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        createResponsefinal SessionUpdateEvent.Session.TurnDetection.Builder createResponse(Boolean createResponse) Whether or not to automatically generate a response when a VAD stop event occurs. 
 - 
                                        createResponsefinal SessionUpdateEvent.Session.TurnDetection.Builder createResponse(JsonField<Boolean> createResponse) Sets Builder.createResponse to an arbitrary JSON value. You should usually call Builder.createResponse with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        eagernessfinal SessionUpdateEvent.Session.TurnDetection.Builder eagerness(SessionUpdateEvent.Session.TurnDetection.Eagerness eagerness) Used only for semantic_vadmode. The eagerness of the model to respond.lowwill wait longer for the user to continue speaking,highwill respond more quickly.autois the default and is equivalent tomedium.
 - 
                                        eagernessfinal SessionUpdateEvent.Session.TurnDetection.Builder eagerness(JsonField<SessionUpdateEvent.Session.TurnDetection.Eagerness> eagerness) Sets Builder.eagerness to an arbitrary JSON value. You should usually call Builder.eagerness with a well-typed Eagerness value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        interruptResponsefinal SessionUpdateEvent.Session.TurnDetection.Builder interruptResponse(Boolean interruptResponse) Whether or not to automatically interrupt any ongoing response with output to the default conversation (i.e. conversationofauto) when a VAD start event occurs.
 - 
                                        interruptResponsefinal SessionUpdateEvent.Session.TurnDetection.Builder interruptResponse(JsonField<Boolean> interruptResponse) Sets Builder.interruptResponse to an arbitrary JSON value. You should usually call Builder.interruptResponse with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        prefixPaddingMsfinal SessionUpdateEvent.Session.TurnDetection.Builder prefixPaddingMs(Long prefixPaddingMs) Used only for server_vadmode. Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.
 - 
                                        prefixPaddingMsfinal SessionUpdateEvent.Session.TurnDetection.Builder prefixPaddingMs(JsonField<Long> prefixPaddingMs) Sets Builder.prefixPaddingMs to an arbitrary JSON value. You should usually call Builder.prefixPaddingMs with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        silenceDurationMsfinal SessionUpdateEvent.Session.TurnDetection.Builder silenceDurationMs(Long silenceDurationMs) Used only for server_vadmode. Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms. With shorter values the model will respond more quickly, but may jump in on short pauses from the user.
 - 
                                        silenceDurationMsfinal SessionUpdateEvent.Session.TurnDetection.Builder silenceDurationMs(JsonField<Long> silenceDurationMs) Sets Builder.silenceDurationMs to an arbitrary JSON value. You should usually call Builder.silenceDurationMs with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        thresholdfinal SessionUpdateEvent.Session.TurnDetection.Builder threshold(Double threshold) Used only for server_vadmode. Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A higher threshold will require louder audio to activate the model, and thus might perform better in noisy environments.
 - 
                                        thresholdfinal SessionUpdateEvent.Session.TurnDetection.Builder threshold(JsonField<Double> threshold) Sets Builder.threshold to an arbitrary JSON value. You should usually call Builder.threshold with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        typefinal SessionUpdateEvent.Session.TurnDetection.Builder type(SessionUpdateEvent.Session.TurnDetection.Type type) Type of turn detection. 
 - 
                                        typefinal SessionUpdateEvent.Session.TurnDetection.Builder type(JsonField<SessionUpdateEvent.Session.TurnDetection.Type> type) Sets Builder.type to an arbitrary JSON value. You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal SessionUpdateEvent.Session.TurnDetection.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal SessionUpdateEvent.Session.TurnDetection.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal SessionUpdateEvent.Session.TurnDetection.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal SessionUpdateEvent.Session.TurnDetection.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal SessionUpdateEvent.Session.TurnDetection.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal SessionUpdateEvent.Session.TurnDetection build() Returns an immutable instance of TurnDetection. Further updates to this Builder will not mutate the returned instance. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-