EventReportOrBuilder
public interface EventReportOrBuilder extends com.google.protobuf.MessageOrBuilder
io/agentscope/controlplane/proto/EventReportOrBuilder.java:8–57定义事件报告或构建器契约的接口。位于 io.agentscope.controlplane.proto 包,实现 com.google.protobuf.MessageOrBuilder。核心成员包括 getEventsList、getEvents、getEventsCount、getEventsOrBuilderList、getEventsOrBuilder、getReportId。
An interface in io.agentscope.controlplane.proto that defines the contract for components that deploys, schedules and serves agents. Declared in io.agentscope.controlplane.proto. Implements com.google.protobuf.MessageOrBuilder.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public java.util.List<io.agentscope.controlplane.proto.SessionEventMsg> getEventsList() | 获取事件列表。 `repeated .agentscope.protocol.v1.SessionEventMsg events = 1;` |
public io.agentscope.controlplane.proto.SessionEventMsg getEvents(int index) | 获取事件。 `repeated .agentscope.protocol.v1.SessionEventMsg events = 1;` |
public int getEventsCount() | 获取事件数量。 `repeated .agentscope.protocol.v1.SessionEventMsg events = 1;` |
public java.util.List<? extends io.agentscope.controlplane.proto.SessionEventMsgOrBuilder> getEventsOrBuilderList() | 获取事件或构建器列表。 `repeated .agentscope.protocol.v1.SessionEventMsg events = 1;` |
public io.agentscope.controlplane.proto.SessionEventMsgOrBuilder getEventsOrBuilder(int index) | 获取事件或构建器。 `repeated .agentscope.protocol.v1.SessionEventMsg events = 1;` |
public java.lang.String getReportId() | 获取报告标识。 ```
Stable across retries. |
public com.google.protobuf.ByteString getReportIdBytes() | 获取报告标识字节。 ```
Stable across retries. |
方法详情Method Detail
getEventsList
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/EventReportOrBuilder.java:15–16getEvents
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/EventReportOrBuilder.java:20getEventsCount
public int getEventsCount()
获取事件数量。
repeated .agentscope.protocol.v1.SessionEventMsg events = 1;
intio/agentscope/controlplane/proto/EventReportOrBuilder.java:24getEventsOrBuilderList
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/EventReportOrBuilder.java:28–29getEventsOrBuilder
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/EventReportOrBuilder.java:33–34getReportId
public java.lang.String getReportId()
获取报告标识。
Stable across retries.
java.lang.Stringio/agentscope/controlplane/proto/EventReportOrBuilder.java:45getReportIdBytes
public com.google.protobuf.ByteString getReportIdBytes()
获取报告标识字节。
Stable across retries.
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/EventReportOrBuilder.java:55–56