Class InputAudioBufferSpeechStoppedEvent
- 
                    
                    - All Implemented Interfaces:
 
 public final class InputAudioBufferSpeechStoppedEventReturned in server_vadmode when the server detects the end of speech in the audio buffer. The server will also send anconversation.item.createdevent with the user message item that is created from the audio buffer.
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classInputAudioBufferSpeechStoppedEvent.BuilderA builder for InputAudioBufferSpeechStoppedEvent. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final LongaudioEndMs()Milliseconds since the session started when speech stopped. final StringeventId()The unique ID of the server event. final StringitemId()The ID of the user message item that will be created. final JsonValue_type()The event type, must be input_audio_buffer.speech_stopped.final JsonField<Long>_audioEndMs()Returns the raw JSON value of audioEndMs. final JsonField<String>_eventId()Returns the raw JSON value of eventId. final JsonField<String>_itemId()Returns the raw JSON value of itemId. final Map<String, JsonValue>_additionalProperties()final InputAudioBufferSpeechStoppedEvent.BuildertoBuilder()final InputAudioBufferSpeechStoppedEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InputAudioBufferSpeechStoppedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of InputAudioBufferSpeechStoppedEvent. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        audioEndMsfinal Long audioEndMs() Milliseconds since the session started when speech stopped. This will correspond to the end of audio sent to the model, and thus includes the min_silence_duration_msconfigured in the Session.
 - 
                                        _typefinal JsonValue _type() The event type, must be input_audio_buffer.speech_stopped.Expected to always return the following: JsonValue.from("input_audio_buffer.speech_stopped")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _audioEndMsfinal JsonField<Long> _audioEndMs() Returns the raw JSON value of audioEndMs. Unlike audioEndMs, 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. 
 - 
                                        _itemIdfinal JsonField<String> _itemId() Returns the raw JSON value of itemId. Unlike itemId, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal InputAudioBufferSpeechStoppedEvent.Builder toBuilder() 
 - 
                                        validatefinal InputAudioBufferSpeechStoppedEvent validate() 
 - 
                                        builderfinal static InputAudioBufferSpeechStoppedEvent.Builder builder() Returns a mutable builder for constructing an instance of InputAudioBufferSpeechStoppedEvent. The following fields are required: .audioEndMs() .eventId() .itemId()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-