AS AgentScopeAPI 手册 / API Reference

Builder

public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.UpstreamOrBuilder
源码Source io/agentscope/controlplane/proto/Upstream.java:752–2600

构建器,用于构建并配置目标实例。位于 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

方法摘要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.Upstream getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
public io.agentscope.controlplane.proto.Upstream build()
构建并返回最终实例。
Creates and returns an instance.
public io.agentscope.controlplane.proto.Upstream 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.Upstream 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 hasMeta()
判断是否具有元数据。
`.agentscope.protocol.v1.UpstreamMeta meta = 1;`
public io.agentscope.controlplane.proto.UpstreamMeta getMeta()
获取元数据。
`.agentscope.protocol.v1.UpstreamMeta meta = 1;`
public Builder setMeta(io.agentscope.controlplane.proto.UpstreamMeta value)
设置设置元数据。
`.agentscope.protocol.v1.UpstreamMeta meta = 1;`
public Builder setMeta(io.agentscope.controlplane.proto.UpstreamMeta.Builder builderForValue)
设置设置元数据。
`.agentscope.protocol.v1.UpstreamMeta meta = 1;`
public Builder mergeMeta(io.agentscope.controlplane.proto.UpstreamMeta value)
设置该配置项。
`.agentscope.protocol.v1.UpstreamMeta meta = 1;`
public Builder clearMeta()
清空元数据。
`.agentscope.protocol.v1.UpstreamMeta meta = 1;`
public io.agentscope.controlplane.proto.UpstreamMeta.Builder getMetaBuilder()
获取元数据构建器。
`.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 Builder setConnect(io.agentscope.controlplane.proto.ConnectRequest value)
设置设置连接。
`.agentscope.protocol.v1.ConnectRequest connect = 10;`
public Builder setConnect(io.agentscope.controlplane.proto.ConnectRequest.Builder builderForValue)
设置设置连接。
`.agentscope.protocol.v1.ConnectRequest connect = 10;`
public Builder mergeConnect(io.agentscope.controlplane.proto.ConnectRequest value)
设置该配置项。
`.agentscope.protocol.v1.ConnectRequest connect = 10;`
public Builder clearConnect()
清空连接。
`.agentscope.protocol.v1.ConnectRequest connect = 10;`
public io.agentscope.controlplane.proto.ConnectRequest.Builder getConnectBuilder()
获取连接构建器。
`.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 Builder setConfigAck(io.agentscope.controlplane.proto.ConfigAck value)
设置设置配置确认。
`.agentscope.protocol.v1.ConfigAck config_ack = 11;`
public Builder setConfigAck(io.agentscope.controlplane.proto.ConfigAck.Builder builderForValue)
设置设置配置确认。
`.agentscope.protocol.v1.ConfigAck config_ack = 11;`
public Builder mergeConfigAck(io.agentscope.controlplane.proto.ConfigAck value)
设置该配置项。
`.agentscope.protocol.v1.ConfigAck config_ack = 11;`
public Builder clearConfigAck()
清空配置确认。
`.agentscope.protocol.v1.ConfigAck config_ack = 11;`
public io.agentscope.controlplane.proto.ConfigAck.Builder getConfigAckBuilder()
获取配置确认构建器。
`.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 Builder setSessionReport(io.agentscope.controlplane.proto.SessionReport value)
设置设置会话报告。
`.agentscope.protocol.v1.SessionReport session_report = 12;`
public Builder setSessionReport(io.agentscope.controlplane.proto.SessionReport.Builder builderForValue)
设置设置会话报告。
`.agentscope.protocol.v1.SessionReport session_report = 12;`
public Builder mergeSessionReport(io.agentscope.controlplane.proto.SessionReport value)
设置该配置项。
`.agentscope.protocol.v1.SessionReport session_report = 12;`
public Builder clearSessionReport()
清空会话报告。
`.agentscope.protocol.v1.SessionReport session_report = 12;`
public io.agentscope.controlplane.proto.SessionReport.Builder getSessionReportBuilder()
获取会话报告构建器。
`.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 Builder setExecutionAttempt(io.agentscope.controlplane.proto.ExecutionAttemptReport value)
设置设置执行尝试。
`.agentscope.protocol.v1.ExecutionAttemptReport execution_attempt = 13;`
public Builder setExecutionAttempt(io.agentscope.controlplane.proto.ExecutionAttemptReport.Builder builderForValue)
设置设置执行尝试。
`.agentscope.protocol.v1.ExecutionAttemptReport execution_attempt = 13;`
public Builder mergeExecutionAttempt(io.agentscope.controlplane.proto.ExecutionAttemptReport value)
设置该配置项。
`.agentscope.protocol.v1.ExecutionAttemptReport execution_attempt = 13;`
public Builder clearExecutionAttempt()
清空执行尝试。
`.agentscope.protocol.v1.ExecutionAttemptReport execution_attempt = 13;`
public io.agentscope.controlplane.proto.ExecutionAttemptReport.Builder getExecutionAttemptBuilder()
获取执行尝试构建器。
`.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 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 hasEventReport()
判断是否具有事件报告。
``` Level 2 event stream
public io.agentscope.controlplane.proto.EventReport getEventReport()
获取事件报告。
``` Level 2 event stream
public Builder setEventReport(io.agentscope.controlplane.proto.EventReport value)
设置设置事件报告。
``` Level 2 event stream
public Builder setEventReport(io.agentscope.controlplane.proto.EventReport.Builder builderForValue)
设置设置事件报告。
``` Level 2 event stream
public Builder mergeEventReport(io.agentscope.controlplane.proto.EventReport value)
设置该配置项。
``` Level 2 event stream
public Builder clearEventReport()
清空事件报告。
``` Level 2 event stream
public io.agentscope.controlplane.proto.EventReport.Builder getEventReportBuilder()
获取事件报告构建器。
``` 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 Builder setContextReport(io.agentscope.controlplane.proto.ContextReport value)
设置设置上下文报告。
``` Level 4 effective context
public Builder setContextReport(io.agentscope.controlplane.proto.ContextReport.Builder builderForValue)
设置设置上下文报告。
``` Level 4 effective context
public Builder mergeContextReport(io.agentscope.controlplane.proto.ContextReport value)
设置该配置项。
``` Level 4 effective context
public Builder clearContextReport()
清空上下文报告。
``` Level 4 effective context
public io.agentscope.controlplane.proto.ContextReport.Builder getContextReportBuilder()
获取上下文报告构建器。
``` 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 Builder setInventory(io.agentscope.controlplane.proto.InventoryReport value)
设置设置清单。
``` instance inventory (subagents / workspaces / health)
public Builder setInventory(io.agentscope.controlplane.proto.InventoryReport.Builder builderForValue)
设置设置清单。
``` instance inventory (subagents / workspaces / health)
public Builder mergeInventory(io.agentscope.controlplane.proto.InventoryReport value)
设置该配置项。
``` instance inventory (subagents / workspaces / health)
public Builder clearInventory()
清空清单。
``` instance inventory (subagents / workspaces / health)
public io.agentscope.controlplane.proto.InventoryReport.Builder getInventoryBuilder()
获取清单构建器。
``` 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 Builder setConversationTurn(io.agentscope.controlplane.proto.ConversationTurnReport value)
设置设置会话轮次。
`.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;`
public Builder setConversationTurn(io.agentscope.controlplane.proto.ConversationTurnReport.Builder builderForValue)
设置设置会话轮次。
`.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;`
public Builder mergeConversationTurn(io.agentscope.controlplane.proto.ConversationTurnReport value)
设置该配置项。
`.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;`
public Builder clearConversationTurn()
清空会话轮次。
`.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;`
public io.agentscope.controlplane.proto.ConversationTurnReport.Builder getConversationTurnBuilder()
获取会话轮次构建器。
`.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;`
public io.agentscope.controlplane.proto.ConversationTurnReportOrBuilder getConversationTurnOrBuilder()
获取会话轮次或构建器。
`.agentscope.protocol.v1.ConversationTurnReport conversation_turn = 18;`

方法详情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:756–759

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:761–767

clear

public Builder clear()

清空或重置内部状态。

Clears or resets internal state.

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

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/Upstream.java:826–830

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:832–835

build

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

构建并返回最终实例。

Creates and returns an instance.

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

buildPartial

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

构建 buildPartial。

Builds the partial.

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

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/Upstream.java:908–916

mergeFrom

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

设置该配置项。

Performs the merge from operation.

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

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

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

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/Upstream.java:974–1074

getPayloadCase

public PayloadCase getPayloadCase()

获取负载取值。

Returns the payload case.

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

clearPayload

public Builder clearPayload()

清空负载。

Clears the payload.

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

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:1099–1101

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:1106–1112

setMeta

public Builder setMeta(io.agentscope.controlplane.proto.UpstreamMeta value)

设置设置元数据。

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

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

setMeta

public Builder setMeta(io.agentscope.controlplane.proto.UpstreamMeta.Builder builderForValue)

设置设置元数据。

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

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

mergeMeta

public Builder mergeMeta(io.agentscope.controlplane.proto.UpstreamMeta value)

设置该配置项。

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

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

clearMeta

public Builder clearMeta()

清空元数据。

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

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

getMetaBuilder

public io.agentscope.controlplane.proto.UpstreamMeta.Builder getMetaBuilder()

获取元数据构建器。

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

返回Returns io.agentscope.controlplane.proto.UpstreamMeta.Builder
返回io.agentscope.controlplane.协议.UpstreamMeta.构建器。Returns io agentscope controlplane proto upstream meta builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:1180–1184

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:1188–1195

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:1219–1222

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:1227–1240

setConnect

public Builder setConnect(io.agentscope.controlplane.proto.ConnectRequest value)

设置设置连接。

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

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

setConnect

public Builder setConnect(io.agentscope.controlplane.proto.ConnectRequest.Builder builderForValue)

设置设置连接。

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

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

mergeConnect

public Builder mergeConnect(io.agentscope.controlplane.proto.ConnectRequest value)

设置该配置项。

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

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

clearConnect

public Builder clearConnect()

清空连接。

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

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

getConnectBuilder

public io.agentscope.controlplane.proto.ConnectRequest.Builder getConnectBuilder()

获取连接构建器。

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

返回Returns io.agentscope.controlplane.proto.ConnectRequest.Builder
返回io.agentscope.controlplane.协议.ConnectRequest.构建器。Returns io agentscope controlplane proto connect request builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:1316–1318

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:1322–1332

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:1361–1364

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:1369–1382

setConfigAck

public Builder setConfigAck(io.agentscope.controlplane.proto.ConfigAck value)

设置设置配置确认。

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

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

setConfigAck

public Builder setConfigAck(io.agentscope.controlplane.proto.ConfigAck.Builder builderForValue)

设置设置配置确认。

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

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

mergeConfigAck

public Builder mergeConfigAck(io.agentscope.controlplane.proto.ConfigAck value)

设置该配置项。

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

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

clearConfigAck

public Builder clearConfigAck()

清空配置确认。

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

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

getConfigAckBuilder

public io.agentscope.controlplane.proto.ConfigAck.Builder getConfigAckBuilder()

获取配置确认构建器。

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

返回Returns io.agentscope.controlplane.proto.ConfigAck.Builder
返回io.agentscope.controlplane.协议.ConfigAck.构建器。Returns io agentscope controlplane proto config ack builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:1458–1460

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:1464–1474

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:1503–1506

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:1511–1524

setSessionReport

public Builder setSessionReport(io.agentscope.controlplane.proto.SessionReport value)

设置设置会话报告。

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

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

setSessionReport

public Builder setSessionReport(io.agentscope.controlplane.proto.SessionReport.Builder builderForValue)

设置设置会话报告。

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

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

mergeSessionReport

public Builder mergeSessionReport(io.agentscope.controlplane.proto.SessionReport value)

设置该配置项。

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

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

clearSessionReport

public Builder clearSessionReport()

清空会话报告。

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

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

getSessionReportBuilder

public io.agentscope.controlplane.proto.SessionReport.Builder getSessionReportBuilder()

获取会话报告构建器。

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

返回Returns io.agentscope.controlplane.proto.SessionReport.Builder
返回io.agentscope.controlplane.协议.SessionReport.构建器。Returns io agentscope controlplane proto session report builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:1600–1602

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:1606–1616

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:1645–1648

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:1653–1666

setExecutionAttempt

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

设置设置执行尝试。

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

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

setExecutionAttempt

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

设置设置执行尝试。

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

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

mergeExecutionAttempt

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

设置该配置项。

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

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

clearExecutionAttempt

public Builder clearExecutionAttempt()

清空执行尝试。

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

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

getExecutionAttemptBuilder

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

获取执行尝试构建器。

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

返回Returns io.agentscope.controlplane.proto.ExecutionAttemptReport.Builder
返回io.agentscope.controlplane.协议.ExecutionAttemptReport.构建器。Returns io agentscope controlplane proto execution attempt report builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:1742–1744

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:1748–1758

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:1787–1790

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:1795–1808

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/Upstream.java:1812–1824

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/Upstream.java:1828–1838

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/Upstream.java:1842–1861

clearHeartbeat

public Builder clearHeartbeat()

清空心跳。

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

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

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/Upstream.java:1884–1886

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:1890–1900

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:1933–1936

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:1945–1958

setEventReport

public Builder setEventReport(io.agentscope.controlplane.proto.EventReport value)

设置设置事件报告。

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

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

setEventReport

public Builder setEventReport(io.agentscope.controlplane.proto.EventReport.Builder builderForValue)

设置设置事件报告。

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

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

mergeEventReport

public Builder mergeEventReport(io.agentscope.controlplane.proto.EventReport value)

设置该配置项。

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

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

clearEventReport

public Builder clearEventReport()

清空事件报告。

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

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

getEventReportBuilder

public io.agentscope.controlplane.proto.EventReport.Builder getEventReportBuilder()

获取事件报告构建器。

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

返回Returns io.agentscope.controlplane.proto.EventReport.Builder
返回io.agentscope.controlplane.协议.EventReport.构建器。Returns io agentscope controlplane proto event report builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:2054–2056

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:2064–2074

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:2111–2114

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:2123–2136

setContextReport

public Builder setContextReport(io.agentscope.controlplane.proto.ContextReport value)

设置设置上下文报告。

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

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

setContextReport

public Builder setContextReport(io.agentscope.controlplane.proto.ContextReport.Builder builderForValue)

设置设置上下文报告。

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

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

mergeContextReport

public Builder mergeContextReport(io.agentscope.controlplane.proto.ContextReport value)

设置该配置项。

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

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

clearContextReport

public Builder clearContextReport()

清空上下文报告。

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

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

getContextReportBuilder

public io.agentscope.controlplane.proto.ContextReport.Builder getContextReportBuilder()

获取上下文报告构建器。

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

返回Returns io.agentscope.controlplane.proto.ContextReport.Builder
返回io.agentscope.controlplane.协议.ContextReport.构建器。Returns io agentscope controlplane proto context report builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:2232–2234

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:2242–2252

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:2289–2292

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:2301–2314

setInventory

public Builder setInventory(io.agentscope.controlplane.proto.InventoryReport value)

设置设置清单。

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

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

setInventory

public Builder setInventory(io.agentscope.controlplane.proto.InventoryReport.Builder builderForValue)

设置设置清单。

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

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

mergeInventory

public Builder mergeInventory(io.agentscope.controlplane.proto.InventoryReport value)

设置该配置项。

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

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

clearInventory

public Builder clearInventory()

清空清单。

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

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

getInventoryBuilder

public io.agentscope.controlplane.proto.InventoryReport.Builder getInventoryBuilder()

获取清单构建器。

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

返回Returns io.agentscope.controlplane.proto.InventoryReport.Builder
返回io.agentscope.controlplane.协议.InventoryReport.构建器。Returns io agentscope controlplane proto inventory report builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:2410–2412

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:2420–2430

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:2463–2466

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:2471–2484

setConversationTurn

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

设置设置会话轮次。

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

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

setConversationTurn

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

设置设置会话轮次。

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

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

mergeConversationTurn

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

设置该配置项。

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

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

clearConversationTurn

public Builder clearConversationTurn()

清空会话轮次。

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

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

getConversationTurnBuilder

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

获取会话轮次构建器。

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

返回Returns io.agentscope.controlplane.proto.ConversationTurnReport.Builder
返回io.agentscope.controlplane.协议.ConversationTurnReport.构建器。Returns io agentscope controlplane proto conversation turn report builder.
源码Source io/agentscope/controlplane/proto/Upstream.java:2560–2562

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