Package io.agentscope.core.agui.event
Record Class AguiEvent.ReasoningEncryptedValue
java.lang.Object
java.lang.Record
io.agentscope.core.agui.event.AguiEvent.ReasoningEncryptedValue
- All Implemented Interfaces:
AguiEvent
- Enclosing interface:
- AguiEvent
public static record AguiEvent.ReasoningEncryptedValue(String threadId, String runId, String subtype, String entityId, String encryptedValue, Long timestamp, Object rawEvent)
extends Record
implements AguiEvent
Event containing an encrypted reasoning value. Used for encrypted
reasoning content (ZDR mode), where sensitive reasoning tokens are
encrypted before transmission.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.agentscope.core.agui.event.AguiEvent
AguiEvent.ActivityDelta, AguiEvent.ActivitySnapshot, AguiEvent.Custom, AguiEvent.Interrupt, AguiEvent.JsonPatchOperation, AguiEvent.MessagesSnapshot, AguiEvent.Raw, AguiEvent.ReasoningEncryptedValue, AguiEvent.ReasoningEnd, AguiEvent.ReasoningMessageChunk, AguiEvent.ReasoningMessageContent, AguiEvent.ReasoningMessageEnd, AguiEvent.ReasoningMessageStart, AguiEvent.ReasoningStart, AguiEvent.RunError, AguiEvent.RunFinished, AguiEvent.RunFinishedInterruptOutcome, AguiEvent.RunFinishedOutcome, AguiEvent.RunFinishedSuccessOutcome, AguiEvent.RunStarted, AguiEvent.StateDelta, AguiEvent.StateSnapshot, AguiEvent.StepFinished, AguiEvent.StepStarted, AguiEvent.TextMessageChunk, AguiEvent.TextMessageContent, AguiEvent.TextMessageEnd, AguiEvent.TextMessageStart, AguiEvent.ToolCallArgs, AguiEvent.ToolCallChunk, AguiEvent.ToolCallEnd, AguiEvent.ToolCallResult, AguiEvent.ToolCallStart -
Constructor Summary
ConstructorsConstructorDescriptionReasoningEncryptedValue(String threadId, String runId, String subtype, String entityId, String encryptedValue) ReasoningEncryptedValue(String threadId, String runId, String subtype, String entityId, String encryptedValue, Long timestamp, Object rawEvent) Creates an instance of aReasoningEncryptedValuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theencryptedValuerecord component.entityId()Returns the value of theentityIdrecord component.final booleanIndicates whether some other object is "equal to" this one.getRunId()Get the run ID associated with this event.Get the thread ID associated with this event.getType()Get the event type.final inthashCode()Returns a hash code value for this object.rawEvent()Returns the value of therawEventrecord component.runId()Returns the value of therunIdrecord component.subtype()Returns the value of thesubtyperecord component.threadId()Returns the value of thethreadIdrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReasoningEncryptedValue
public ReasoningEncryptedValue(String threadId, String runId, String subtype, String entityId, String encryptedValue, Long timestamp, Object rawEvent) Creates an instance of aReasoningEncryptedValuerecord class.- Parameters:
threadId- the value for thethreadIdrecord componentrunId- the value for therunIdrecord componentsubtype- the value for thesubtyperecord componententityId- the value for theentityIdrecord componentencryptedValue- the value for theencryptedValuerecord componenttimestamp- the value for thetimestamprecord componentrawEvent- the value for therawEventrecord component
-
ReasoningEncryptedValue
-
-
Method Details
-
getType
Description copied from interface:AguiEventGet the event type. -
getThreadId
Description copied from interface:AguiEventGet the thread ID associated with this event.- Specified by:
getThreadIdin interfaceAguiEvent- Returns:
- The thread ID
-
getRunId
Description copied from interface:AguiEventGet the run ID associated with this event. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
threadId
Returns the value of thethreadIdrecord component.- Returns:
- the value of the
threadIdrecord component
-
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
subtype
Returns the value of thesubtyperecord component.- Returns:
- the value of the
subtyperecord component
-
entityId
Returns the value of theentityIdrecord component.- Returns:
- the value of the
entityIdrecord component
-
encryptedValue
Returns the value of theencryptedValuerecord component.- Returns:
- the value of the
encryptedValuerecord component
-
timestamp
Returns the value of thetimestamprecord component. -
rawEvent
Returns the value of therawEventrecord component.
-