Enum Class RemoteEventType
- All Implemented Interfaces:
Serializable,Comparable<RemoteEventType>,Constable
Stable wire event types for remote subagent streaming over Agent Protocol.
These values must remain backward-compatible across versions; unknown types should be ignored by older clients.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCarries anAgentEventthat has no dedicated wire type, fully serialized inRemoteAgentEvent.getPayload(). -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteEventTypeReturns the enum constant of this class with the specified name.static RemoteEventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUN_STARTED
-
RUN_FINISHED
-
RUN_ERROR
-
TEXT_DELTA
-
THINKING_DELTA
-
TOOL_CALL_START
-
TOOL_CALL_END
-
TOOL_RESULT
-
REQUIRE_CONFIRM
-
STATUS
-
AGENT_EVENT
Carries anAgentEventthat has no dedicated wire type, fully serialized inRemoteAgentEvent.getPayload(). Emitted only atdetail=verbose; clients that predate this type skip it.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-