AS AgentScopeAPI 手册 / API Reference

ConversationTurnReport

public final class ConversationTurnReport extends com.google.protobuf.GeneratedMessage implements ConversationTurnReportOrBuilder
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:11–1545

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

Protobuf type agentscope.protocol.v1.ConversationTurnReport

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
Builder类class
构建器,用于构建并配置目标实例。
Protobuf type `agentscope.protocol.v1.ConversationTurnReport`

字段摘要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.
GENERATION_FIELD_NUMBER
staticfinal
int
GENERATION FIELD 数量字段。
The GENERATION FIELD NUMBER field.
ACTION_FIELD_NUMBER
staticfinal
int
动作 FIELD 数量字段。
The ACTION FIELD NUMBER field.
SEQUENCE_FIELD_NUMBER
staticfinal
int
SEQUENCE FIELD 数量字段。
The SEQUENCE FIELD NUMBER field.
PAYLOAD_FIELD_NUMBER
staticfinal
int
负载 FIELD 数量字段。
The PAYLOAD FIELD NUMBER field.
ERROR_CODE_FIELD_NUMBER
staticfinal
int
错误 CODE FIELD 数量字段。
The ERROR CODE FIELD NUMBER field.
ERROR_MESSAGE_FIELD_NUMBER
staticfinal
int
错误消息 FIELD 数量字段。
The ERROR MESSAGE 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 long getGeneration()
获取 `getGeneration`。
`int64 generation = 5;`
public java.lang.String getAction()
获取动作。
``` accepted | started | delta | completed | failed | cancelled
public com.google.protobuf.ByteString getActionBytes()
获取动作字节。
``` accepted | started | delta | completed | failed | cancelled
public long getSequence()
获取 `getSequence`。
`int64 sequence = 7;`
public com.google.protobuf.ByteString getPayload()
获取负载。
`bytes payload = 8;`
public java.lang.String getErrorCode()
获取 `getErrorCode`。
`string error_code = 9;`
public com.google.protobuf.ByteString getErrorCodeBytes()
获取 `getErrorCodeBytes`。
`string error_code = 9;`
public java.lang.String getErrorMessage()
获取错误消息。
`string error_message = 10;`
public com.google.protobuf.ByteString getErrorMessageBytes()
获取错误消息字节。
`string error_message = 10;`
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.ConversationTurnReport parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ConversationTurnReport 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.ConversationTurnReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ConversationTurnReport 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.ConversationTurnReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ConversationTurnReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ConversationTurnReport parseFrom(java.io.InputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ConversationTurnReport parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ConversationTurnReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.controlplane.proto.ConversationTurnReport 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.ConversationTurnReport parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ConversationTurnReport 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.ConversationTurnReport 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.ConversationTurnReport getDefaultInstance()
static
获取默认实例。
Returns the default instance.
public static com.google.protobuf.Parser<ConversationTurnReport> parser()
static
返回解析器。
Returns the parser.
public com.google.protobuf.Parser<ConversationTurnReport> getParserForType()
获取解析器用于类型。
Returns the parser for type.
public io.agentscope.controlplane.proto.ConversationTurnReport 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/controlplane/proto/ConversationTurnReport.java:53

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/controlplane/proto/ConversationTurnReport.java:92

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/controlplane/proto/ConversationTurnReport.java:131

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/controlplane/proto/ConversationTurnReport.java:170

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/controlplane/proto/ConversationTurnReport.java:209

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
staticfinal

动作 FIELD 数量字段。声明为 public static final int ACTION_FIELD_NUMBER。

The ACTION FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:220

SEQUENCE_FIELD_NUMBER

public static final int SEQUENCE_FIELD_NUMBER
staticfinal

SEQUENCE FIELD 数量字段。声明为 public static final int SEQUENCE_FIELD_NUMBER。

The SEQUENCE FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:267

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
staticfinal

负载 FIELD 数量字段。声明为 public static final int PAYLOAD_FIELD_NUMBER。

The PAYLOAD FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:278

ERROR_CODE_FIELD_NUMBER

public static final int ERROR_CODE_FIELD_NUMBER
staticfinal

错误 CODE FIELD 数量字段。声明为 public static final int ERROR_CODE_FIELD_NUMBER。

The ERROR CODE FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:289

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
staticfinal

错误消息 FIELD 数量字段。声明为 public static final int ERROR_MESSAGE_FIELD_NUMBER。

The ERROR MESSAGE FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:328

方法详情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/ConversationTurnReport.java:40–43

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/ConversationTurnReport.java:45–51

getInvocationId

public java.lang.String getInvocationId()

获取 getInvocationId。

string invocation_id = 1;

返回Returns java.lang.String
返回java.lang.String。The invocationId.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:60–72

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/controlplane/proto/ConversationTurnReport.java:77–90

getConversationId

public java.lang.String getConversationId()

获取会话标识。

string conversation_id = 2;

返回Returns java.lang.String
返回java.lang.String。The conversationId.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:99–111

getConversationIdBytes

public com.google.protobuf.ByteString getConversationIdBytes()

获取会话标识字节。

string conversation_id = 2;

返回Returns com.google.protobuf.ByteString
字节用于 conversationId。The bytes for conversationId.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:116–129

getTurnId

public java.lang.String getTurnId()

获取轮次标识。

string turn_id = 3;

返回Returns java.lang.String
返回java.lang.String。The turnId.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:138–150

getTurnIdBytes

public com.google.protobuf.ByteString getTurnIdBytes()

获取轮次标识字节。

string turn_id = 3;

返回Returns com.google.protobuf.ByteString
字节用于 turnId。The bytes for turnId.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:155–168

getSessionId

public java.lang.String getSessionId()

获取会话标识。

string session_id = 4;

返回Returns java.lang.String
会话标识。The sessionId.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:177–189

getSessionIdBytes

public com.google.protobuf.ByteString getSessionIdBytes()

获取会话标识字节。

string session_id = 4;

返回Returns com.google.protobuf.ByteString
字节用于会话标识。The bytes for sessionId.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:194–207

getGeneration

public long getGeneration()

获取 getGeneration。

int64 generation = 5;

返回Returns long
返回数值结果。The generation.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:215–218

getAction

public java.lang.String getAction()

获取动作。

accepted | started | delta | completed | failed | cancelled string action = 6;

返回Returns java.lang.String
动作。The action.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:231–243

getActionBytes

public com.google.protobuf.ByteString getActionBytes()

获取动作字节。

accepted | started | delta | completed | failed | cancelled string action = 6;

返回Returns com.google.protobuf.ByteString
字节用于动作。The bytes for action.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:252–265

getSequence

public long getSequence()

获取 getSequence。

int64 sequence = 7;

返回Returns long
返回数值结果。The sequence.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:273–276

getPayload

public com.google.protobuf.ByteString getPayload()

获取负载。

bytes payload = 8;

返回Returns com.google.protobuf.ByteString
负载。The payload.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:284–287

getErrorCode

public java.lang.String getErrorCode()

获取 getErrorCode。

string error_code = 9;

返回Returns java.lang.String
返回java.lang.String。The errorCode.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:296–308

getErrorCodeBytes

public com.google.protobuf.ByteString getErrorCodeBytes()

获取 getErrorCodeBytes。

string error_code = 9;

返回Returns com.google.protobuf.ByteString
字节用于 errorCode。The bytes for errorCode.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:313–326

getErrorMessage

public java.lang.String getErrorMessage()

获取错误消息。

string error_message = 10;

返回Returns java.lang.String
返回java.lang.String。The errorMessage.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:335–347

getErrorMessageBytes

public com.google.protobuf.ByteString getErrorMessageBytes()

获取错误消息字节。

string error_message = 10;

返回Returns com.google.protobuf.ByteString
字节用于 errorMessage。The bytes for errorMessage.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:352–365

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

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

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/ConversationTurnReport.java:378–412

getSerializedSize

public int getSerializedSize()

获取 getSerializedSize。

Returns the serialized size.

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

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/ConversationTurnReport.java:458–490

hashCode

public int hashCode()

返回 hashCode 结果。

Returns the hash code.

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseDelimitedFrom

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

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilderForType

public Builder newBuilderForType()

创建构建器用于类型。

Returns the new builder for type.

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

newBuilder

public static Builder newBuilder()
static

创建构建器。

Returns the new builder.

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

newBuilder

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

创建构建器。

Performs the new builder operation.

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

toBuilder

public Builder toBuilder()

返回到构建器。

Returns the to builder.

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

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/ConversationTurnReport.java:612–617

getDefaultInstance

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

获取默认实例。

Returns the default instance.

返回Returns io.agentscope.controlplane.proto.ConversationTurnReport
返回io.agentscope.controlplane.协议.ConversationTurnReport。Returns io agentscope controlplane proto conversation turn report.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:1505–1507

parser

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

返回解析器。

Returns the parser.

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

getParserForType

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

获取解析器用于类型。

Returns the parser for type.

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

getDefaultInstanceForType

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

获取默认实例用于类型。

Returns the default instance for type.

返回Returns io.agentscope.controlplane.proto.ConversationTurnReport
返回io.agentscope.controlplane.协议.ConversationTurnReport。Returns io agentscope controlplane proto conversation turn report.
源码Source io/agentscope/controlplane/proto/ConversationTurnReport.java:1540–1543

嵌套类详情Nested Class Detail

Builder

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

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

Protobuf type agentscope.protocol.v1.ConversationTurnReport

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