SessionReport
public final class SessionReport extends com.google.protobuf.GeneratedMessage implements SessionReportOrBuilder
io/agentscope/controlplane/proto/SessionReport.java:15–726会话报告,承载智能体的部署、调度与服务化运行。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 SessionReportOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getSessionsList、getSessionsOrBuilderList、getSessionsCount、getSessions。
Session state report (periodic batch, e.g. every 10s)
Protobuf type agentscope.protocol.v1.SessionReport
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 ```
Session state report (periodic batch, e.g. |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
SESSIONS_FIELD_NUMBERstaticfinal | int | 会话 FIELD 数量字段。 The SESSIONS FIELD NUMBER field. |
方法摘要Method Summary
字段详情Field Detail
SESSIONS_FIELD_NUMBER
public static final int SESSIONS_FIELD_NUMBER
会话 FIELD 数量字段。声明为 public static final int SESSIONS_FIELD_NUMBER。
The SESSIONS FIELD NUMBER field.
io/agentscope/controlplane/proto/SessionReport.java:50方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/SessionReport.java:37–40internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/controlplane/proto/SessionReport.java:42–48getSessionsList
public java.util.List<io.agentscope.controlplane.proto.SessionSnapshot> getSessionsList()
获取会话列表。
repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;
java.util.List<io.agentscope.controlplane.proto.SessionSnapshot>io/agentscope/controlplane/proto/SessionReport.java:56–59getSessionsOrBuilderList
public java.util.List<? extends io.agentscope.controlplane.proto.SessionSnapshotOrBuilder> getSessionsOrBuilderList()
获取会话或构建器列表。
repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;
java.util.List<? extends io.agentscope.controlplane.proto.SessionSnapshotOrBuilder>io/agentscope/controlplane/proto/SessionReport.java:63–67getSessionsCount
public int getSessionsCount()
获取会话数量。
repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;
intio/agentscope/controlplane/proto/SessionReport.java:71–74getSessions
public io.agentscope.controlplane.proto.SessionSnapshot getSessions(int index)
获取会话。
repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.controlplane.proto.SessionSnapshotio/agentscope/controlplane/proto/SessionReport.java:78–81getSessionsOrBuilder
public io.agentscope.controlplane.proto.SessionSnapshotOrBuilder getSessionsOrBuilder(int index)
获取会话或构建器。
repeated .agentscope.protocol.v1.SessionSnapshot sessions = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.controlplane.proto.SessionSnapshotOrBuilderio/agentscope/controlplane/proto/SessionReport.java:85–89isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/controlplane/proto/SessionReport.java:92–100writeTo
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/SessionReport.java:102–109getSerializedSize
public int getSerializedSize()
获取 getSerializedSize。
Returns the serialized size.
intio/agentscope/controlplane/proto/SessionReport.java:111–124equals
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/SessionReport.java:126–140hashCode
public int hashCode()
返回 hashCode 结果。
Returns the hash code.
intio/agentscope/controlplane/proto/SessionReport.java:142–156parseFrom
public static io.agentscope.controlplane.proto.SessionReport 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.SessionReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:158–162parseFrom
public static io.agentscope.controlplane.proto.SessionReport 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.SessionReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:163–168parseFrom
public static io.agentscope.controlplane.proto.SessionReport 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.SessionReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:169–173parseFrom
public static io.agentscope.controlplane.proto.SessionReport 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.SessionReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:174–179parseFrom
public static io.agentscope.controlplane.proto.SessionReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
io.agentscope.controlplane.proto.SessionReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:180–183parseFrom
public static io.agentscope.controlplane.proto.SessionReport 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.SessionReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:184–189parseFrom
public static io.agentscope.controlplane.proto.SessionReport 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.SessionReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:190–194parseFrom
public static io.agentscope.controlplane.proto.SessionReport 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.SessionReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:195–201parseDelimitedFrom
public static io.agentscope.controlplane.proto.SessionReport 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.SessionReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:203–207parseDelimitedFrom
public static io.agentscope.controlplane.proto.SessionReport 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.SessionReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:209–215parseFrom
public static io.agentscope.controlplane.proto.SessionReport 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.SessionReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:216–221parseFrom
public static io.agentscope.controlplane.proto.SessionReport 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.SessionReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SessionReport.java:222–228newBuilderForType
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
Builderio/agentscope/controlplane/proto/SessionReport.java:230–231newBuilder
public static Builder newBuilder()
创建构建器。
Returns the new builder.
Builderio/agentscope/controlplane/proto/SessionReport.java:232–234newBuilder
public static Builder newBuilder(io.agentscope.controlplane.proto.SessionReport prototype)
创建构建器。
Performs the new builder operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
prototype | io.agentscope.controlplane.proto.SessionReport | prototype(类型 `io.agentscope.controlplane.proto.SessionReport`)。The prototype. |
Builderio/agentscope/controlplane/proto/SessionReport.java:235–237toBuilder
public Builder toBuilder()
返回到构建器。
Returns the to builder.
Builderio/agentscope/controlplane/proto/SessionReport.java:238–242newBuilderForType
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/SessionReport.java:244–249getDefaultInstance
public static io.agentscope.controlplane.proto.SessionReport getDefaultInstance()
获取默认实例。
Returns the default instance.
io.agentscope.controlplane.proto.SessionReportio/agentscope/controlplane/proto/SessionReport.java:686–688parser
public static com.google.protobuf.Parser<SessionReport> parser()
返回解析器。
Returns the parser.
com.google.protobuf.Parser<SessionReport>io/agentscope/controlplane/proto/SessionReport.java:712–714getParserForType
public com.google.protobuf.Parser<SessionReport> getParserForType()
获取解析器用于类型。
Returns the parser for type.
com.google.protobuf.Parser<SessionReport>io/agentscope/controlplane/proto/SessionReport.java:716–719getDefaultInstanceForType
public io.agentscope.controlplane.proto.SessionReport getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.controlplane.proto.SessionReportio/agentscope/controlplane/proto/SessionReport.java:721–724嵌套类详情Nested Class Detail
Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.SessionReportOrBuilder构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.SessionReportOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
Session state report (periodic batch, e.g. every 10s)
Protobuf type agentscope.protocol.v1.SessionReport