Package com.openai.models.beta.realtime
        Class InputAudioBufferClearEvent
- 
                    
                    
- All Implemented Interfaces:
 
public final class InputAudioBufferClearEventSend this event to clear the audio bytes in the buffer. The server will respond with an
input_audio_buffer.clearedevent. 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInputAudioBufferClearEvent.BuilderA builder for InputAudioBufferClearEvent.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final JsonValue_type()The event type, must be input_audio_buffer.clear.final Optional<String>eventId()Optional client-generated ID used to identify this event. final JsonField<String>_eventId()Returns the raw JSON value of eventId. final Map<String, JsonValue>_additionalProperties()final InputAudioBufferClearEvent.BuildertoBuilder()final InputAudioBufferClearEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InputAudioBufferClearEvent.Builderbuilder()Returns a mutable builder for constructing an instance of InputAudioBufferClearEvent. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
_type
final JsonValue _type()
The event type, must be
input_audio_buffer.clear.Expected to always return the following:
JsonValue.from("input_audio_buffer.clear")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
 
- 
                                        
_eventId
final 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.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final InputAudioBufferClearEvent.Builder toBuilder()
 
- 
                                        
validate
final InputAudioBufferClearEvent validate()
 
- 
                                        
builder
final static InputAudioBufferClearEvent.Builder builder()
Returns a mutable builder for constructing an instance of InputAudioBufferClearEvent.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -