AS AgentScopeAPI 手册 / API Reference

Upstream

public final class Upstream extends com.google.protobuf.GeneratedMessage implements UpstreamOrBuilder
源码Source io/agentscope/controlplane/proto/Upstream.java:11–2648

上游,承载智能体的部署、调度与服务化运行。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 UpstreamOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getPayloadCase、hasMeta、getMeta、getMetaOrBuilder。

Protobuf type agentscope.protocol.v1.Upstream

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
PayloadCase枚举enum
定义负载取值的枚举。
A enum in io.agentscope.controlplane.proto that defines enum values used when components deploys, schedules and serves agents.
Builder类class
构建器,用于构建并配置目标实例。
Protobuf type `agentscope.protocol.v1.Upstream`

字段摘要Field Summary

字段Field类型Type说明Description
META_FIELD_NUMBER
staticfinal
int
元数据 FIELD 数量字段。
The META FIELD NUMBER field.
CONNECT_FIELD_NUMBER
staticfinal
int
连接 FIELD 数量字段。
The CONNECT FIELD NUMBER field.
CONFIG_ACK_FIELD_NUMBER
staticfinal
int
配置确认 FIELD 数量字段。
The CONFIG ACK FIELD NUMBER field.
SESSION_REPORT_FIELD_NUMBER
staticfinal
int
会话报告 FIELD 数量字段。
The SESSION REPORT FIELD NUMBER field.
EXECUTION_ATTEMPT_FIELD_NUMBER
staticfinal
int
执行尝试 FIELD 数量字段。
The EXECUTION ATTEMPT FIELD NUMBER field.
HEARTBEAT_FIELD_NUMBER
staticfinal
int
心跳 FIELD 数量字段。
The HEARTBEAT FIELD NUMBER field.
EVENT_REPORT_FIELD_NUMBER
staticfinal
int
事件报告 FIELD 数量字段。
The EVENT REPORT FIELD NUMBER field.
CONTEXT_REPORT_FIELD_NUMBER
staticfinal
int
上下文报告 FIELD 数量字段。
The CONTEXT REPORT FIELD NUMBER field.
INVENTORY_FIELD_NUMBER
staticfinal
int
清单 FIELD 数量字段。
The INVENTORY FIELD NUMBER field.
CONVERSATION_TURN_FIELD_NUMBER
staticfinal
int
会话轮次 FIELD 数量字段。
The CONVERSATION TURN FIELD NUMBER field.

方法摘要Method Summary

方法Method说明Description
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
staticfinal
获取描述符。
Returns the descriptor.
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 `internalGetFieldAccessorTable` 结果。
Returns the internal get field accessor table.
public PayloadCase getPayloadCase()
获取负载取值。
Returns the payload case.
public boolean hasMeta()
判断是否具有元数据。
`.agentscope.protocol.v1.UpstreamMeta meta = 1;`
public io.agentscope.controlplane.proto.UpstreamMeta getMeta()
获取元数据。
`.agentscope.protocol.v1.UpstreamMeta meta = 1;`
public io.agentscope.controlplane.proto.UpstreamMetaOrBuilder getMetaOrBuilder()
获取元数据或构建器。
`.agentscope.protocol.v1.UpstreamMeta meta = 1;`
public boolean hasConnect()
判断是否具有连接。
`.agentscope.protocol.v1.ConnectRequest connect = 10;`
public io.agentscope.controlplane.proto.ConnectRequest getConnect()
获取连接。
`.agentscope.protocol.v1.ConnectRequest connect = 10;`
public io.agentscope.controlplane.proto.ConnectRequestOrBuilder getConnectOrBuilder()
获取连接或构建器。
`.agentscope.protocol.v1.ConnectRequest connect = 10;`
public boolean hasConfigAck()
判断是否具有配置确认。
`.agentscope.protocol.v1.ConfigAck config_ack = 11;`
public io.agentscope.controlplane.proto.ConfigAck getConfigAck()
获取配置确认。
`.agentscope.protocol.v1.ConfigAck config_ack = 11;`
public io.agentscope.controlplane.proto.ConfigAckOrBuilder getConfigAckOrBuilder()
获取配置确认或构建器。
`.agentscope.protocol.v1.ConfigAck config_ack = 11;`
public boolean hasSessionReport()
判断是否具有会话报告。
`.agentscope.protocol.v1.SessionReport session_report = 12;`
public io.agentscope.controlplane.proto.SessionReport getSessionReport()
获取会话报告。
`.agentscope.protocol.v1.SessionReport session_report = 12;`
public io.agentscope.controlplane.proto.SessionReportOrBuilder getSessionReportOrBuilder()
获取会话报告或构建器。
`.agentscope.protocol.v1.SessionReport session_report = 12;`
public boolean hasExecutionAttempt()
判断是否具有执行尝试。
`.agentscope.protocol.v1.ExecutionAttemptReport execution_attempt = 13;`
public io.agentscope.controlplane.proto.ExecutionAttemptReport getExecutionAttempt()
获取执行尝试。
`.agentscope.protocol.v1.ExecutionAttemptReport execution_attempt = 13;`
public io.agentscope.controlplane.proto.ExecutionAttemptReportOrBuilder getExecutionAttemptOrBuilder()
获取执行尝试或构建器。
`.agentscope.protocol.v1.ExecutionAttemptReport execution_attempt = 13;`
public boolean hasHeartbeat()
判断是否具有心跳。
`.agentscope.protocol.v1.Heartbeat heartbeat = 14;`
public io.agentscope.controlplane.proto.Heartbeat getHeartbeat()
获取心跳。
`.agentscope.protocol.v1.Heartbeat heartbeat = 14;`
public io.agentscope.controlplane.proto.HeartbeatOrBuilder getHeartbeatOrBuilder()
获取心跳或构建器。
`.agentscope.protocol.v1.Heartbeat heartbeat = 14;`
public boolean hasEventReport()
判断是否具有事件报告。
``` Level 2 event stream
public io.agentscope.controlplane.proto.EventReport getEventReport()
获取事件报告。
``` Level 2 event stream
public io.agentscope.controlplane.proto.EventReportOrBuilder getEventReportOrBuilder()
获取事件报告或构建器。
``` Level 2 event stream
public boolean hasContextReport()
判断是否具有上下文报告。
``` Level 4 effective context
public io.agentscope.controlplane.proto.ContextReport getContextReport()
获取上下文报告。
``` Level 4 effective context
public io.agentscope.controlplane.proto.ContextReportOrBuilder getContextReportOrBuilder()
获取上下文报告或构建器。
``` Level 4 effective context
public boolean hasInventory()
判断是否具有清单。
``` instance inventory (subagents / workspaces / health)
public io.agentscope.controlplane.proto.InventoryReport getInventory()
获取清单。
``` instance inventory (subagents / workspaces / health)
public io.agentscope.controlplane.proto.InventoryReportOrBuilder getInventoryOrBuilder()
获取清单或构建器。
``` instance inventory (subagents / workspaces / health)
public boolean hasConversationTurn()
判断是否具有会话轮次。
`.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;`
public io.agentscope.controlplane.proto.ConversationTurnReport getConversationTurn()
获取会话轮次。
`.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;`
public io.agentscope.controlplane.proto.ConversationTurnReportOrBuilder getConversationTurnOrBuilder()
获取会话轮次或构建器。
`.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;`
public final boolean isInitialized()
final
判断是否已初始化。
Returns whether the initialized.
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
设置写入到。
Performs the write to operation.
public int getSerializedSize()
获取 `getSerializedSize`。
Returns the serialized size.
public boolean equals(java.lang.Object obj)
设置该参数。
Performs the equals operation.
public int hashCode()
返回 `hashCode` 结果。
Returns the hash code.
public static io.agentscope.controlplane.proto.Upstream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Upstream parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Upstream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Upstream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Upstream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Upstream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Upstream parseFrom(java.io.InputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Upstream parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Upstream parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.controlplane.proto.Upstream parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.controlplane.proto.Upstream parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Upstream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
public static Builder newBuilder()
static
创建构建器。
Returns the new builder.
public static Builder newBuilder(io.agentscope.controlplane.proto.Upstream prototype)
static
创建构建器。
Performs the new builder operation.
public Builder toBuilder()
返回到构建器。
Returns the to builder.
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
创建构建器用于类型。
Performs the new builder for type operation.
public static io.agentscope.controlplane.proto.Upstream getDefaultInstance()
static
获取默认实例。
Returns the default instance.
public static com.google.protobuf.Parser<Upstream> parser()
static
返回解析器。
Returns the parser.
public com.google.protobuf.Parser<Upstream> getParserForType()
获取解析器用于类型。
Returns the parser for type.
public io.agentscope.controlplane.proto.Upstream getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.

字段详情Field Detail

META_FIELD_NUMBER

public static final int META_FIELD_NUMBER
staticfinal

元数据 FIELD 数量字段。声明为 public static final int META_FIELD_NUMBER。

The META FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/Upstream.java:102

CONNECT_FIELD_NUMBER

public static final int CONNECT_FIELD_NUMBER
staticfinal

连接 FIELD 数量字段。声明为 public static final int CONNECT_FIELD_NUMBER。

The CONNECT FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/Upstream.java:128

CONFIG_ACK_FIELD_NUMBER

public static final int CONFIG_ACK_FIELD_NUMBER
staticfinal

配置确认 FIELD 数量字段。声明为 public static final int CONFIG_ACK_FIELD_NUMBER。

The CONFIG ACK FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/Upstream.java:159

SESSION_REPORT_FIELD_NUMBER

public static final int SESSION_REPORT_FIELD_NUMBER
staticfinal

会话报告 FIELD 数量字段。声明为 public static final int SESSION_REPORT_FIELD_NUMBER。

The SESSION REPORT FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/Upstream.java:190

EXECUTION_ATTEMPT_FIELD_NUMBER

public static final int EXECUTION_ATTEMPT_FIELD_NUMBER
staticfinal

执行尝试 FIELD 数量字段。声明为 public static final int EXECUTION_ATTEMPT_FIELD_NUMBER。

The EXECUTION ATTEMPT FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/Upstream.java:221

HEARTBEAT_FIELD_NUMBER

public static final int HEARTBEAT_FIELD_NUMBER
staticfinal

心跳 FIELD 数量字段。声明为 public static final int HEARTBEAT_FIELD_NUMBER。

The HEARTBEAT FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/Upstream.java:252

EVENT_REPORT_FIELD_NUMBER

public static final int EVENT_REPORT_FIELD_NUMBER
staticfinal

事件报告 FIELD 数量字段。声明为 public static final int EVENT_REPORT_FIELD_NUMBER。

The EVENT REPORT FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/Upstream.java:283

CONTEXT_REPORT_FIELD_NUMBER

public static final int CONTEXT_REPORT_FIELD_NUMBER
staticfinal

上下文报告 FIELD 数量字段。声明为 public static final int CONTEXT_REPORT_FIELD_NUMBER。

The CONTEXT REPORT FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/Upstream.java:326

INVENTORY_FIELD_NUMBER

public static final int INVENTORY_FIELD_NUMBER
staticfinal

清单 FIELD 数量字段。声明为 public static final int INVENTORY_FIELD_NUMBER。

The INVENTORY FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/Upstream.java:369

CONVERSATION_TURN_FIELD_NUMBER

public static final int CONVERSATION_TURN_FIELD_NUMBER
staticfinal

会话轮次 FIELD 数量字段。声明为 public static final int CONVERSATION_TURN_FIELD_NUMBER。

The CONVERSATION TURN FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/Upstream.java:412

方法详情Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
staticfinal

获取描述符。

Returns the descriptor.

返回Returns com.google.protobuf.Descriptors.Descriptor
返回com.google.protobuf.Descriptors.Descriptor。Returns com google protobuf descriptors descriptor.
源码Source io/agentscope/controlplane/proto/Upstream.java:32–35

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()

返回 internalGetFieldAccessorTable 结果。

Returns the internal get field accessor table.

返回Returns com.google.protobuf.GeneratedMessage.FieldAccessorTable
返回com.google.protobuf.GeneratedMessage.FieldAccessorTable。Returns com google protobuf generated message field accessor table.
源码Source io/agentscope/controlplane/proto/Upstream.java:37–43

getPayloadCase

public PayloadCase getPayloadCase()

获取负载取值。

Returns the payload case.

返回Returns PayloadCase
返回负载取值。Returns payload case.
源码Source io/agentscope/controlplane/proto/Upstream.java:96–100

hasMeta

public boolean hasMeta()

判断是否具有元数据。

.agentscope.protocol.v1.UpstreamMeta meta = 1;

返回Returns boolean
返回布尔值,表示判断结果。Whether the meta field is set.
源码Source io/agentscope/controlplane/proto/Upstream.java:108–111

getMeta

public io.agentscope.controlplane.proto.UpstreamMeta getMeta()

获取元数据。

.agentscope.protocol.v1.UpstreamMeta meta = 1;

返回Returns io.agentscope.controlplane.proto.UpstreamMeta
元数据。The meta.
源码Source io/agentscope/controlplane/proto/Upstream.java:116–119

getMetaOrBuilder

public io.agentscope.controlplane.proto.UpstreamMetaOrBuilder getMetaOrBuilder()

获取元数据或构建器。

.agentscope.protocol.v1.UpstreamMeta meta = 1;

返回Returns io.agentscope.controlplane.proto.UpstreamMetaOrBuilder
返回io.agentscope.controlplane.协议.UpstreamMetaOrBuilder。Returns io agentscope controlplane proto upstream meta or builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:123–126

hasConnect

public boolean hasConnect()

判断是否具有连接。

.agentscope.protocol.v1.ConnectRequest connect = 10;

返回Returns boolean
返回布尔值,表示判断结果。Whether the connect field is set.
源码Source io/agentscope/controlplane/proto/Upstream.java:133–136

getConnect

public io.agentscope.controlplane.proto.ConnectRequest getConnect()

获取连接。

.agentscope.protocol.v1.ConnectRequest connect = 10;

返回Returns io.agentscope.controlplane.proto.ConnectRequest
连接。The connect.
源码Source io/agentscope/controlplane/proto/Upstream.java:141–147

getConnectOrBuilder

public io.agentscope.controlplane.proto.ConnectRequestOrBuilder getConnectOrBuilder()

获取连接或构建器。

.agentscope.protocol.v1.ConnectRequest connect = 10;

返回Returns io.agentscope.controlplane.proto.ConnectRequestOrBuilder
返回io.agentscope.controlplane.协议.ConnectRequestOrBuilder。Returns io agentscope controlplane proto connect request or builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:151–157

hasConfigAck

public boolean hasConfigAck()

判断是否具有配置确认。

.agentscope.protocol.v1.ConfigAck config_ack = 11;

返回Returns boolean
返回布尔值,表示判断结果。Whether the configAck field is set.
源码Source io/agentscope/controlplane/proto/Upstream.java:164–167

getConfigAck

public io.agentscope.controlplane.proto.ConfigAck getConfigAck()

获取配置确认。

.agentscope.protocol.v1.ConfigAck config_ack = 11;

返回Returns io.agentscope.controlplane.proto.ConfigAck
返回io.agentscope.controlplane.协议.ConfigAck。The configAck.
源码Source io/agentscope/controlplane/proto/Upstream.java:172–178

getConfigAckOrBuilder

public io.agentscope.controlplane.proto.ConfigAckOrBuilder getConfigAckOrBuilder()

获取配置确认或构建器。

.agentscope.protocol.v1.ConfigAck config_ack = 11;

返回Returns io.agentscope.controlplane.proto.ConfigAckOrBuilder
返回io.agentscope.controlplane.协议.ConfigAckOrBuilder。Returns io agentscope controlplane proto config ack or builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:182–188

hasSessionReport

public boolean hasSessionReport()

判断是否具有会话报告。

.agentscope.protocol.v1.SessionReport session_report = 12;

返回Returns boolean
返回布尔值,表示判断结果。Whether the sessionReport field is set.
源码Source io/agentscope/controlplane/proto/Upstream.java:195–198

getSessionReport

public io.agentscope.controlplane.proto.SessionReport getSessionReport()

获取会话报告。

.agentscope.protocol.v1.SessionReport session_report = 12;

返回Returns io.agentscope.controlplane.proto.SessionReport
返回io.agentscope.controlplane.协议.SessionReport。The sessionReport.
源码Source io/agentscope/controlplane/proto/Upstream.java:203–209

getSessionReportOrBuilder

public io.agentscope.controlplane.proto.SessionReportOrBuilder getSessionReportOrBuilder()

获取会话报告或构建器。

.agentscope.protocol.v1.SessionReport session_report = 12;

返回Returns io.agentscope.controlplane.proto.SessionReportOrBuilder
返回io.agentscope.controlplane.协议.SessionReportOrBuilder。Returns io agentscope controlplane proto session report or builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:213–219

hasExecutionAttempt

public boolean hasExecutionAttempt()

判断是否具有执行尝试。

.agentscope.protocol.v1.ExecutionAttemptReport execution_attempt = 13;

返回Returns boolean
返回布尔值,表示判断结果。Whether the executionAttempt field is set.
源码Source io/agentscope/controlplane/proto/Upstream.java:226–229

getExecutionAttempt

public io.agentscope.controlplane.proto.ExecutionAttemptReport getExecutionAttempt()

获取执行尝试。

.agentscope.protocol.v1.ExecutionAttemptReport execution_attempt = 13;

返回Returns io.agentscope.controlplane.proto.ExecutionAttemptReport
返回io.agentscope.controlplane.协议.ExecutionAttemptReport。The executionAttempt.
源码Source io/agentscope/controlplane/proto/Upstream.java:234–240

getExecutionAttemptOrBuilder

public io.agentscope.controlplane.proto.ExecutionAttemptReportOrBuilder getExecutionAttemptOrBuilder()

获取执行尝试或构建器。

.agentscope.protocol.v1.ExecutionAttemptReport execution_attempt = 13;

返回Returns io.agentscope.controlplane.proto.ExecutionAttemptReportOrBuilder
返回io.agentscope.controlplane.协议.ExecutionAttemptReportOrBuilder。Returns io agentscope controlplane proto execution attempt report or builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:244–250

hasHeartbeat

public boolean hasHeartbeat()

判断是否具有心跳。

.agentscope.protocol.v1.Heartbeat heartbeat = 14;

返回Returns boolean
返回布尔值,表示判断结果。Whether the heartbeat field is set.
源码Source io/agentscope/controlplane/proto/Upstream.java:257–260

getHeartbeat

public io.agentscope.controlplane.proto.Heartbeat getHeartbeat()

获取心跳。

.agentscope.protocol.v1.Heartbeat heartbeat = 14;

返回Returns io.agentscope.controlplane.proto.Heartbeat
心跳。The heartbeat.
源码Source io/agentscope/controlplane/proto/Upstream.java:265–271

getHeartbeatOrBuilder

public io.agentscope.controlplane.proto.HeartbeatOrBuilder getHeartbeatOrBuilder()

获取心跳或构建器。

.agentscope.protocol.v1.Heartbeat heartbeat = 14;

返回Returns io.agentscope.controlplane.proto.HeartbeatOrBuilder
返回io.agentscope.controlplane.协议.HeartbeatOrBuilder。Returns io agentscope controlplane proto heartbeat or builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:275–281

hasEventReport

public boolean hasEventReport()

判断是否具有事件报告。

Level 2 event stream .agentscope.protocol.v1.EventReport event_report = 15;

返回Returns boolean
返回布尔值,表示判断结果。Whether the eventReport field is set.
源码Source io/agentscope/controlplane/proto/Upstream.java:292–295

getEventReport

public io.agentscope.controlplane.proto.EventReport getEventReport()

获取事件报告。

Level 2 event stream .agentscope.protocol.v1.EventReport event_report = 15;

返回Returns io.agentscope.controlplane.proto.EventReport
返回io.agentscope.controlplane.协议.EventReport。The eventReport.
源码Source io/agentscope/controlplane/proto/Upstream.java:304–310

getEventReportOrBuilder

public io.agentscope.controlplane.proto.EventReportOrBuilder getEventReportOrBuilder()

获取事件报告或构建器。

Level 2 event stream .agentscope.protocol.v1.EventReport event_report = 15;

返回Returns io.agentscope.controlplane.proto.EventReportOrBuilder
返回io.agentscope.controlplane.协议.EventReportOrBuilder。Returns io agentscope controlplane proto event report or builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:318–324

hasContextReport

public boolean hasContextReport()

判断是否具有上下文报告。

Level 4 effective context .agentscope.protocol.v1.ContextReport context_report = 16;

返回Returns boolean
返回布尔值,表示判断结果。Whether the contextReport field is set.
源码Source io/agentscope/controlplane/proto/Upstream.java:335–338

getContextReport

public io.agentscope.controlplane.proto.ContextReport getContextReport()

获取上下文报告。

Level 4 effective context .agentscope.protocol.v1.ContextReport context_report = 16;

返回Returns io.agentscope.controlplane.proto.ContextReport
返回io.agentscope.controlplane.协议.ContextReport。The contextReport.
源码Source io/agentscope/controlplane/proto/Upstream.java:347–353

getContextReportOrBuilder

public io.agentscope.controlplane.proto.ContextReportOrBuilder getContextReportOrBuilder()

获取上下文报告或构建器。

Level 4 effective context .agentscope.protocol.v1.ContextReport context_report = 16;

返回Returns io.agentscope.controlplane.proto.ContextReportOrBuilder
返回io.agentscope.controlplane.协议.ContextReportOrBuilder。Returns io agentscope controlplane proto context report or builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:361–367

hasInventory

public boolean hasInventory()

判断是否具有清单。

instance inventory (subagents / workspaces / health) .agentscope.protocol.v1.InventoryReport inventory = 17;

返回Returns boolean
返回布尔值,表示判断结果。Whether the inventory field is set.
源码Source io/agentscope/controlplane/proto/Upstream.java:378–381

getInventory

public io.agentscope.controlplane.proto.InventoryReport getInventory()

获取清单。

instance inventory (subagents / workspaces / health) .agentscope.protocol.v1.InventoryReport inventory = 17;

返回Returns io.agentscope.controlplane.proto.InventoryReport
清单。The inventory.
源码Source io/agentscope/controlplane/proto/Upstream.java:390–396

getInventoryOrBuilder

public io.agentscope.controlplane.proto.InventoryReportOrBuilder getInventoryOrBuilder()

获取清单或构建器。

instance inventory (subagents / workspaces / health) .agentscope.protocol.v1.InventoryReport inventory = 17;

返回Returns io.agentscope.controlplane.proto.InventoryReportOrBuilder
返回io.agentscope.controlplane.协议.InventoryReportOrBuilder。Returns io agentscope controlplane proto inventory report or builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:404–410

hasConversationTurn

public boolean hasConversationTurn()

判断是否具有会话轮次。

.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;

返回Returns boolean
返回布尔值,表示判断结果。Whether the conversationTurn field is set.
源码Source io/agentscope/controlplane/proto/Upstream.java:417–420

getConversationTurn

public io.agentscope.controlplane.proto.ConversationTurnReport getConversationTurn()

获取会话轮次。

.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;

返回Returns io.agentscope.controlplane.proto.ConversationTurnReport
返回io.agentscope.controlplane.协议.ConversationTurnReport。The conversationTurn.
源码Source io/agentscope/controlplane/proto/Upstream.java:425–431

getConversationTurnOrBuilder

public io.agentscope.controlplane.proto.ConversationTurnReportOrBuilder getConversationTurnOrBuilder()

获取会话轮次或构建器。

.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;

返回Returns io.agentscope.controlplane.proto.ConversationTurnReportOrBuilder
返回io.agentscope.controlplane.协议.ConversationTurnReportOrBuilder。Returns io agentscope controlplane proto conversation turn report or builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:435–441

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/controlplane/proto/Upstream.java:444–452

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException

设置写入到。

Performs the write to operation.

参数Parameters
名称Name类型Type说明Description
outputcom.google.protobuf.CodedOutputStream输出(类型 `com.google.protobuf.CodedOutputStream`)。The output.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:454–488

getSerializedSize

public int getSerializedSize()

获取 getSerializedSize。

Returns the serialized size.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/Upstream.java:490–539

equals

public boolean equals(java.lang.Object obj)

设置该参数。

Performs the equals operation.

参数Parameters
名称Name类型Type说明Description
objjava.lang.Objectobj(类型 `java.lang.Object`)。The obj.
返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/controlplane/proto/Upstream.java:541–599

hashCode

public int hashCode()

返回 hashCode 结果。

Returns the hash code.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/Upstream.java:601–655

parseFrom

public static io.agentscope.controlplane.proto.Upstream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datajava.nio.ByteBuffer数据(类型 `java.nio.ByteBuffer`)。The data.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:657–661

parseFrom

public static io.agentscope.controlplane.proto.Upstream parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datajava.nio.ByteBuffer数据(类型 `java.nio.ByteBuffer`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:662–667

parseFrom

public static io.agentscope.controlplane.proto.Upstream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datacom.google.protobuf.ByteString数据(类型 `com.google.protobuf.ByteString`)。The data.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:668–672

parseFrom

public static io.agentscope.controlplane.proto.Upstream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datacom.google.protobuf.ByteString数据(类型 `com.google.protobuf.ByteString`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:673–678

parseFrom

public static io.agentscope.controlplane.proto.Upstream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
databyte[]数据(类型 `byte[]`)。The data.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:679–682

parseFrom

public static io.agentscope.controlplane.proto.Upstream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
databyte[]数据(类型 `byte[]`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:683–688

parseFrom

public static io.agentscope.controlplane.proto.Upstream parseFrom(java.io.InputStream input) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:689–693

parseFrom

public static io.agentscope.controlplane.proto.Upstream parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:694–700

parseDelimitedFrom

public static io.agentscope.controlplane.proto.Upstream parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static

解析 parseDelimitedFrom。

Parses the delimited from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:702–706

parseDelimitedFrom

public static io.agentscope.controlplane.proto.Upstream parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析 parseDelimitedFrom。

Parses the delimited from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:708–714

parseFrom

public static io.agentscope.controlplane.proto.Upstream parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputcom.google.protobuf.CodedInputStream输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:715–720

parseFrom

public static io.agentscope.controlplane.proto.Upstream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputcom.google.protobuf.CodedInputStream输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Upstream.java:721–727

newBuilderForType

public Builder newBuilderForType()

创建构建器用于类型。

Returns the new builder for type.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Upstream.java:729–730

newBuilder

public static Builder newBuilder()
static

创建构建器。

Returns the new builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Upstream.java:731–733

newBuilder

public static Builder newBuilder(io.agentscope.controlplane.proto.Upstream prototype)
static

创建构建器。

Performs the new builder operation.

参数Parameters
名称Name类型Type说明Description
prototypeio.agentscope.controlplane.proto.Upstreamprototype(类型 `io.agentscope.controlplane.proto.Upstream`)。The prototype.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Upstream.java:734–736

toBuilder

public Builder toBuilder()

返回到构建器。

Returns the to builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Upstream.java:737–741

newBuilderForType

protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)

创建构建器用于类型。

Performs the new builder for type operation.

参数Parameters
名称Name类型Type说明Description
parentcom.google.protobuf.GeneratedMessage.BuilderParent父级(类型 `com.google.protobuf.GeneratedMessage.BuilderParent`)。The parent.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Upstream.java:743–748

getDefaultInstance

public static io.agentscope.controlplane.proto.Upstream getDefaultInstance()
static

获取默认实例。

Returns the default instance.

返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
源码Source io/agentscope/controlplane/proto/Upstream.java:2608–2610

parser

public static com.google.protobuf.Parser<Upstream> parser()
static

返回解析器。

Returns the parser.

返回Returns com.google.protobuf.Parser<Upstream>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/controlplane/proto/Upstream.java:2634–2636

getParserForType

public com.google.protobuf.Parser<Upstream> getParserForType()

获取解析器用于类型。

Returns the parser for type.

返回Returns com.google.protobuf.Parser<Upstream>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/controlplane/proto/Upstream.java:2638–2641

getDefaultInstanceForType

public io.agentscope.controlplane.proto.Upstream getDefaultInstanceForType()

获取默认实例用于类型。

Returns the default instance for type.

返回Returns io.agentscope.controlplane.proto.Upstream
返回io.agentscope.controlplane.协议.上游。Returns io agentscope controlplane proto upstream.
源码Source io/agentscope/controlplane/proto/Upstream.java:2643–2646

嵌套类详情Nested Class Detail

PayloadCase

public enum PayloadCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum

定义负载取值的枚举。位于 io.agentscope.controlplane.proto 包,实现 com.google.protobuf.Internal.EnumLite、com.google.protobuf.AbstractMessage.InternalOneOfEnum。核心成员包括 valueOf、forNumber、getNumber、CONNECT、CONFIG_ACK、SESSION_REPORT。

A enum in io.agentscope.controlplane.proto that defines enum values used when components deploys, schedules and serves agents. Declared in io.agentscope.controlplane.proto. Implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum.

Builder

public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.UpstreamOrBuilder

构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.UpstreamOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。

Protobuf type agentscope.protocol.v1.Upstream

基于官方固定版本源码静态生成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.