AS AgentScopeAPI 手册 / API Reference

Builder

public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.DownstreamOrBuilder
源码Source io/agentscope/controlplane/proto/Downstream.java:577–1847

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

Protobuf type agentscope.protocol.v1.Downstream

方法摘要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 Builder clear()
清空或重置内部状态。
Clears or resets internal state.
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
获取 `getDescriptorForType`。
Returns the descriptor for type.
public io.agentscope.controlplane.proto.Downstream getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
public io.agentscope.controlplane.proto.Downstream build()
构建并返回最终实例。
Creates and returns an instance.
public io.agentscope.controlplane.proto.Downstream buildPartial()
构建 `buildPartial`。
Builds the partial.
public Builder mergeFrom(com.google.protobuf.Message other)
设置该配置项。
Performs the merge from operation.
public Builder mergeFrom(io.agentscope.controlplane.proto.Downstream other)
设置该配置项。
Performs the merge from operation.
public final boolean isInitialized()
final
判断是否已初始化。
Returns whether the initialized.
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
设置该配置项。
Performs the merge from operation.
public PayloadCase getPayloadCase()
获取负载取值。
Returns the payload case.
public Builder clearPayload()
清空负载。
Clears the payload.
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 Builder setConnectAck(io.agentscope.controlplane.proto.ConnectResponse value)
设置设置连接确认。
`.agentscope.protocol.v1.ConnectResponse connect_ack = 10;`
public Builder setConnectAck(io.agentscope.controlplane.proto.ConnectResponse.Builder builderForValue)
设置设置连接确认。
`.agentscope.protocol.v1.ConnectResponse connect_ack = 10;`
public Builder mergeConnectAck(io.agentscope.controlplane.proto.ConnectResponse value)
设置该配置项。
`.agentscope.protocol.v1.ConnectResponse connect_ack = 10;`
public Builder clearConnectAck()
清空连接确认。
`.agentscope.protocol.v1.ConnectResponse connect_ack = 10;`
public io.agentscope.controlplane.proto.ConnectResponse.Builder getConnectAckBuilder()
获取连接确认构建器。
`.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 Builder setConfigPush(io.agentscope.controlplane.proto.ConfigPush value)
设置设置配置推送。
`.agentscope.protocol.v1.ConfigPush config_push = 11;`
public Builder setConfigPush(io.agentscope.controlplane.proto.ConfigPush.Builder builderForValue)
设置设置配置推送。
`.agentscope.protocol.v1.ConfigPush config_push = 11;`
public Builder mergeConfigPush(io.agentscope.controlplane.proto.ConfigPush value)
设置该配置项。
`.agentscope.protocol.v1.ConfigPush config_push = 11;`
public Builder clearConfigPush()
清空配置推送。
`.agentscope.protocol.v1.ConfigPush config_push = 11;`
public io.agentscope.controlplane.proto.ConfigPush.Builder getConfigPushBuilder()
获取配置推送构建器。
`.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 Builder setSessionCmd(io.agentscope.controlplane.proto.SessionCommand value)
设置该配置项。
`.agentscope.protocol.v1.SessionCommand session_cmd = 12;`
public Builder setSessionCmd(io.agentscope.controlplane.proto.SessionCommand.Builder builderForValue)
设置该配置项。
`.agentscope.protocol.v1.SessionCommand session_cmd = 12;`
public Builder mergeSessionCmd(io.agentscope.controlplane.proto.SessionCommand value)
设置该配置项。
`.agentscope.protocol.v1.SessionCommand session_cmd = 12;`
public Builder clearSessionCmd()
清空 `clearSessionCmd`。
`.agentscope.protocol.v1.SessionCommand session_cmd = 12;`
public io.agentscope.controlplane.proto.SessionCommand.Builder getSessionCmdBuilder()
获取 `getSessionCmdBuilder`。
`.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 Builder setExecutionAttempt(io.agentscope.controlplane.proto.ExecutionAttemptCommand value)
设置设置执行尝试。
`.agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;`
public Builder setExecutionAttempt(io.agentscope.controlplane.proto.ExecutionAttemptCommand.Builder builderForValue)
设置设置执行尝试。
`.agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;`
public Builder mergeExecutionAttempt(io.agentscope.controlplane.proto.ExecutionAttemptCommand value)
设置该配置项。
`.agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;`
public Builder clearExecutionAttempt()
清空执行尝试。
`.agentscope.protocol.v1.ExecutionAttemptCommand execution_attempt = 13;`
public io.agentscope.controlplane.proto.ExecutionAttemptCommand.Builder getExecutionAttemptBuilder()
获取执行尝试构建器。
`.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 Builder setHeartbeat(io.agentscope.controlplane.proto.Heartbeat value)
设置设置心跳。
`.agentscope.protocol.v1.Heartbeat heartbeat = 14;`
public Builder setHeartbeat(io.agentscope.controlplane.proto.Heartbeat.Builder builderForValue)
设置设置心跳。
`.agentscope.protocol.v1.Heartbeat heartbeat = 14;`
public Builder mergeHeartbeat(io.agentscope.controlplane.proto.Heartbeat value)
设置该配置项。
`.agentscope.protocol.v1.Heartbeat heartbeat = 14;`
public Builder clearHeartbeat()
清空心跳。
`.agentscope.protocol.v1.Heartbeat heartbeat = 14;`
public io.agentscope.controlplane.proto.Heartbeat.Builder getHeartbeatBuilder()
获取心跳构建器。
`.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 Builder setConversationTurn(io.agentscope.controlplane.proto.ConversationTurnCommand value)
设置设置会话轮次。
`.agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;`
public Builder setConversationTurn(io.agentscope.controlplane.proto.ConversationTurnCommand.Builder builderForValue)
设置设置会话轮次。
`.agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;`
public Builder mergeConversationTurn(io.agentscope.controlplane.proto.ConversationTurnCommand value)
设置该配置项。
`.agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;`
public Builder clearConversationTurn()
清空会话轮次。
`.agentscope.protocol.v1.ConversationTurnCommand conversation_turn = 15;`
public io.agentscope.controlplane.proto.ConversationTurnCommand.Builder getConversationTurnBuilder()
获取会话轮次构建器。
`.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 Builder setEventAck(io.agentscope.controlplane.proto.EventReportAck value)
设置设置事件确认。
`.agentscope.protocol.v1.EventReportAck event_ack = 16;`
public Builder setEventAck(io.agentscope.controlplane.proto.EventReportAck.Builder builderForValue)
设置设置事件确认。
`.agentscope.protocol.v1.EventReportAck event_ack = 16;`
public Builder mergeEventAck(io.agentscope.controlplane.proto.EventReportAck value)
设置该配置项。
`.agentscope.protocol.v1.EventReportAck event_ack = 16;`
public Builder clearEventAck()
清空事件确认。
`.agentscope.protocol.v1.EventReportAck event_ack = 16;`
public io.agentscope.controlplane.proto.EventReportAck.Builder getEventAckBuilder()
获取事件确认构建器。
`.agentscope.protocol.v1.EventReportAck event_ack = 16;`
public io.agentscope.controlplane.proto.EventReportAckOrBuilder getEventAckOrBuilder()
获取事件确认或构建器。
`.agentscope.protocol.v1.EventReportAck event_ack = 16;`

方法详情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/Downstream.java:581–584

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/Downstream.java:586–592

clear

public Builder clear()

清空或重置内部状态。

Clears or resets internal state.

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

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()

获取 getDescriptorForType。

Returns the descriptor for type.

返回Returns com.google.protobuf.Descriptors.Descriptor
返回com.google.protobuf.Descriptors.Descriptor。Returns com google protobuf descriptors descriptor.
源码Source io/agentscope/controlplane/proto/Downstream.java:634–638

getDefaultInstanceForType

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

获取默认实例用于类型。

Returns the default instance for type.

返回Returns io.agentscope.controlplane.proto.Downstream
返回io.agentscope.controlplane.协议.下游。Returns io agentscope controlplane proto downstream.
源码Source io/agentscope/controlplane/proto/Downstream.java:640–643

build

public io.agentscope.controlplane.proto.Downstream build()

构建并返回最终实例。

Creates and returns an instance.

返回Returns io.agentscope.controlplane.proto.Downstream
返回io.agentscope.controlplane.协议.下游。Returns io agentscope controlplane proto downstream.
源码Source io/agentscope/controlplane/proto/Downstream.java:645–652

buildPartial

public io.agentscope.controlplane.proto.Downstream buildPartial()

构建 buildPartial。

Builds the partial.

返回Returns io.agentscope.controlplane.proto.Downstream
返回io.agentscope.controlplane.协议.下游。Returns io agentscope controlplane proto downstream.
源码Source io/agentscope/controlplane/proto/Downstream.java:654–661

mergeFrom

public Builder mergeFrom(com.google.protobuf.Message other)

设置该配置项。

Performs the merge from operation.

参数Parameters
名称Name类型Type说明Description
othercom.google.protobuf.Messageother(类型 `com.google.protobuf.Message`)。The other.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:700–708

mergeFrom

public Builder mergeFrom(io.agentscope.controlplane.proto.Downstream other)

设置该配置项。

Performs the merge from operation.

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

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

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

mergeFrom

public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException

设置该配置项。

Performs the merge from operation.

参数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 Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/Downstream.java:755–834

getPayloadCase

public PayloadCase getPayloadCase()

获取负载取值。

Returns the payload case.

返回Returns PayloadCase
返回负载取值。Returns payload case.
源码Source io/agentscope/controlplane/proto/Downstream.java:837–841

clearPayload

public Builder clearPayload()

清空负载。

Clears the payload.

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

hasConnectAck

public boolean hasConnectAck()

判断是否具有连接确认。

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

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

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/Downstream.java:866–879

setConnectAck

public Builder setConnectAck(io.agentscope.controlplane.proto.ConnectResponse value)

设置设置连接确认。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.ConnectResponse值(类型 `io.agentscope.controlplane.proto.ConnectResponse`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:883–895

setConnectAck

public Builder setConnectAck(io.agentscope.controlplane.proto.ConnectResponse.Builder builderForValue)

设置设置连接确认。

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

参数Parameters
名称Name类型Type说明Description
builderForValueio.agentscope.controlplane.proto.ConnectResponse.Builder构建器用于值(类型 `io.agentscope.controlplane.proto.ConnectResponse.Builder`)。The builder for value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:899–909

mergeConnectAck

public Builder mergeConnectAck(io.agentscope.controlplane.proto.ConnectResponse value)

设置该配置项。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.ConnectResponse值(类型 `io.agentscope.controlplane.proto.ConnectResponse`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:913–932

clearConnectAck

public Builder clearConnectAck()

清空连接确认。

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

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

getConnectAckBuilder

public io.agentscope.controlplane.proto.ConnectResponse.Builder getConnectAckBuilder()

获取连接确认构建器。

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

返回Returns io.agentscope.controlplane.proto.ConnectResponse.Builder
返回io.agentscope.controlplane.协议.ConnectResponse.构建器。Returns io agentscope controlplane proto connect response builder.
源码Source io/agentscope/controlplane/proto/Downstream.java:955–957

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/Downstream.java:961–971

hasConfigPush

public boolean hasConfigPush()

判断是否具有配置推送。

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

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

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/Downstream.java:1008–1021

setConfigPush

public Builder setConfigPush(io.agentscope.controlplane.proto.ConfigPush value)

设置设置配置推送。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.ConfigPush值(类型 `io.agentscope.controlplane.proto.ConfigPush`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1025–1037

setConfigPush

public Builder setConfigPush(io.agentscope.controlplane.proto.ConfigPush.Builder builderForValue)

设置设置配置推送。

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

参数Parameters
名称Name类型Type说明Description
builderForValueio.agentscope.controlplane.proto.ConfigPush.Builder构建器用于值(类型 `io.agentscope.controlplane.proto.ConfigPush.Builder`)。The builder for value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1041–1051

mergeConfigPush

public Builder mergeConfigPush(io.agentscope.controlplane.proto.ConfigPush value)

设置该配置项。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.ConfigPush值(类型 `io.agentscope.controlplane.proto.ConfigPush`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1055–1074

clearConfigPush

public Builder clearConfigPush()

清空配置推送。

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

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

getConfigPushBuilder

public io.agentscope.controlplane.proto.ConfigPush.Builder getConfigPushBuilder()

获取配置推送构建器。

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

返回Returns io.agentscope.controlplane.proto.ConfigPush.Builder
返回io.agentscope.controlplane.协议.ConfigPush.构建器。Returns io agentscope controlplane proto config push builder.
源码Source io/agentscope/controlplane/proto/Downstream.java:1097–1099

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/Downstream.java:1103–1113

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/Downstream.java:1142–1145

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/Downstream.java:1150–1163

setSessionCmd

public Builder setSessionCmd(io.agentscope.controlplane.proto.SessionCommand value)

设置该配置项。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.SessionCommand值(类型 `io.agentscope.controlplane.proto.SessionCommand`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1167–1179

setSessionCmd

public Builder setSessionCmd(io.agentscope.controlplane.proto.SessionCommand.Builder builderForValue)

设置该配置项。

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

参数Parameters
名称Name类型Type说明Description
builderForValueio.agentscope.controlplane.proto.SessionCommand.Builder构建器用于值(类型 `io.agentscope.controlplane.proto.SessionCommand.Builder`)。The builder for value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1183–1193

mergeSessionCmd

public Builder mergeSessionCmd(io.agentscope.controlplane.proto.SessionCommand value)

设置该配置项。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.SessionCommand值(类型 `io.agentscope.controlplane.proto.SessionCommand`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1197–1216

clearSessionCmd

public Builder clearSessionCmd()

清空 clearSessionCmd。

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

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

getSessionCmdBuilder

public io.agentscope.controlplane.proto.SessionCommand.Builder getSessionCmdBuilder()

获取 getSessionCmdBuilder。

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

返回Returns io.agentscope.controlplane.proto.SessionCommand.Builder
返回io.agentscope.controlplane.协议.SessionCommand.构建器。Returns io agentscope controlplane proto session command builder.
源码Source io/agentscope/controlplane/proto/Downstream.java:1239–1241

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/Downstream.java:1245–1255

hasExecutionAttempt

public boolean hasExecutionAttempt()

判断是否具有执行尝试。

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

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

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/Downstream.java:1292–1305

setExecutionAttempt

public Builder setExecutionAttempt(io.agentscope.controlplane.proto.ExecutionAttemptCommand value)

设置设置执行尝试。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.ExecutionAttemptCommand值(类型 `io.agentscope.controlplane.proto.ExecutionAttemptCommand`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1309–1321

setExecutionAttempt

public Builder setExecutionAttempt(io.agentscope.controlplane.proto.ExecutionAttemptCommand.Builder builderForValue)

设置设置执行尝试。

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

参数Parameters
名称Name类型Type说明Description
builderForValueio.agentscope.controlplane.proto.ExecutionAttemptCommand.Builder构建器用于值(类型 `io.agentscope.controlplane.proto.ExecutionAttemptCommand.Builder`)。The builder for value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1325–1335

mergeExecutionAttempt

public Builder mergeExecutionAttempt(io.agentscope.controlplane.proto.ExecutionAttemptCommand value)

设置该配置项。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.ExecutionAttemptCommand值(类型 `io.agentscope.controlplane.proto.ExecutionAttemptCommand`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1339–1358

clearExecutionAttempt

public Builder clearExecutionAttempt()

清空执行尝试。

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

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

getExecutionAttemptBuilder

public io.agentscope.controlplane.proto.ExecutionAttemptCommand.Builder getExecutionAttemptBuilder()

获取执行尝试构建器。

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

返回Returns io.agentscope.controlplane.proto.ExecutionAttemptCommand.Builder
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand.构建器。Returns io agentscope controlplane proto execution attempt command builder.
源码Source io/agentscope/controlplane/proto/Downstream.java:1381–1383

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/Downstream.java:1387–1397

hasHeartbeat

public boolean hasHeartbeat()

判断是否具有心跳。

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

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

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/Downstream.java:1434–1447

setHeartbeat

public Builder setHeartbeat(io.agentscope.controlplane.proto.Heartbeat value)

设置设置心跳。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.Heartbeat值(类型 `io.agentscope.controlplane.proto.Heartbeat`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1451–1463

setHeartbeat

public Builder setHeartbeat(io.agentscope.controlplane.proto.Heartbeat.Builder builderForValue)

设置设置心跳。

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

参数Parameters
名称Name类型Type说明Description
builderForValueio.agentscope.controlplane.proto.Heartbeat.Builder构建器用于值(类型 `io.agentscope.controlplane.proto.Heartbeat.Builder`)。The builder for value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1467–1477

mergeHeartbeat

public Builder mergeHeartbeat(io.agentscope.controlplane.proto.Heartbeat value)

设置该配置项。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.Heartbeat值(类型 `io.agentscope.controlplane.proto.Heartbeat`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1481–1500

clearHeartbeat

public Builder clearHeartbeat()

清空心跳。

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

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

getHeartbeatBuilder

public io.agentscope.controlplane.proto.Heartbeat.Builder getHeartbeatBuilder()

获取心跳构建器。

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

返回Returns io.agentscope.controlplane.proto.Heartbeat.Builder
返回io.agentscope.controlplane.协议.心跳.构建器。Returns io agentscope controlplane proto heartbeat builder.
源码Source io/agentscope/controlplane/proto/Downstream.java:1523–1525

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/Downstream.java:1529–1539

hasConversationTurn

public boolean hasConversationTurn()

判断是否具有会话轮次。

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

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

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/Downstream.java:1576–1589

setConversationTurn

public Builder setConversationTurn(io.agentscope.controlplane.proto.ConversationTurnCommand value)

设置设置会话轮次。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.ConversationTurnCommand值(类型 `io.agentscope.controlplane.proto.ConversationTurnCommand`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1593–1605

setConversationTurn

public Builder setConversationTurn(io.agentscope.controlplane.proto.ConversationTurnCommand.Builder builderForValue)

设置设置会话轮次。

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

参数Parameters
名称Name类型Type说明Description
builderForValueio.agentscope.controlplane.proto.ConversationTurnCommand.Builder构建器用于值(类型 `io.agentscope.controlplane.proto.ConversationTurnCommand.Builder`)。The builder for value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1609–1619

mergeConversationTurn

public Builder mergeConversationTurn(io.agentscope.controlplane.proto.ConversationTurnCommand value)

设置该配置项。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.ConversationTurnCommand值(类型 `io.agentscope.controlplane.proto.ConversationTurnCommand`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1623–1642

clearConversationTurn

public Builder clearConversationTurn()

清空会话轮次。

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

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

getConversationTurnBuilder

public io.agentscope.controlplane.proto.ConversationTurnCommand.Builder getConversationTurnBuilder()

获取会话轮次构建器。

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

返回Returns io.agentscope.controlplane.proto.ConversationTurnCommand.Builder
返回io.agentscope.controlplane.协议.ConversationTurnCommand.构建器。Returns io agentscope controlplane proto conversation turn command builder.
源码Source io/agentscope/controlplane/proto/Downstream.java:1665–1667

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/Downstream.java:1671–1681

hasEventAck

public boolean hasEventAck()

判断是否具有事件确认。

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

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

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/Downstream.java:1718–1731

setEventAck

public Builder setEventAck(io.agentscope.controlplane.proto.EventReportAck value)

设置设置事件确认。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.EventReportAck值(类型 `io.agentscope.controlplane.proto.EventReportAck`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1735–1747

setEventAck

public Builder setEventAck(io.agentscope.controlplane.proto.EventReportAck.Builder builderForValue)

设置设置事件确认。

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

参数Parameters
名称Name类型Type说明Description
builderForValueio.agentscope.controlplane.proto.EventReportAck.Builder构建器用于值(类型 `io.agentscope.controlplane.proto.EventReportAck.Builder`)。The builder for value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1751–1761

mergeEventAck

public Builder mergeEventAck(io.agentscope.controlplane.proto.EventReportAck value)

设置该配置项。

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

参数Parameters
名称Name类型Type说明Description
valueio.agentscope.controlplane.proto.EventReportAck值(类型 `io.agentscope.controlplane.proto.EventReportAck`)。The value.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/Downstream.java:1765–1784

clearEventAck

public Builder clearEventAck()

清空事件确认。

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

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

getEventAckBuilder

public io.agentscope.controlplane.proto.EventReportAck.Builder getEventAckBuilder()

获取事件确认构建器。

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

返回Returns io.agentscope.controlplane.proto.EventReportAck.Builder
返回io.agentscope.controlplane.协议.EventReportAck.构建器。Returns io agentscope controlplane proto event report ack builder.
源码Source io/agentscope/controlplane/proto/Downstream.java:1807–1809

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/Downstream.java:1813–1823
基于官方固定版本源码静态生成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.