Package io.agentscope.aistio.proto
Interface ContextReportOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContextReport,ContextReport.Builder
public interface ContextReportOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongunix millisecondslongunix millisecondsstring compaction_summary = 8;com.google.protobuf.ByteStringstring compaction_summary = 8;string context_hash = 2;com.google.protobuf.ByteStringstring context_hash = 2;string framework = 13;com.google.protobuf.ByteStringstring framework = 13;com.google.protobuf.ByteStringframework-private JSON (graph state, session metadata, ...)booleanbool is_compacted = 7;intint32 max_tokens = 12;com.google.protobuf.ByteStringJSON array of {role, content, is_compaction?}intint32 original_message_count = 9;string session_id = 1;com.google.protobuf.ByteStringstring session_id = 1;string system_prompt = 4;com.google.protobuf.ByteStringstring system_prompt = 4;com.google.protobuf.ByteStringgetTools()JSON array of ToolInfointint32 total_tokens = 11;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-
getContextHash
String getContextHash()string context_hash = 2;- Returns:
- The contextHash.
-
getContextHashBytes
com.google.protobuf.ByteString getContextHashBytes()string context_hash = 2;- Returns:
- The bytes for contextHash.
-
getCapturedAt
long getCapturedAt()unix milliseconds
int64 captured_at = 3;- Returns:
- The capturedAt.
-
getSystemPrompt
String getSystemPrompt()string system_prompt = 4;- Returns:
- The systemPrompt.
-
getSystemPromptBytes
com.google.protobuf.ByteString getSystemPromptBytes()string system_prompt = 4;- Returns:
- The bytes for systemPrompt.
-
getMessages
com.google.protobuf.ByteString getMessages()JSON array of {role, content, is_compaction?}bytes messages = 5;- Returns:
- The messages.
-
getTools
com.google.protobuf.ByteString getTools()JSON array of ToolInfo
bytes tools = 6;- Returns:
- The tools.
-
getIsCompacted
boolean getIsCompacted()bool is_compacted = 7;- Returns:
- The isCompacted.
-
getCompactionSummary
String getCompactionSummary()string compaction_summary = 8;- Returns:
- The compactionSummary.
-
getCompactionSummaryBytes
com.google.protobuf.ByteString getCompactionSummaryBytes()string compaction_summary = 8;- Returns:
- The bytes for compactionSummary.
-
getOriginalMessageCount
int getOriginalMessageCount()int32 original_message_count = 9;- Returns:
- The originalMessageCount.
-
getCompactedAt
long getCompactedAt()unix milliseconds
int64 compacted_at = 10;- Returns:
- The compactedAt.
-
getTotalTokens
int getTotalTokens()int32 total_tokens = 11;- Returns:
- The totalTokens.
-
getMaxTokens
int getMaxTokens()int32 max_tokens = 12;- Returns:
- The maxTokens.
-
getFramework
String getFramework()string framework = 13;- Returns:
- The framework.
-
getFrameworkBytes
com.google.protobuf.ByteString getFrameworkBytes()string framework = 13;- Returns:
- The bytes for framework.
-
getFrameworkState
com.google.protobuf.ByteString getFrameworkState()framework-private JSON (graph state, session metadata, ...)
bytes framework_state = 14;- Returns:
- The frameworkState.
-