Class InputAudioBufferSpeechStartedEvent.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class InputAudioBufferSpeechStartedEvent.BuilderA builder for InputAudioBufferSpeechStartedEvent. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        audioStartMsfinal InputAudioBufferSpeechStartedEvent.Builder audioStartMs(Long audioStartMs) Milliseconds from the start of all audio written to the buffer during the session when speech was first detected. This will correspond to the beginning of audio sent to the model, and thus includes the prefix_padding_msconfigured in the Session.
 - 
                                        audioStartMsfinal InputAudioBufferSpeechStartedEvent.Builder audioStartMs(JsonField<Long> audioStartMs) Sets Builder.audioStartMs to an arbitrary JSON value. You should usually call Builder.audioStartMs with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        eventIdfinal InputAudioBufferSpeechStartedEvent.Builder eventId(String eventId) The unique ID of the server event. 
 - 
                                        eventIdfinal InputAudioBufferSpeechStartedEvent.Builder eventId(JsonField<String> eventId) Sets Builder.eventId to an arbitrary JSON value. You should usually call Builder.eventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        itemIdfinal InputAudioBufferSpeechStartedEvent.Builder itemId(String itemId) The ID of the user message item that will be created when speech stops. 
 - 
                                        itemIdfinal InputAudioBufferSpeechStartedEvent.Builder itemId(JsonField<String> itemId) Sets Builder.itemId to an arbitrary JSON value. You should usually call Builder.itemId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        typefinal InputAudioBufferSpeechStartedEvent.Builder type(JsonValue type) Sets the field to an arbitrary JSON value. It is usually unnecessary to call this method because the field defaults to the following: JsonValue.from("input_audio_buffer.speech_started")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal InputAudioBufferSpeechStartedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal InputAudioBufferSpeechStartedEvent.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal InputAudioBufferSpeechStartedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal InputAudioBufferSpeechStartedEvent.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal InputAudioBufferSpeechStartedEvent.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal InputAudioBufferSpeechStartedEvent build() Returns an immutable instance of InputAudioBufferSpeechStartedEvent. Further updates to this Builder will not mutate the returned instance. The following fields are required: .audioStartMs() .eventId() .itemId()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-