AS AgentScopeAPI 手册 / API Reference

Downstream

public final class Downstream extends com.google.protobuf.GeneratedMessage implements DownstreamOrBuilder
源码Source io/agentscope/controlplane/proto/Downstream.java:11–1895

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

Protobuf type agentscope.protocol.v1.Downstream

嵌套类摘要Nested Class Summary

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

字段摘要Field Summary

字段Field类型Type说明Description
CONNECT_ACK_FIELD_NUMBER
staticfinal
int
连接确认 FIELD 数量字段。
The CONNECT ACK FIELD NUMBER field.
CONFIG_PUSH_FIELD_NUMBER
staticfinal
int
配置推送 FIELD 数量字段。
The CONFIG PUSH FIELD NUMBER field.
SESSION_CMD_FIELD_NUMBER
staticfinal
int
会话 CMD FIELD 数量字段。
The SESSION CMD FIELD NUMBER field.
EXECUTION_ATTEMPT_FIELD_NUMBER
staticfinal
int
执行尝试 FIELD 数量字段。
The EXECUTION ATTEMPT FIELD NUMBER field.
HEARTBEAT_FIELD_NUMBER
staticfinal
int
心跳 FIELD 数量字段。
The HEARTBEAT FIELD NUMBER field.
CONVERSATION_TURN_FIELD_NUMBER
staticfinal
int
会话轮次 FIELD 数量字段。
The CONVERSATION TURN FIELD NUMBER field.
EVENT_ACK_FIELD_NUMBER
staticfinal
int
事件确认 FIELD 数量字段。
The EVENT ACK FIELD NUMBER field.

方法摘要Method Summary

方法Method说明Description
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
staticfinal
获取描述符。
Returns the descriptor.
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 `internalGetFieldAccessorTable` 结果。
Returns the internal get field accessor table.
public PayloadCase getPayloadCase()
获取负载取值。
Returns the payload case.
public boolean 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 final boolean isInitialized()
final
判断是否已初始化。
Returns whether the initialized.
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
设置写入到。
Performs the write to operation.
public int getSerializedSize()
获取 `getSerializedSize`。
Returns the serialized size.
public boolean equals(java.lang.Object obj)
设置该参数。
Performs the equals operation.
public int hashCode()
返回 `hashCode` 结果。
Returns the hash code.
public static io.agentscope.controlplane.proto.Downstream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Downstream parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Downstream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Downstream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Downstream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Downstream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Downstream parseFrom(java.io.InputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Downstream parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Downstream parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.controlplane.proto.Downstream parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.controlplane.proto.Downstream parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.Downstream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
public static Builder newBuilder()
static
创建构建器。
Returns the new builder.
public static Builder newBuilder(io.agentscope.controlplane.proto.Downstream prototype)
static
创建构建器。
Performs the new builder operation.
public Builder toBuilder()
返回到构建器。
Returns the to builder.
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
创建构建器用于类型。
Performs the new builder for type operation.
public static io.agentscope.controlplane.proto.Downstream getDefaultInstance()
static
获取默认实例。
Returns the default instance.
public static com.google.protobuf.Parser<Downstream> parser()
static
返回解析器。
Returns the parser.
public com.google.protobuf.Parser<Downstream> getParserForType()
获取解析器用于类型。
Returns the parser for type.
public io.agentscope.controlplane.proto.Downstream getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.

字段详情Field Detail

CONNECT_ACK_FIELD_NUMBER

public static final int CONNECT_ACK_FIELD_NUMBER
staticfinal

连接确认 FIELD 数量字段。声明为 public static final int CONNECT_ACK_FIELD_NUMBER。

The CONNECT ACK FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/Downstream.java:97

CONFIG_PUSH_FIELD_NUMBER

public static final int CONFIG_PUSH_FIELD_NUMBER
staticfinal

配置推送 FIELD 数量字段。声明为 public static final int CONFIG_PUSH_FIELD_NUMBER。

The CONFIG PUSH FIELD NUMBER field.

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

SESSION_CMD_FIELD_NUMBER

public static final int SESSION_CMD_FIELD_NUMBER
staticfinal

会话 CMD FIELD 数量字段。声明为 public static final int SESSION_CMD_FIELD_NUMBER。

The SESSION CMD FIELD NUMBER field.

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

EXECUTION_ATTEMPT_FIELD_NUMBER

public static final int EXECUTION_ATTEMPT_FIELD_NUMBER
staticfinal

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

The EXECUTION ATTEMPT FIELD NUMBER field.

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

HEARTBEAT_FIELD_NUMBER

public static final int HEARTBEAT_FIELD_NUMBER
staticfinal

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

The HEARTBEAT FIELD NUMBER field.

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

CONVERSATION_TURN_FIELD_NUMBER

public static final int CONVERSATION_TURN_FIELD_NUMBER
staticfinal

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

The CONVERSATION TURN FIELD NUMBER field.

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

EVENT_ACK_FIELD_NUMBER

public static final int EVENT_ACK_FIELD_NUMBER
staticfinal

事件确认 FIELD 数量字段。声明为 public static final int EVENT_ACK_FIELD_NUMBER。

The EVENT ACK FIELD NUMBER field.

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

方法详情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:32–35

internalGetFieldAccessorTable

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

返回 internalGetFieldAccessorTable 结果。

Returns the internal get field accessor table.

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

getPayloadCase

public PayloadCase getPayloadCase()

获取负载取值。

Returns the payload case.

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

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:102–105

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:110–116

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:120–126

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:133–136

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:141–147

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:151–157

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:164–167

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:172–178

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:182–188

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:195–198

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:203–209

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:213–219

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:226–229

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:234–240

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:244–250

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:257–260

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:265–271

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:275–281

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:288–291

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:296–302

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:306–312

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

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

writeTo

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

设置写入到。

Performs the write to operation.

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

getSerializedSize

public int getSerializedSize()

获取 getSerializedSize。

Returns the serialized size.

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

equals

public boolean equals(java.lang.Object obj)

设置该参数。

Performs the equals operation.

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

hashCode

public int hashCode()

返回 hashCode 结果。

Returns the hash code.

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

parseFrom

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

解析来自。

Parses the from.

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

parseFrom

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

解析来自。

Parses the from.

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

parseFrom

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

解析来自。

Parses the from.

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

parseFrom

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

解析来自。

Parses the from.

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

parseFrom

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

解析来自。

Parses the from.

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

parseFrom

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

解析来自。

Parses the from.

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

parseFrom

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

解析来自。

Parses the from.

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

parseFrom

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

解析来自。

Parses the from.

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

parseDelimitedFrom

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

解析 parseDelimitedFrom。

Parses the delimited from.

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

parseDelimitedFrom

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

解析 parseDelimitedFrom。

Parses the delimited from.

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

parseFrom

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

解析来自。

Parses the from.

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

parseFrom

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

解析来自。

Parses the from.

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

newBuilderForType

public Builder newBuilderForType()

创建构建器用于类型。

Returns the new builder for type.

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

newBuilder

public static Builder newBuilder()
static

创建构建器。

Returns the new builder.

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

newBuilder

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

创建构建器。

Performs the new builder operation.

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

toBuilder

public Builder toBuilder()

返回到构建器。

Returns the to builder.

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

newBuilderForType

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

创建构建器用于类型。

Performs the new builder for type operation.

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

getDefaultInstance

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

获取默认实例。

Returns the default instance.

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

parser

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

返回解析器。

Returns the parser.

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

getParserForType

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

获取解析器用于类型。

Returns the parser for type.

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

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

嵌套类详情Nested Class Detail

PayloadCase

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

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

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

Builder

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

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

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