Class ResponseOutputTextAnnotationAddedEvent.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseOutputTextAnnotationAddedEvent.BuilderA builder for ResponseOutputTextAnnotationAddedEvent. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        annotationfinal ResponseOutputTextAnnotationAddedEvent.Builder annotation(JsonValue annotation) The annotation object being added. (See annotation schema for details.) 
 - 
                                        annotationIndexfinal ResponseOutputTextAnnotationAddedEvent.Builder annotationIndex(Long annotationIndex) The index of the annotation within the content part. 
 - 
                                        annotationIndexfinal ResponseOutputTextAnnotationAddedEvent.Builder annotationIndex(JsonField<Long> annotationIndex) Sets Builder.annotationIndex to an arbitrary JSON value. You should usually call Builder.annotationIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        contentIndexfinal ResponseOutputTextAnnotationAddedEvent.Builder contentIndex(Long contentIndex) The index of the content part within the output item. 
 - 
                                        contentIndexfinal ResponseOutputTextAnnotationAddedEvent.Builder contentIndex(JsonField<Long> contentIndex) Sets Builder.contentIndex to an arbitrary JSON value. You should usually call Builder.contentIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        itemIdfinal ResponseOutputTextAnnotationAddedEvent.Builder itemId(String itemId) The unique identifier of the item to which the annotation is being added. 
 - 
                                        itemIdfinal ResponseOutputTextAnnotationAddedEvent.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. 
 - 
                                        outputIndexfinal ResponseOutputTextAnnotationAddedEvent.Builder outputIndex(Long outputIndex) The index of the output item in the response's output array. 
 - 
                                        outputIndexfinal ResponseOutputTextAnnotationAddedEvent.Builder outputIndex(JsonField<Long> outputIndex) Sets Builder.outputIndex to an arbitrary JSON value. You should usually call Builder.outputIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        sequenceNumberfinal ResponseOutputTextAnnotationAddedEvent.Builder sequenceNumber(Long sequenceNumber) The sequence number of this event. 
 - 
                                        sequenceNumberfinal ResponseOutputTextAnnotationAddedEvent.Builder sequenceNumber(JsonField<Long> sequenceNumber) Sets Builder.sequenceNumber to an arbitrary JSON value. You should usually call Builder.sequenceNumber with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        typefinal ResponseOutputTextAnnotationAddedEvent.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("response.output_text.annotation.added")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ResponseOutputTextAnnotationAddedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ResponseOutputTextAnnotationAddedEvent.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ResponseOutputTextAnnotationAddedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ResponseOutputTextAnnotationAddedEvent.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ResponseOutputTextAnnotationAddedEvent.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ResponseOutputTextAnnotationAddedEvent build() Returns an immutable instance of ResponseOutputTextAnnotationAddedEvent. Further updates to this Builder will not mutate the returned instance. The following fields are required: .annotation() .annotationIndex() .contentIndex() .itemId() .outputIndex() .sequenceNumber()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-