Interface SessionEventMsgOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SessionEventMsg, SessionEventMsg.Builder

public interface SessionEventMsgOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    complete message/event text for durable replay
    com.google.protobuf.ByteString
    complete message/event text for durable replay
    int
    int32 duration_ms = 12;
    session_start | message | tool_call | tool_result | session_end | compaction
    com.google.protobuf.ByteString
    session_start | message | tool_call | tool_result | session_end | compaction
    com.google.protobuf.ByteString
    framework-private JSON
    long
    unix milliseconds
    user | assistant | system | tool
    com.google.protobuf.ByteString
    user | assistant | system | tool
    int
    monotonically increasing per session; idempotency key
    string session_id = 1;
    com.google.protobuf.ByteString
    string session_id = 1;
    int
    int32 tokens_in = 10;
    int
    int32 tokens_out = 11;
    com.google.protobuf.ByteString
    JSON
    string tool_name = 7;
    com.google.protobuf.ByteString
    string tool_name = 7;
    string tool_output = 9;
    com.google.protobuf.ByteString
    string tool_output = 9;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getSessionId

      String getSessionId()
      string session_id = 1;
      Returns:
      The sessionId.
    • getSessionIdBytes

      com.google.protobuf.ByteString getSessionIdBytes()
      string session_id = 1;
      Returns:
      The bytes for sessionId.
    • getSeq

      int getSeq()
       monotonically increasing per session; idempotency key
       
      int32 seq = 2;
      Returns:
      The seq.
    • getEventType

      String getEventType()
       session_start | message | tool_call | tool_result | session_end | compaction
       
      string event_type = 3;
      Returns:
      The eventType.
    • getEventTypeBytes

      com.google.protobuf.ByteString getEventTypeBytes()
       session_start | message | tool_call | tool_result | session_end | compaction
       
      string event_type = 3;
      Returns:
      The bytes for eventType.
    • getOccurredAt

      long getOccurredAt()
       unix milliseconds
       
      int64 occurred_at = 4;
      Returns:
      The occurredAt.
    • getRole

      String getRole()
       user | assistant | system | tool
       
      string role = 5;
      Returns:
      The role.
    • getRoleBytes

      com.google.protobuf.ByteString getRoleBytes()
       user | assistant | system | tool
       
      string role = 5;
      Returns:
      The bytes for role.
    • getContent

      String getContent()
       complete message/event text for durable replay
       
      string content = 6;
      Returns:
      The content.
    • getContentBytes

      com.google.protobuf.ByteString getContentBytes()
       complete message/event text for durable replay
       
      string content = 6;
      Returns:
      The bytes for content.
    • getToolName

      String getToolName()
      string tool_name = 7;
      Returns:
      The toolName.
    • getToolNameBytes

      com.google.protobuf.ByteString getToolNameBytes()
      string tool_name = 7;
      Returns:
      The bytes for toolName.
    • getToolInput

      com.google.protobuf.ByteString getToolInput()
       JSON
       
      bytes tool_input = 8;
      Returns:
      The toolInput.
    • getToolOutput

      String getToolOutput()
      string tool_output = 9;
      Returns:
      The toolOutput.
    • getToolOutputBytes

      com.google.protobuf.ByteString getToolOutputBytes()
      string tool_output = 9;
      Returns:
      The bytes for toolOutput.
    • getTokensIn

      int getTokensIn()
      int32 tokens_in = 10;
      Returns:
      The tokensIn.
    • getTokensOut

      int getTokensOut()
      int32 tokens_out = 11;
      Returns:
      The tokensOut.
    • getDurationMs

      int getDurationMs()
      int32 duration_ms = 12;
      Returns:
      The durationMs.
    • getFrameworkMeta

      com.google.protobuf.ByteString getFrameworkMeta()
       framework-private JSON
       
      bytes framework_meta = 13;
      Returns:
      The frameworkMeta.