SessionReportOrBuilder
public interface SessionReportOrBuilder extends com.google.protobuf.MessageOrBuilder
io/agentscope/aistio/proto/SessionReportOrBuilder.java:8–35定义会话报告或构建器契约的接口。位于 io.agentscope.aistio.proto 包,实现 com.google.protobuf.MessageOrBuilder。核心成员包括 getSessionsList、getSessions、getSessionsCount、getSessionsOrBuilderList、getSessionsOrBuilder。
An interface in io.agentscope.aistio.proto that defines the contract for components that deploys, schedules and serves agents. Declared in io.agentscope.aistio.proto. Implements com.google.protobuf.MessageOrBuilder.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public java.util.List<io.agentscope.aistio.proto.SessionSnapshot> getSessionsList() | 获取会话列表。 `repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;` |
public io.agentscope.aistio.proto.SessionSnapshot getSessions(int index) | 获取会话。 `repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;` |
public int getSessionsCount() | 获取会话数量。 `repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;` |
public java.util.List<? extends io.agentscope.aistio.proto.SessionSnapshotOrBuilder> getSessionsOrBuilderList() | 获取会话或构建器列表。 `repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;` |
public io.agentscope.aistio.proto.SessionSnapshotOrBuilder getSessionsOrBuilder(int index) | 获取会话或构建器。 `repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;` |
方法详情Method Detail
getSessionsList
public java.util.List<io.agentscope.aistio.proto.SessionSnapshot> getSessionsList()
获取会话列表。
repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;
java.util.List<io.agentscope.aistio.proto.SessionSnapshot>io/agentscope/aistio/proto/SessionReportOrBuilder.java:15–16getSessions
public io.agentscope.aistio.proto.SessionSnapshot getSessions(int index)
获取会话。
repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.aistio.proto.SessionSnapshotio/agentscope/aistio/proto/SessionReportOrBuilder.java:20getSessionsCount
public int getSessionsCount()
获取会话数量。
repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;
intio/agentscope/aistio/proto/SessionReportOrBuilder.java:24getSessionsOrBuilderList
public java.util.List<? extends io.agentscope.aistio.proto.SessionSnapshotOrBuilder> getSessionsOrBuilderList()
获取会话或构建器列表。
repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;
java.util.List<? extends io.agentscope.aistio.proto.SessionSnapshotOrBuilder>io/agentscope/aistio/proto/SessionReportOrBuilder.java:28–29getSessionsOrBuilder
public io.agentscope.aistio.proto.SessionSnapshotOrBuilder getSessionsOrBuilder(int index)
获取会话或构建器。
repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.aistio.proto.SessionSnapshotOrBuilderio/agentscope/aistio/proto/SessionReportOrBuilder.java:33–34