Class ResponseTextDoneEvent
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseTextDoneEventReturned when the text value of an "output_text" content part is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classResponseTextDoneEvent.BuilderA builder for ResponseTextDoneEvent. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final LongcontentIndex()The index of the content part in the item's content array. final StringeventId()The unique ID of the server event. final StringitemId()The ID of the item. final LongoutputIndex()The index of the output item in the response. final StringresponseId()The ID of the response. final Stringtext()The final text content. final JsonValue_type()The event type, must be response.output_text.done.final JsonField<Long>_contentIndex()Returns the raw JSON value of contentIndex. final JsonField<String>_eventId()Returns the raw JSON value of eventId. final JsonField<String>_itemId()Returns the raw JSON value of itemId. final JsonField<Long>_outputIndex()Returns the raw JSON value of outputIndex. final JsonField<String>_responseId()Returns the raw JSON value of responseId. final JsonField<String>_text()Returns the raw JSON value of text. final Map<String, JsonValue>_additionalProperties()final ResponseTextDoneEvent.BuildertoBuilder()final ResponseTextDoneEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseTextDoneEvent.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseTextDoneEvent. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        contentIndexfinal Long contentIndex() The index of the content part in the item's content array. 
 - 
                                        outputIndexfinal Long outputIndex() The index of the output item in the response. 
 - 
                                        responseIdfinal String responseId() The ID of the response. 
 - 
                                        _typefinal JsonValue _type() The event type, must be response.output_text.done.Expected to always return the following: JsonValue.from("response.output_text.done")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _contentIndexfinal JsonField<Long> _contentIndex() Returns the raw JSON value of contentIndex. Unlike contentIndex, 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. 
 - 
                                        _outputIndexfinal JsonField<Long> _outputIndex() Returns the raw JSON value of outputIndex. Unlike outputIndex, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _responseIdfinal JsonField<String> _responseId() Returns the raw JSON value of responseId. Unlike responseId, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _textfinal JsonField<String> _text() Returns the raw JSON value of text. Unlike text, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ResponseTextDoneEvent.Builder toBuilder() 
 - 
                                        validatefinal ResponseTextDoneEvent validate() 
 - 
                                        builderfinal static ResponseTextDoneEvent.Builder builder() Returns a mutable builder for constructing an instance of ResponseTextDoneEvent. The following fields are required: .contentIndex() .eventId() .itemId() .outputIndex() .responseId() .text()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-