ContextReport
public final class ContextReport extends com.google.protobuf.GeneratedMessage implements ContextReportOrBuilder
io/agentscope/controlplane/proto/ContextReport.java:16–1734上下文报告,承载智能体的部署、调度与服务化运行。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 ContextReportOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getSessionId、getSessionIdBytes、getContextHash、getContextHashBytes。
ContextReport is the Level-4 effective-context report, pushed on compaction
or when context_hash changes (debounced). Written into context_snapshots.
Protobuf type agentscope.protocol.v1.ContextReport
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 ```
ContextReport is the Level-4 effective-context report, pushed on compaction
or when context_hash changes (debounced). |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
SESSION_ID_FIELD_NUMBERstaticfinal | int | 会话标识 FIELD 数量字段。 The SESSION ID FIELD NUMBER field. |
CONTEXT_HASH_FIELD_NUMBERstaticfinal | int | 上下文 HASH FIELD 数量字段。 The CONTEXT HASH FIELD NUMBER field. |
CAPTURED_AT_FIELD_NUMBERstaticfinal | int | CAPTURED AT FIELD 数量字段。 The CAPTURED AT FIELD NUMBER field. |
SYSTEM_PROMPT_FIELD_NUMBERstaticfinal | int | 系统提示词 FIELD 数量字段。 The SYSTEM PROMPT FIELD NUMBER field. |
MESSAGES_FIELD_NUMBERstaticfinal | int | 消息 FIELD 数量字段。 The MESSAGES FIELD NUMBER field. |
TOOLS_FIELD_NUMBERstaticfinal | int | 工具 FIELD 数量字段。 The TOOLS FIELD NUMBER field. |
IS_COMPACTED_FIELD_NUMBERstaticfinal | int | 是 COMPACTED FIELD 数量字段。 The IS COMPACTED FIELD NUMBER field. |
COMPACTION_SUMMARY_FIELD_NUMBERstaticfinal | int | 压缩摘要 FIELD 数量字段。 The COMPACTION SUMMARY FIELD NUMBER field. |
ORIGINAL_MESSAGE_COUNT_FIELD_NUMBERstaticfinal | int | ORIGINAL 消息数量 FIELD 数量字段。 The ORIGINAL MESSAGE COUNT FIELD NUMBER field. |
COMPACTED_AT_FIELD_NUMBERstaticfinal | int | COMPACTED AT FIELD 数量字段。 The COMPACTED AT FIELD NUMBER field. |
TOTAL_TOKENS_FIELD_NUMBERstaticfinal | int | 总数令牌数 FIELD 数量字段。 The TOTAL TOKENS FIELD NUMBER field. |
MAX_TOKENS_FIELD_NUMBERstaticfinal | int | 最大令牌数 FIELD 数量字段。 The MAX TOKENS FIELD NUMBER field. |
FRAMEWORK_FIELD_NUMBERstaticfinal | int | FRAMEWORK FIELD 数量字段。 The FRAMEWORK FIELD NUMBER field. |
FRAMEWORK_STATE_FIELD_NUMBERstaticfinal | int | FRAMEWORK 状态 FIELD 数量字段。 The FRAMEWORK STATE FIELD NUMBER field. |
方法摘要Method Summary
字段详情Field Detail
SESSION_ID_FIELD_NUMBER
public static final int SESSION_ID_FIELD_NUMBER
会话标识 FIELD 数量字段。声明为 public static final int SESSION_ID_FIELD_NUMBER。
The SESSION ID FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:58CONTEXT_HASH_FIELD_NUMBER
public static final int CONTEXT_HASH_FIELD_NUMBER
上下文 HASH FIELD 数量字段。声明为 public static final int CONTEXT_HASH_FIELD_NUMBER。
The CONTEXT HASH FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:97CAPTURED_AT_FIELD_NUMBER
public static final int CAPTURED_AT_FIELD_NUMBER
CAPTURED AT FIELD 数量字段。声明为 public static final int CAPTURED_AT_FIELD_NUMBER。
The CAPTURED AT FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:136SYSTEM_PROMPT_FIELD_NUMBER
public static final int SYSTEM_PROMPT_FIELD_NUMBER
系统提示词 FIELD 数量字段。声明为 public static final int SYSTEM_PROMPT_FIELD_NUMBER。
The SYSTEM PROMPT FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:151MESSAGES_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER
消息 FIELD 数量字段。声明为 public static final int MESSAGES_FIELD_NUMBER。
The MESSAGES FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:190TOOLS_FIELD_NUMBER
public static final int TOOLS_FIELD_NUMBER
工具 FIELD 数量字段。声明为 public static final int TOOLS_FIELD_NUMBER。
The TOOLS FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:205IS_COMPACTED_FIELD_NUMBER
public static final int IS_COMPACTED_FIELD_NUMBER
是 COMPACTED FIELD 数量字段。声明为 public static final int IS_COMPACTED_FIELD_NUMBER。
The IS COMPACTED FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:220COMPACTION_SUMMARY_FIELD_NUMBER
public static final int COMPACTION_SUMMARY_FIELD_NUMBER
压缩摘要 FIELD 数量字段。声明为 public static final int COMPACTION_SUMMARY_FIELD_NUMBER。
The COMPACTION SUMMARY FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:231ORIGINAL_MESSAGE_COUNT_FIELD_NUMBER
public static final int ORIGINAL_MESSAGE_COUNT_FIELD_NUMBER
ORIGINAL 消息数量 FIELD 数量字段。声明为 public static final int ORIGINAL_MESSAGE_COUNT_FIELD_NUMBER。
The ORIGINAL MESSAGE COUNT FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:270COMPACTED_AT_FIELD_NUMBER
public static final int COMPACTED_AT_FIELD_NUMBER
COMPACTED AT FIELD 数量字段。声明为 public static final int COMPACTED_AT_FIELD_NUMBER。
The COMPACTED AT FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:281TOTAL_TOKENS_FIELD_NUMBER
public static final int TOTAL_TOKENS_FIELD_NUMBER
总数令牌数 FIELD 数量字段。声明为 public static final int TOTAL_TOKENS_FIELD_NUMBER。
The TOTAL TOKENS FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:296MAX_TOKENS_FIELD_NUMBER
public static final int MAX_TOKENS_FIELD_NUMBER
最大令牌数 FIELD 数量字段。声明为 public static final int MAX_TOKENS_FIELD_NUMBER。
The MAX TOKENS FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:307FRAMEWORK_FIELD_NUMBER
public static final int FRAMEWORK_FIELD_NUMBER
FRAMEWORK FIELD 数量字段。声明为 public static final int FRAMEWORK_FIELD_NUMBER。
The FRAMEWORK FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:318FRAMEWORK_STATE_FIELD_NUMBER
public static final int FRAMEWORK_STATE_FIELD_NUMBER
FRAMEWORK 状态 FIELD 数量字段。声明为 public static final int FRAMEWORK_STATE_FIELD_NUMBER。
The FRAMEWORK STATE FIELD NUMBER field.
io/agentscope/controlplane/proto/ContextReport.java:357方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/ContextReport.java:45–48internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/controlplane/proto/ContextReport.java:50–56getSessionId
public java.lang.String getSessionId()
获取会话标识。
string session_id = 1;
java.lang.Stringio/agentscope/controlplane/proto/ContextReport.java:65–77getSessionIdBytes
public com.google.protobuf.ByteString getSessionIdBytes()
获取会话标识字节。
string session_id = 1;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ContextReport.java:82–95getContextHash
public java.lang.String getContextHash()
获取 getContextHash。
string context_hash = 2;
java.lang.Stringio/agentscope/controlplane/proto/ContextReport.java:104–116getContextHashBytes
public com.google.protobuf.ByteString getContextHashBytes()
获取 getContextHashBytes。
string context_hash = 2;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ContextReport.java:121–134getCapturedAt
public long getCapturedAt()
获取 getCapturedAt。
unix milliseconds int64 captured_at = 3;
longio/agentscope/controlplane/proto/ContextReport.java:146–149getSystemPrompt
public java.lang.String getSystemPrompt()
获取系统提示词。
string system_prompt = 4;
java.lang.Stringio/agentscope/controlplane/proto/ContextReport.java:158–170getSystemPromptBytes
public com.google.protobuf.ByteString getSystemPromptBytes()
获取系统提示词字节。
string system_prompt = 4;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ContextReport.java:175–188getMessages
public com.google.protobuf.ByteString getMessages()
获取消息。
JSON array of {role, content, is_compaction?} bytes messages = 5;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ContextReport.java:200–203getTools
public com.google.protobuf.ByteString getTools()
获取工具。
JSON array of ToolInfo bytes tools = 6;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ContextReport.java:215–218getIsCompacted
public boolean getIsCompacted()
获取 getIsCompacted。
bool is_compacted = 7;
booleanio/agentscope/controlplane/proto/ContextReport.java:226–229getCompactionSummary
public java.lang.String getCompactionSummary()
获取压缩摘要。
string compaction_summary = 8;
java.lang.Stringio/agentscope/controlplane/proto/ContextReport.java:238–250getCompactionSummaryBytes
public com.google.protobuf.ByteString getCompactionSummaryBytes()
获取压缩摘要字节。
string compaction_summary = 8;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ContextReport.java:255–268getOriginalMessageCount
public int getOriginalMessageCount()
获取 getOriginalMessageCount。
int32 original_message_count = 9;
intio/agentscope/controlplane/proto/ContextReport.java:276–279getCompactedAt
public long getCompactedAt()
获取 getCompactedAt。
unix milliseconds int64 compacted_at = 10;
longio/agentscope/controlplane/proto/ContextReport.java:291–294getTotalTokens
public int getTotalTokens()
获取总数令牌数。
int32 total_tokens = 11;
intio/agentscope/controlplane/proto/ContextReport.java:302–305getMaxTokens
public int getMaxTokens()
获取最大令牌数。
int32 max_tokens = 12;
intio/agentscope/controlplane/proto/ContextReport.java:313–316getFramework
public java.lang.String getFramework()
获取 getFramework。
string framework = 13;
java.lang.Stringio/agentscope/controlplane/proto/ContextReport.java:325–337getFrameworkBytes
public com.google.protobuf.ByteString getFrameworkBytes()
获取 getFrameworkBytes。
string framework = 13;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ContextReport.java:342–355getFrameworkState
public com.google.protobuf.ByteString getFrameworkState()
获取 getFrameworkState。
framework-private JSON (graph state, session metadata, ...) bytes framework_state = 14;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ContextReport.java:367–370isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/controlplane/proto/ContextReport.java:373–381writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
设置写入到。
Performs the write to operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
output | com.google.protobuf.CodedOutputStream | 输出(类型 `com.google.protobuf.CodedOutputStream`)。The output. |
java.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:383–429getSerializedSize
public int getSerializedSize()
获取 getSerializedSize。
Returns the serialized size.
intio/agentscope/controlplane/proto/ContextReport.java:431–491equals
public boolean equals(java.lang.Object obj)
设置该参数。
Performs the equals operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
obj | java.lang.Object | obj(类型 `java.lang.Object`)。The obj. |
booleanio/agentscope/controlplane/proto/ContextReport.java:493–533hashCode
public int hashCode()
返回 hashCode 结果。
Returns the hash code.
intio/agentscope/controlplane/proto/ContextReport.java:535–576parseFrom
public static io.agentscope.controlplane.proto.ContextReport parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | java.nio.ByteBuffer | 数据(类型 `java.nio.ByteBuffer`)。The data. |
io.agentscope.controlplane.proto.ContextReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:578–582parseFrom
public static io.agentscope.controlplane.proto.ContextReport parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | java.nio.ByteBuffer | 数据(类型 `java.nio.ByteBuffer`)。The data. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.ContextReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:583–588parseFrom
public static io.agentscope.controlplane.proto.ContextReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | com.google.protobuf.ByteString | 数据(类型 `com.google.protobuf.ByteString`)。The data. |
io.agentscope.controlplane.proto.ContextReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:589–593parseFrom
public static io.agentscope.controlplane.proto.ContextReport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | com.google.protobuf.ByteString | 数据(类型 `com.google.protobuf.ByteString`)。The data. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.ContextReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:594–599parseFrom
public static io.agentscope.controlplane.proto.ContextReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
io.agentscope.controlplane.proto.ContextReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:600–603parseFrom
public static io.agentscope.controlplane.proto.ContextReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.ContextReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:604–609parseFrom
public static io.agentscope.controlplane.proto.ContextReport parseFrom(java.io.InputStream input) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
io.agentscope.controlplane.proto.ContextReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:610–614parseFrom
public static io.agentscope.controlplane.proto.ContextReport parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.ContextReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:615–621parseDelimitedFrom
public static io.agentscope.controlplane.proto.ContextReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
解析 parseDelimitedFrom。
Parses the delimited from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
io.agentscope.controlplane.proto.ContextReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:623–627parseDelimitedFrom
public static io.agentscope.controlplane.proto.ContextReport parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
解析 parseDelimitedFrom。
Parses the delimited from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.ContextReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:629–635parseFrom
public static io.agentscope.controlplane.proto.ContextReport parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | com.google.protobuf.CodedInputStream | 输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input. |
io.agentscope.controlplane.proto.ContextReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:636–641parseFrom
public static io.agentscope.controlplane.proto.ContextReport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | com.google.protobuf.CodedInputStream | 输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.ContextReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ContextReport.java:642–648newBuilderForType
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
Builderio/agentscope/controlplane/proto/ContextReport.java:650–651newBuilder
public static Builder newBuilder()
创建构建器。
Returns the new builder.
Builderio/agentscope/controlplane/proto/ContextReport.java:652–654newBuilder
public static Builder newBuilder(io.agentscope.controlplane.proto.ContextReport prototype)
创建构建器。
Performs the new builder operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
prototype | io.agentscope.controlplane.proto.ContextReport | prototype(类型 `io.agentscope.controlplane.proto.ContextReport`)。The prototype. |
Builderio/agentscope/controlplane/proto/ContextReport.java:655–657toBuilder
public Builder toBuilder()
返回到构建器。
Returns the to builder.
Builderio/agentscope/controlplane/proto/ContextReport.java:658–662newBuilderForType
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
创建构建器用于类型。
Performs the new builder for type operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
parent | com.google.protobuf.GeneratedMessage.BuilderParent | 父级(类型 `com.google.protobuf.GeneratedMessage.BuilderParent`)。The parent. |
Builderio/agentscope/controlplane/proto/ContextReport.java:664–669getDefaultInstance
public static io.agentscope.controlplane.proto.ContextReport getDefaultInstance()
获取默认实例。
Returns the default instance.
io.agentscope.controlplane.proto.ContextReportio/agentscope/controlplane/proto/ContextReport.java:1694–1696parser
public static com.google.protobuf.Parser<ContextReport> parser()
返回解析器。
Returns the parser.
com.google.protobuf.Parser<ContextReport>io/agentscope/controlplane/proto/ContextReport.java:1720–1722getParserForType
public com.google.protobuf.Parser<ContextReport> getParserForType()
获取解析器用于类型。
Returns the parser for type.
com.google.protobuf.Parser<ContextReport>io/agentscope/controlplane/proto/ContextReport.java:1724–1727getDefaultInstanceForType
public io.agentscope.controlplane.proto.ContextReport getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.controlplane.proto.ContextReportio/agentscope/controlplane/proto/ContextReport.java:1729–1732嵌套类详情Nested Class Detail
Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.ContextReportOrBuilder构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.ContextReportOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
ContextReport is the Level-4 effective-context report, pushed on compaction
or when context_hash changes (debounced). Written into context_snapshots.
Protobuf type agentscope.protocol.v1.ContextReport