Enum ResponsesStreamEventType
java.lang.Object
java.lang.Enum<ResponsesStreamEventType>
com.azure.ai.openai.responses.models.ResponsesStreamEventType
- All Implemented Interfaces:
Serializable,Comparable<ResponsesStreamEventType>,java.lang.constant.Constable
Defines values for ResponsesStreamEventType.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnum value error.Enum value response.completed.Enum value response.content_part.added.Enum value response.content_part.done.Enum value response.created.Enum value response.failed.Enum value response.file_search_call.completed.Enum value response.file_search_call.in.progress.Enum value response.file_search_call.searching.Enum value response.function_call_arguments.delta.Enum value response.function_call_arguments.done.Enum value response.in_progress.Enum value response.incomplete.Enum value response.output_item.added.Enum value response.output_item.done.Enum value response.output_text.annotation.added.Enum value response.output_text.delta.Enum value response.output_text.done.Enum value response.refusal.delta.Enum value response.refusal.done.Enum value response.web_search_call.completed.Enum value response.web_search_call.in_progress.Enum value response.web_search_call.searching. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResponsesStreamEventTypefromString(String value) Parses a serialized value to a ResponsesStreamEventType instance.toString()static ResponsesStreamEventTypeReturns the enum constant of this type with the specified name.static ResponsesStreamEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ERROR
Enum value error. -
RESPONSE_COMPLETED
Enum value response.completed. -
RESPONSE_CONTENT_PART_ADDED
Enum value response.content_part.added. -
RESPONSE_CONTENT_PART_DONE
Enum value response.content_part.done. -
RESPONSE_CREATED
Enum value response.created. -
RESPONSE_FAILED
Enum value response.failed. -
RESPONSE_FILE_SEARCH_CALL_COMPLETED
Enum value response.file_search_call.completed. -
RESPONSE_FILE_SEARCH_CALL_IN_PROGRESS
Enum value response.file_search_call.in.progress. -
RESPONSE_FILE_SEARCH_CALL_SEARCHING
Enum value response.file_search_call.searching. -
RESPONSE_FUNCTION_CALL_ARGUMENTS_DELTA
Enum value response.function_call_arguments.delta. -
RESPONSE_FUNCTION_CALL_ARGUMENTS_DONE
Enum value response.function_call_arguments.done. -
RESPONSE_IN_PROGRESS
Enum value response.in_progress. -
RESPONSE_INCOMPLETE
Enum value response.incomplete. -
RESPONSE_OUTPUT_ITEM_ADDED
Enum value response.output_item.added. -
RESPONSE_OUTPUT_ITEM_DONE
Enum value response.output_item.done. -
RESPONSE_OUTPUT_TEXT_ANNOTATION_ADDED
Enum value response.output_text.annotation.added. -
RESPONSE_OUTPUT_TEXT_DELTA
Enum value response.output_text.delta. -
RESPONSE_OUTPUT_TEXT_DONE
Enum value response.output_text.done. -
RESPONSE_REFUSAL_DELTA
Enum value response.refusal.delta. -
RESPONSE_REFUSAL_DONE
Enum value response.refusal.done. -
RESPONSE_WEB_SEARCH_CALL_COMPLETED
Enum value response.web_search_call.completed. -
RESPONSE_WEB_SEARCH_CALL_IN_PROGRESS
Enum value response.web_search_call.in_progress. -
RESPONSE_WEB_SEARCH_CALL_SEARCHING
Enum value response.web_search_call.searching.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
Parses a serialized value to a ResponsesStreamEventType instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed ResponsesStreamEventType object, or null if unable to parse.
-
toString
- Overrides:
toStringin classEnum<ResponsesStreamEventType>
-