AS AgentScopeAPI 手册 / API Reference

DownstreamOrBuilder

public interface DownstreamOrBuilder extends com.google.protobuf.MessageOrBuilder
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:8–118

定义下游或构建器契约的接口。位于 io.agentscope.controlplane.proto 包,实现 com.google.protobuf.MessageOrBuilder。核心成员包括 hasConnectAck、getConnectAck、getConnectAckOrBuilder、hasConfigPush、getConfigPush、getConfigPushOrBuilder。

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 boolean hasConnectAck()
判断是否具有连接确认。
`.agentscope.protocol.v1.ConnectResponse connect_ack = 10;`
public io.agentscope.controlplane.proto.ConnectResponse getConnectAck()
获取连接确认。
`.agentscope.protocol.v1.ConnectResponse connect_ack = 10;`
public io.agentscope.controlplane.proto.ConnectResponseOrBuilder getConnectAckOrBuilder()
获取连接确认或构建器。
`.agentscope.protocol.v1.ConnectResponse connect_ack = 10;`
public boolean hasConfigPush()
判断是否具有配置推送。
`.agentscope.protocol.v1.ConfigPush config_push = 11;`
public io.agentscope.controlplane.proto.ConfigPush getConfigPush()
获取配置推送。
`.agentscope.protocol.v1.ConfigPush config_push = 11;`
public io.agentscope.controlplane.proto.ConfigPushOrBuilder getConfigPushOrBuilder()
获取配置推送或构建器。
`.agentscope.protocol.v1.ConfigPush config_push = 11;`
public boolean hasSessionCmd()
判断是否具有 `hasSessionCmd`。
`.agentscope.protocol.v1.SessionCommand session_cmd = 12;`
public io.agentscope.controlplane.proto.SessionCommand getSessionCmd()
获取 `getSessionCmd`。
`.agentscope.protocol.v1.SessionCommand session_cmd = 12;`
public io.agentscope.controlplane.proto.SessionCommandOrBuilder getSessionCmdOrBuilder()
获取 `getSessionCmdOrBuilder`。
`.agentscope.protocol.v1.SessionCommand session_cmd = 12;`
public boolean hasExecutionAttempt()
判断是否具有执行尝试。
`.agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;`
public io.agentscope.controlplane.proto.ExecutionAttemptCommand getExecutionAttempt()
获取执行尝试。
`.agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;`
public io.agentscope.controlplane.proto.ExecutionAttemptCommandOrBuilder getExecutionAttemptOrBuilder()
获取执行尝试或构建器。
`.agentscope.protocol.v1.ExecutionAttemptCommand 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 hasConversationTurn()
判断是否具有会话轮次。
`.agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;`
public io.agentscope.controlplane.proto.ConversationTurnCommand getConversationTurn()
获取会话轮次。
`.agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;`
public io.agentscope.controlplane.proto.ConversationTurnCommandOrBuilder getConversationTurnOrBuilder()
获取会话轮次或构建器。
`.agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;`
public boolean hasEventAck()
判断是否具有事件确认。
`.agentscope.protocol.v1.EventReportAck event_ack = 16;`
public io.agentscope.controlplane.proto.EventReportAck getEventAck()
获取事件确认。
`.agentscope.protocol.v1.EventReportAck event_ack = 16;`
public io.agentscope.controlplane.proto.EventReportAckOrBuilder getEventAckOrBuilder()
获取事件确认或构建器。
`.agentscope.protocol.v1.EventReportAck event_ack = 16;`
public io.agentscope.controlplane.proto.Downstream.PayloadCase getPayloadCase()
获取负载取值。
Returns the payload case.

方法详情Method Detail

hasConnectAck

public boolean hasConnectAck()

判断是否具有连接确认。

.agentscope.protocol.v1.ConnectResponse connect_ack = 10;

返回Returns boolean
返回布尔值,表示判断结果。Whether the connectAck field is set.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:16

getConnectAck

public io.agentscope.controlplane.proto.ConnectResponse getConnectAck()

获取连接确认。

.agentscope.protocol.v1.ConnectResponse connect_ack = 10;

返回Returns io.agentscope.controlplane.proto.ConnectResponse
返回io.agentscope.controlplane.协议.ConnectResponse。The connectAck.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:21

getConnectAckOrBuilder

public io.agentscope.controlplane.proto.ConnectResponseOrBuilder getConnectAckOrBuilder()

获取连接确认或构建器。

.agentscope.protocol.v1.ConnectResponse connect_ack = 10;

返回Returns io.agentscope.controlplane.proto.ConnectResponseOrBuilder
返回io.agentscope.controlplane.协议.ConnectResponseOrBuilder。Returns io agentscope controlplane proto connect response or builder.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:25

hasConfigPush

public boolean hasConfigPush()

判断是否具有配置推送。

.agentscope.protocol.v1.ConfigPush config_push = 11;

返回Returns boolean
返回布尔值,表示判断结果。Whether the configPush field is set.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:31

getConfigPush

public io.agentscope.controlplane.proto.ConfigPush getConfigPush()

获取配置推送。

.agentscope.protocol.v1.ConfigPush config_push = 11;

返回Returns io.agentscope.controlplane.proto.ConfigPush
返回io.agentscope.controlplane.协议.ConfigPush。The configPush.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:36

getConfigPushOrBuilder

public io.agentscope.controlplane.proto.ConfigPushOrBuilder getConfigPushOrBuilder()

获取配置推送或构建器。

.agentscope.protocol.v1.ConfigPush config_push = 11;

返回Returns io.agentscope.controlplane.proto.ConfigPushOrBuilder
返回io.agentscope.controlplane.协议.ConfigPushOrBuilder。Returns io agentscope controlplane proto config push or builder.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:40

hasSessionCmd

public boolean hasSessionCmd()

判断是否具有 hasSessionCmd。

.agentscope.protocol.v1.SessionCommand session_cmd = 12;

返回Returns boolean
返回布尔值,表示判断结果。Whether the sessionCmd field is set.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:46

getSessionCmd

public io.agentscope.controlplane.proto.SessionCommand getSessionCmd()

获取 getSessionCmd。

.agentscope.protocol.v1.SessionCommand session_cmd = 12;

返回Returns io.agentscope.controlplane.proto.SessionCommand
返回io.agentscope.controlplane.协议.SessionCommand。The sessionCmd.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:51

getSessionCmdOrBuilder

public io.agentscope.controlplane.proto.SessionCommandOrBuilder getSessionCmdOrBuilder()

获取 getSessionCmdOrBuilder。

.agentscope.protocol.v1.SessionCommand session_cmd = 12;

返回Returns io.agentscope.controlplane.proto.SessionCommandOrBuilder
返回io.agentscope.controlplane.协议.SessionCommandOrBuilder。Returns io agentscope controlplane proto session command or builder.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:55

hasExecutionAttempt

public boolean hasExecutionAttempt()

判断是否具有执行尝试。

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

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

getExecutionAttempt

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

获取执行尝试。

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

返回Returns io.agentscope.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。The executionAttempt.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:66

getExecutionAttemptOrBuilder

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

获取执行尝试或构建器。

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

返回Returns io.agentscope.controlplane.proto.ExecutionAttemptCommandOrBuilder
返回io.agentscope.controlplane.协议.ExecutionAttemptCommandOrBuilder。Returns io agentscope controlplane proto execution attempt command or builder.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:70

hasHeartbeat

public boolean hasHeartbeat()

判断是否具有心跳。

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

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

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/DownstreamOrBuilder.java:81

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/DownstreamOrBuilder.java:85

hasConversationTurn

public boolean hasConversationTurn()

判断是否具有会话轮次。

.agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;

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

getConversationTurn

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

获取会话轮次。

.agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;

返回Returns io.agentscope.controlplane.proto.ConversationTurnCommand
返回io.agentscope.controlplane.协议.ConversationTurnCommand。The conversationTurn.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:96

getConversationTurnOrBuilder

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

获取会话轮次或构建器。

.agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;

返回Returns io.agentscope.controlplane.proto.ConversationTurnCommandOrBuilder
返回io.agentscope.controlplane.协议.ConversationTurnCommandOrBuilder。Returns io agentscope controlplane proto conversation turn command or builder.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:100

hasEventAck

public boolean hasEventAck()

判断是否具有事件确认。

.agentscope.protocol.v1.EventReportAck event_ack = 16;

返回Returns boolean
返回布尔值,表示判断结果。Whether the eventAck field is set.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:106

getEventAck

public io.agentscope.controlplane.proto.EventReportAck getEventAck()

获取事件确认。

.agentscope.protocol.v1.EventReportAck event_ack = 16;

返回Returns io.agentscope.controlplane.proto.EventReportAck
返回io.agentscope.controlplane.协议.EventReportAck。The eventAck.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:111

getEventAckOrBuilder

public io.agentscope.controlplane.proto.EventReportAckOrBuilder getEventAckOrBuilder()

获取事件确认或构建器。

.agentscope.protocol.v1.EventReportAck event_ack = 16;

返回Returns io.agentscope.controlplane.proto.EventReportAckOrBuilder
返回io.agentscope.controlplane.协议.EventReportAckOrBuilder。Returns io agentscope controlplane proto event report ack or builder.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:115

getPayloadCase

public io.agentscope.controlplane.proto.Downstream.PayloadCase getPayloadCase()

获取负载取值。

Returns the payload case.

返回Returns io.agentscope.controlplane.proto.Downstream.PayloadCase
返回io.agentscope.controlplane.协议.下游.负载取值。Returns io agentscope controlplane proto downstream payload case.
源码Source io/agentscope/controlplane/proto/DownstreamOrBuilder.java:117
基于官方固定版本源码静态生成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.