AS AgentScopeAPI 手册 / API Reference

ConversationTurnCommand

public final class ConversationTurnCommand extends com.google.protobuf.GeneratedMessage implements ConversationTurnCommandOrBuilder
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:17–1665

会话轮次命令,承载智能体的部署、调度与服务化运行。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 ConversationTurnCommandOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getInvocationId、getInvocationIdBytes、getConversationId、getConversationIdBytes。


ConversationTurnCommand is the explicit online invocation protocol. It is
separate from SessionCommand because user turns require public invocation
identity, fencing, acknowledgement, streaming, and a final result.

Protobuf type agentscope.protocol.v1.ConversationTurnCommand

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
Builder类class
构建器,用于构建并配置目标实例。
``` ConversationTurnCommand is the explicit online invocation protocol.

字段摘要Field Summary

字段Field类型Type说明Description
INVOCATION_ID_FIELD_NUMBER
staticfinal
int
INVOCATION 标识 FIELD 数量字段。
The INVOCATION ID FIELD NUMBER field.
CONVERSATION_ID_FIELD_NUMBER
staticfinal
int
会话标识 FIELD 数量字段。
The CONVERSATION ID FIELD NUMBER field.
TURN_ID_FIELD_NUMBER
staticfinal
int
轮次标识 FIELD 数量字段。
The TURN ID FIELD NUMBER field.
SESSION_ID_FIELD_NUMBER
staticfinal
int
会话标识 FIELD 数量字段。
The SESSION ID FIELD NUMBER field.
AGENT_ID_FIELD_NUMBER
staticfinal
int
智能体标识 FIELD 数量字段。
The AGENT ID FIELD NUMBER field.
BINDING_ID_FIELD_NUMBER
staticfinal
int
绑定标识 FIELD 数量字段。
The BINDING ID FIELD NUMBER field.
INSTANCE_ID_FIELD_NUMBER
staticfinal
int
实例标识 FIELD 数量字段。
The INSTANCE ID FIELD NUMBER field.
GENERATION_FIELD_NUMBER
staticfinal
int
GENERATION FIELD 数量字段。
The GENERATION FIELD NUMBER field.
INPUT_FIELD_NUMBER
staticfinal
int
输入 FIELD 数量字段。
The INPUT FIELD NUMBER field.
DEADLINE_FIELD_NUMBER
staticfinal
int
截止时间 FIELD 数量字段。
The DEADLINE FIELD NUMBER field.
CORRELATION_ID_FIELD_NUMBER
staticfinal
int
CORRELATION 标识 FIELD 数量字段。
The CORRELATION ID 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 java.lang.String getInvocationId()
获取 `getInvocationId`。
`string invocation_id = 1;`
public com.google.protobuf.ByteString getInvocationIdBytes()
获取 `getInvocationIdBytes`。
`string invocation_id = 1;`
public java.lang.String getConversationId()
获取会话标识。
`string conversation_id = 2;`
public com.google.protobuf.ByteString getConversationIdBytes()
获取会话标识字节。
`string conversation_id = 2;`
public java.lang.String getTurnId()
获取轮次标识。
`string turn_id = 3;`
public com.google.protobuf.ByteString getTurnIdBytes()
获取轮次标识字节。
`string turn_id = 3;`
public java.lang.String getSessionId()
获取会话标识。
`string session_id = 4;`
public com.google.protobuf.ByteString getSessionIdBytes()
获取会话标识字节。
`string session_id = 4;`
public java.lang.String getAgentId()
获取智能体标识。
`string agent_id = 5;`
public com.google.protobuf.ByteString getAgentIdBytes()
获取智能体标识字节。
`string agent_id = 5;`
public java.lang.String getBindingId()
获取绑定标识。
`string binding_id = 6;`
public com.google.protobuf.ByteString getBindingIdBytes()
获取绑定标识字节。
`string binding_id = 6;`
public java.lang.String getInstanceId()
获取实例标识。
`string instance_id = 7;`
public com.google.protobuf.ByteString getInstanceIdBytes()
获取实例标识字节。
`string instance_id = 7;`
public long getGeneration()
获取 `getGeneration`。
`int64 generation = 8;`
public com.google.protobuf.ByteString getInput()
获取输入。
`bytes input = 9;`
public long getDeadline()
获取截止时间。
`int64 deadline = 10;`
public java.lang.String getCorrelationId()
获取 `getCorrelationId`。
`string correlation_id = 11;`
public com.google.protobuf.ByteString getCorrelationIdBytes()
获取 `getCorrelationIdBytes`。
`string correlation_id = 11;`
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.aistio.proto.ConversationTurnCommand parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConversationTurnCommand parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConversationTurnCommand parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConversationTurnCommand parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConversationTurnCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConversationTurnCommand parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConversationTurnCommand parseFrom(java.io.InputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConversationTurnCommand parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConversationTurnCommand parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.aistio.proto.ConversationTurnCommand parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.aistio.proto.ConversationTurnCommand parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand getDefaultInstance()
static
获取默认实例。
Returns the default instance.
public static com.google.protobuf.Parser<ConversationTurnCommand> parser()
static
返回解析器。
Returns the parser.
public com.google.protobuf.Parser<ConversationTurnCommand> getParserForType()
获取解析器用于类型。
Returns the parser for type.
public io.agentscope.aistio.proto.ConversationTurnCommand getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.

字段详情Field Detail

INVOCATION_ID_FIELD_NUMBER

public static final int INVOCATION_ID_FIELD_NUMBER
staticfinal

INVOCATION 标识 FIELD 数量字段。声明为 public static final int INVOCATION_ID_FIELD_NUMBER。

The INVOCATION ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:60

CONVERSATION_ID_FIELD_NUMBER

public static final int CONVERSATION_ID_FIELD_NUMBER
staticfinal

会话标识 FIELD 数量字段。声明为 public static final int CONVERSATION_ID_FIELD_NUMBER。

The CONVERSATION ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:99

TURN_ID_FIELD_NUMBER

public static final int TURN_ID_FIELD_NUMBER
staticfinal

轮次标识 FIELD 数量字段。声明为 public static final int TURN_ID_FIELD_NUMBER。

The TURN ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:138

SESSION_ID_FIELD_NUMBER

public static final int SESSION_ID_FIELD_NUMBER
staticfinal

会话标识 FIELD 数量字段。声明为 public static final int SESSION_ID_FIELD_NUMBER。

The SESSION ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:177

AGENT_ID_FIELD_NUMBER

public static final int AGENT_ID_FIELD_NUMBER
staticfinal

智能体标识 FIELD 数量字段。声明为 public static final int AGENT_ID_FIELD_NUMBER。

The AGENT ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:216

BINDING_ID_FIELD_NUMBER

public static final int BINDING_ID_FIELD_NUMBER
staticfinal

绑定标识 FIELD 数量字段。声明为 public static final int BINDING_ID_FIELD_NUMBER。

The BINDING ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:255

INSTANCE_ID_FIELD_NUMBER

public static final int INSTANCE_ID_FIELD_NUMBER
staticfinal

实例标识 FIELD 数量字段。声明为 public static final int INSTANCE_ID_FIELD_NUMBER。

The INSTANCE ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:294

GENERATION_FIELD_NUMBER

public static final int GENERATION_FIELD_NUMBER
staticfinal

GENERATION FIELD 数量字段。声明为 public static final int GENERATION_FIELD_NUMBER。

The GENERATION FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:333

INPUT_FIELD_NUMBER

public static final int INPUT_FIELD_NUMBER
staticfinal

输入 FIELD 数量字段。声明为 public static final int INPUT_FIELD_NUMBER。

The INPUT FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:344

DEADLINE_FIELD_NUMBER

public static final int DEADLINE_FIELD_NUMBER
staticfinal

截止时间 FIELD 数量字段。声明为 public static final int DEADLINE_FIELD_NUMBER。

The DEADLINE FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:355

CORRELATION_ID_FIELD_NUMBER

public static final int CORRELATION_ID_FIELD_NUMBER
staticfinal

CORRELATION 标识 FIELD 数量字段。声明为 public static final int CORRELATION_ID_FIELD_NUMBER。

The CORRELATION ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:366

方法详情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/aistio/proto/ConversationTurnCommand.java:47–50

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/aistio/proto/ConversationTurnCommand.java:52–58

getInvocationId

public java.lang.String getInvocationId()

获取 getInvocationId。

string invocation_id = 1;

返回Returns java.lang.String
返回java.lang.String。The invocationId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:67–79

getInvocationIdBytes

public com.google.protobuf.ByteString getInvocationIdBytes()

获取 getInvocationIdBytes。

string invocation_id = 1;

返回Returns com.google.protobuf.ByteString
字节用于 invocationId。The bytes for invocationId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:84–97

getConversationId

public java.lang.String getConversationId()

获取会话标识。

string conversation_id = 2;

返回Returns java.lang.String
返回java.lang.String。The conversationId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:106–118

getConversationIdBytes

public com.google.protobuf.ByteString getConversationIdBytes()

获取会话标识字节。

string conversation_id = 2;

返回Returns com.google.protobuf.ByteString
字节用于 conversationId。The bytes for conversationId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:123–136

getTurnId

public java.lang.String getTurnId()

获取轮次标识。

string turn_id = 3;

返回Returns java.lang.String
返回java.lang.String。The turnId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:145–157

getTurnIdBytes

public com.google.protobuf.ByteString getTurnIdBytes()

获取轮次标识字节。

string turn_id = 3;

返回Returns com.google.protobuf.ByteString
字节用于 turnId。The bytes for turnId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:162–175

getSessionId

public java.lang.String getSessionId()

获取会话标识。

string session_id = 4;

返回Returns java.lang.String
会话标识。The sessionId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:184–196

getSessionIdBytes

public com.google.protobuf.ByteString getSessionIdBytes()

获取会话标识字节。

string session_id = 4;

返回Returns com.google.protobuf.ByteString
字节用于会话标识。The bytes for sessionId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:201–214

getAgentId

public java.lang.String getAgentId()

获取智能体标识。

string agent_id = 5;

返回Returns java.lang.String
返回java.lang.String。The agentId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:223–235

getAgentIdBytes

public com.google.protobuf.ByteString getAgentIdBytes()

获取智能体标识字节。

string agent_id = 5;

返回Returns com.google.protobuf.ByteString
字节用于 agentId。The bytes for agentId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:240–253

getBindingId

public java.lang.String getBindingId()

获取绑定标识。

string binding_id = 6;

返回Returns java.lang.String
返回java.lang.String。The bindingId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:262–274

getBindingIdBytes

public com.google.protobuf.ByteString getBindingIdBytes()

获取绑定标识字节。

string binding_id = 6;

返回Returns com.google.protobuf.ByteString
字节用于 bindingId。The bytes for bindingId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:279–292

getInstanceId

public java.lang.String getInstanceId()

获取实例标识。

string instance_id = 7;

返回Returns java.lang.String
返回java.lang.String。The instanceId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:301–313

getInstanceIdBytes

public com.google.protobuf.ByteString getInstanceIdBytes()

获取实例标识字节。

string instance_id = 7;

返回Returns com.google.protobuf.ByteString
字节用于 instanceId。The bytes for instanceId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:318–331

getGeneration

public long getGeneration()

获取 getGeneration。

int64 generation = 8;

返回Returns long
返回数值结果。The generation.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:339–342

getInput

public com.google.protobuf.ByteString getInput()

获取输入。

bytes input = 9;

返回Returns com.google.protobuf.ByteString
输入。The input.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:350–353

getDeadline

public long getDeadline()

获取截止时间。

int64 deadline = 10;

返回Returns long
截止时间。The deadline.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:361–364

getCorrelationId

public java.lang.String getCorrelationId()

获取 getCorrelationId。

string correlation_id = 11;

返回Returns java.lang.String
关联标识。The correlationId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:373–385

getCorrelationIdBytes

public com.google.protobuf.ByteString getCorrelationIdBytes()

获取 getCorrelationIdBytes。

string correlation_id = 11;

返回Returns com.google.protobuf.ByteString
字节用于关联标识。The bytes for correlationId.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:390–403

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:406–414

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/aistio/proto/ConversationTurnCommand.java:416–453

getSerializedSize

public int getSerializedSize()

获取 getSerializedSize。

Returns the serialized size.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:455–500

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/aistio/proto/ConversationTurnCommand.java:502–536

hashCode

public int hashCode()

返回 hashCode 结果。

Returns the hash code.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:538–572

parseFrom

public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:574–578

parseFrom

public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:579–584

parseFrom

public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:585–589

parseFrom

public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:590–595

parseFrom

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

解析来自。

Parses the from.

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

parseFrom

public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:600–605

parseFrom

public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:606–610

parseFrom

public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:611–617

parseDelimitedFrom

public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:619–623

parseDelimitedFrom

public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:625–631

parseFrom

public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:632–637

parseFrom

public static io.agentscope.aistio.proto.ConversationTurnCommand 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.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:638–644

newBuilderForType

public Builder newBuilderForType()

创建构建器用于类型。

Returns the new builder for type.

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

newBuilder

public static Builder newBuilder()
static

创建构建器。

Returns the new builder.

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

newBuilder

public static Builder newBuilder(io.agentscope.aistio.proto.ConversationTurnCommand prototype)
static

创建构建器。

Performs the new builder operation.

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

toBuilder

public Builder toBuilder()

返回到构建器。

Returns the to builder.

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

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/aistio/proto/ConversationTurnCommand.java:660–665

getDefaultInstance

public static io.agentscope.aistio.proto.ConversationTurnCommand getDefaultInstance()
static

获取默认实例。

Returns the default instance.

返回Returns io.agentscope.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:1625–1627

parser

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

返回解析器。

Returns the parser.

返回Returns com.google.protobuf.Parser<ConversationTurnCommand>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:1651–1653

getParserForType

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

获取解析器用于类型。

Returns the parser for type.

返回Returns com.google.protobuf.Parser<ConversationTurnCommand>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:1655–1658

getDefaultInstanceForType

public io.agentscope.aistio.proto.ConversationTurnCommand getDefaultInstanceForType()

获取默认实例用于类型。

Returns the default instance for type.

返回Returns io.agentscope.aistio.proto.ConversationTurnCommand
返回io.agentscope.aistio.协议.ConversationTurnCommand。Returns io agentscope aistio proto conversation turn command.
源码Source io/agentscope/aistio/proto/ConversationTurnCommand.java:1660–1663

嵌套类详情Nested Class Detail

Builder

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

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


ConversationTurnCommand is the explicit online invocation protocol. It is
separate from SessionCommand because user turns require public invocation
identity, fencing, acknowledgement, streaming, and a final result.

Protobuf type agentscope.protocol.v1.ConversationTurnCommand

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