EventReport
public final class EventReport extends com.google.protobuf.GeneratedMessage implements EventReportOrBuilder
io/agentscope/controlplane/proto/EventReport.java:16–899事件报告,承载智能体的部署、调度与服务化运行。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 EventReportOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getEventsList、getEventsOrBuilderList、getEventsCount、getEvents。
EventReport is the Level-2 event stream report (batched, e.g. every 5s or
every 20 events). Written by the control plane into the session_events table.
Protobuf type agentscope.protocol.v1.EventReport
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 ```
EventReport is the Level-2 event stream report (batched, e.g. |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
EVENTS_FIELD_NUMBERstaticfinal | int | 事件 FIELD 数量字段。 The EVENTS FIELD NUMBER field. |
REPORT_ID_FIELD_NUMBERstaticfinal | int | 报告标识 FIELD 数量字段。 The REPORT ID FIELD NUMBER field. |
方法摘要Method Summary
字段详情Field Detail
EVENTS_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER
事件 FIELD 数量字段。声明为 public static final int EVENTS_FIELD_NUMBER。
The EVENTS FIELD NUMBER field.
io/agentscope/controlplane/proto/EventReport.java:52REPORT_ID_FIELD_NUMBER
public static final int REPORT_ID_FIELD_NUMBER
报告标识 FIELD 数量字段。声明为 public static final int REPORT_ID_FIELD_NUMBER。
The REPORT ID FIELD NUMBER field.
io/agentscope/controlplane/proto/EventReport.java:93方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/EventReport.java:39–42internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/controlplane/proto/EventReport.java:44–50getEventsList
public java.util.List<io.agentscope.controlplane.proto.SessionEventMsg> getEventsList()
获取事件列表。
repeated .agentscope.protocol.v1.SessionEventMsg events = 1;
java.util.List<io.agentscope.controlplane.proto.SessionEventMsg>io/agentscope/controlplane/proto/EventReport.java:58–61getEventsOrBuilderList
public java.util.List<? extends io.agentscope.controlplane.proto.SessionEventMsgOrBuilder> getEventsOrBuilderList()
获取事件或构建器列表。
repeated .agentscope.protocol.v1.SessionEventMsg events = 1;
java.util.List<? extends io.agentscope.controlplane.proto.SessionEventMsgOrBuilder>io/agentscope/controlplane/proto/EventReport.java:65–69getEventsCount
public int getEventsCount()
获取事件数量。
repeated .agentscope.protocol.v1.SessionEventMsg events = 1;
intio/agentscope/controlplane/proto/EventReport.java:73–76getEvents
public io.agentscope.controlplane.proto.SessionEventMsg getEvents(int index)
获取事件。
repeated .agentscope.protocol.v1.SessionEventMsg events = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.controlplane.proto.SessionEventMsgio/agentscope/controlplane/proto/EventReport.java:80–83getEventsOrBuilder
public io.agentscope.controlplane.proto.SessionEventMsgOrBuilder getEventsOrBuilder(int index)
获取事件或构建器。
repeated .agentscope.protocol.v1.SessionEventMsg events = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.controlplane.proto.SessionEventMsgOrBuilderio/agentscope/controlplane/proto/EventReport.java:87–91getReportId
public java.lang.String getReportId()
获取报告标识。
Stable across retries.
java.lang.Stringio/agentscope/controlplane/proto/EventReport.java:105–117getReportIdBytes
public com.google.protobuf.ByteString getReportIdBytes()
获取报告标识字节。
Stable across retries.
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/EventReport.java:127–140isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/controlplane/proto/EventReport.java:143–151writeTo
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/EventReport.java:153–163getSerializedSize
public int getSerializedSize()
获取 getSerializedSize。
Returns the serialized size.
intio/agentscope/controlplane/proto/EventReport.java:165–181equals
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/EventReport.java:183–199hashCode
public int hashCode()
返回 hashCode 结果。
Returns the hash code.
intio/agentscope/controlplane/proto/EventReport.java:201–217parseFrom
public static io.agentscope.controlplane.proto.EventReport 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.EventReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:219–223parseFrom
public static io.agentscope.controlplane.proto.EventReport 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.EventReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:224–229parseFrom
public static io.agentscope.controlplane.proto.EventReport 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.EventReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:230–234parseFrom
public static io.agentscope.controlplane.proto.EventReport 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.EventReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:235–240parseFrom
public static io.agentscope.controlplane.proto.EventReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
io.agentscope.controlplane.proto.EventReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:241–244parseFrom
public static io.agentscope.controlplane.proto.EventReport 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.EventReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:245–250parseFrom
public static io.agentscope.controlplane.proto.EventReport 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.EventReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:251–255parseFrom
public static io.agentscope.controlplane.proto.EventReport 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.EventReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:256–262parseDelimitedFrom
public static io.agentscope.controlplane.proto.EventReport 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.EventReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:264–268parseDelimitedFrom
public static io.agentscope.controlplane.proto.EventReport 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.EventReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:270–276parseFrom
public static io.agentscope.controlplane.proto.EventReport 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.EventReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:277–282parseFrom
public static io.agentscope.controlplane.proto.EventReport 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.EventReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/EventReport.java:283–289newBuilderForType
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
Builderio/agentscope/controlplane/proto/EventReport.java:291–292newBuilder
public static Builder newBuilder()
创建构建器。
Returns the new builder.
Builderio/agentscope/controlplane/proto/EventReport.java:293–295newBuilder
public static Builder newBuilder(io.agentscope.controlplane.proto.EventReport prototype)
创建构建器。
Performs the new builder operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
prototype | io.agentscope.controlplane.proto.EventReport | prototype(类型 `io.agentscope.controlplane.proto.EventReport`)。The prototype. |
Builderio/agentscope/controlplane/proto/EventReport.java:296–298toBuilder
public Builder toBuilder()
返回到构建器。
Returns the to builder.
Builderio/agentscope/controlplane/proto/EventReport.java:299–303newBuilderForType
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/EventReport.java:305–310getDefaultInstance
public static io.agentscope.controlplane.proto.EventReport getDefaultInstance()
获取默认实例。
Returns the default instance.
io.agentscope.controlplane.proto.EventReportio/agentscope/controlplane/proto/EventReport.java:859–861parser
public static com.google.protobuf.Parser<EventReport> parser()
返回解析器。
Returns the parser.
com.google.protobuf.Parser<EventReport>io/agentscope/controlplane/proto/EventReport.java:885–887getParserForType
public com.google.protobuf.Parser<EventReport> getParserForType()
获取解析器用于类型。
Returns the parser for type.
com.google.protobuf.Parser<EventReport>io/agentscope/controlplane/proto/EventReport.java:889–892getDefaultInstanceForType
public io.agentscope.controlplane.proto.EventReport getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.controlplane.proto.EventReportio/agentscope/controlplane/proto/EventReport.java:894–897嵌套类详情Nested Class Detail
Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.EventReportOrBuilder构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.EventReportOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
EventReport is the Level-2 event stream report (batched, e.g. every 5s or
every 20 events). Written by the control plane into the session_events table.
Protobuf type agentscope.protocol.v1.EventReport