Class InputAudioBufferAppendEvent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class InputAudioBufferAppendEvent.BuilderA builder for InputAudioBufferAppendEvent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
audio
final InputAudioBufferAppendEvent.Builder audio(String audio)
Base64-encoded audio bytes. This must be in the format specified by the
input_audio_formatfield in the session configuration. 
- 
                                        
audio
final InputAudioBufferAppendEvent.Builder audio(JsonField<String> audio)
Sets Builder.audio to an arbitrary JSON value.
You should usually call Builder.audio with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final InputAudioBufferAppendEvent.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.append")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
eventId
final InputAudioBufferAppendEvent.Builder eventId(String eventId)
Optional client-generated ID used to identify this event.
 
- 
                                        
eventId
final InputAudioBufferAppendEvent.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.
 
- 
                                        
additionalProperties
final InputAudioBufferAppendEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final InputAudioBufferAppendEvent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final InputAudioBufferAppendEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final InputAudioBufferAppendEvent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final InputAudioBufferAppendEvent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final InputAudioBufferAppendEvent build()
Returns an immutable instance of InputAudioBufferAppendEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.audio() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -