AS AgentScopeAPI 手册 / API Reference

EventReportOrBuilder

public interface EventReportOrBuilder extends com.google.protobuf.MessageOrBuilder
源码Source 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;

返回Returns java.util.List<io.agentscope.controlplane.proto.SessionEventMsg>
返回java.util.列出。Returns java util list.
源码Source io/agentscope/controlplane/proto/EventReportOrBuilder.java:15–16

getEvents

public io.agentscope.controlplane.proto.SessionEventMsg getEvents(int index)

获取事件。

repeated .agentscope.protocol.v1.SessionEventMsg events = 1;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index.
返回Returns io.agentscope.controlplane.proto.SessionEventMsg
返回io.agentscope.controlplane.协议.SessionEventMsg。Returns io agentscope controlplane proto session event msg.
源码Source io/agentscope/controlplane/proto/EventReportOrBuilder.java:20

getEventsCount

public int getEventsCount()

获取事件数量。

repeated .agentscope.protocol.v1.SessionEventMsg events = 1;

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/EventReportOrBuilder.java:24

getEventsOrBuilderList

public java.util.List<? extends io.agentscope.controlplane.proto.SessionEventMsgOrBuilder> getEventsOrBuilderList()

获取事件或构建器列表。

repeated .agentscope.protocol.v1.SessionEventMsg events = 1;

返回Returns java.util.List<? extends io.agentscope.controlplane.proto.SessionEventMsgOrBuilder>
返回java.util.列出。Returns java util list.
源码Source io/agentscope/controlplane/proto/EventReportOrBuilder.java:28–29

getEventsOrBuilder

public io.agentscope.controlplane.proto.SessionEventMsgOrBuilder getEventsOrBuilder(int index)

获取事件或构建器。

repeated .agentscope.protocol.v1.SessionEventMsg events = 1;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index.
返回Returns io.agentscope.controlplane.proto.SessionEventMsgOrBuilder
返回io.agentscope.controlplane.协议.SessionEventMsgOrBuilder。Returns io agentscope controlplane proto session event msg or builder.
源码Source io/agentscope/controlplane/proto/EventReportOrBuilder.java:33–34

getReportId

public java.lang.String getReportId()

获取报告标识。

Stable across retries.

返回Returns java.lang.String
返回java.lang.String。The reportId.
源码Source io/agentscope/controlplane/proto/EventReportOrBuilder.java:45

getReportIdBytes

public com.google.protobuf.ByteString getReportIdBytes()

获取报告标识字节。

Stable across retries.

返回Returns com.google.protobuf.ByteString
字节用于 reportId。The bytes for reportId.
源码Source io/agentscope/controlplane/proto/EventReportOrBuilder.java:55–56
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.