ConversationTurnReport
public final class ConversationTurnReport extends com.google.protobuf.GeneratedMessage implements ConversationTurnReportOrBuilder
io/agentscope/aistio/proto/ConversationTurnReport.java:11–1545会话轮次报告,承载智能体的部署、调度与服务化运行。位于 io.agentscope.aistio.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_NUMBERstaticfinal | int | INVOCATION 标识 FIELD 数量字段。 The INVOCATION ID FIELD NUMBER field. |
CONVERSATION_ID_FIELD_NUMBERstaticfinal | int | 会话标识 FIELD 数量字段。 The CONVERSATION ID FIELD NUMBER field. |
TURN_ID_FIELD_NUMBERstaticfinal | int | 轮次标识 FIELD 数量字段。 The TURN ID FIELD NUMBER field. |
SESSION_ID_FIELD_NUMBERstaticfinal | int | 会话标识 FIELD 数量字段。 The SESSION ID FIELD NUMBER field. |
GENERATION_FIELD_NUMBERstaticfinal | int | GENERATION FIELD 数量字段。 The GENERATION FIELD NUMBER field. |
ACTION_FIELD_NUMBERstaticfinal | int | 动作 FIELD 数量字段。 The ACTION FIELD NUMBER field. |
SEQUENCE_FIELD_NUMBERstaticfinal | int | SEQUENCE FIELD 数量字段。 The SEQUENCE FIELD NUMBER field. |
PAYLOAD_FIELD_NUMBERstaticfinal | int | 负载 FIELD 数量字段。 The PAYLOAD FIELD NUMBER field. |
ERROR_CODE_FIELD_NUMBERstaticfinal | int | 错误 CODE FIELD 数量字段。 The ERROR CODE FIELD NUMBER field. |
ERROR_MESSAGE_FIELD_NUMBERstaticfinal | int | 错误消息 FIELD 数量字段。 The ERROR MESSAGE FIELD NUMBER field. |
方法摘要Method Summary
字段详情Field Detail
INVOCATION_ID_FIELD_NUMBER
public static final int INVOCATION_ID_FIELD_NUMBER
INVOCATION 标识 FIELD 数量字段。声明为 public static final int INVOCATION_ID_FIELD_NUMBER。
The INVOCATION ID FIELD NUMBER field.
io/agentscope/aistio/proto/ConversationTurnReport.java:53CONVERSATION_ID_FIELD_NUMBER
public static final int CONVERSATION_ID_FIELD_NUMBER
会话标识 FIELD 数量字段。声明为 public static final int CONVERSATION_ID_FIELD_NUMBER。
The CONVERSATION ID FIELD NUMBER field.
io/agentscope/aistio/proto/ConversationTurnReport.java:92TURN_ID_FIELD_NUMBER
public static final int TURN_ID_FIELD_NUMBER
轮次标识 FIELD 数量字段。声明为 public static final int TURN_ID_FIELD_NUMBER。
The TURN ID FIELD NUMBER field.
io/agentscope/aistio/proto/ConversationTurnReport.java:131SESSION_ID_FIELD_NUMBER
public static final int SESSION_ID_FIELD_NUMBER
会话标识 FIELD 数量字段。声明为 public static final int SESSION_ID_FIELD_NUMBER。
The SESSION ID FIELD NUMBER field.
io/agentscope/aistio/proto/ConversationTurnReport.java:170GENERATION_FIELD_NUMBER
public static final int GENERATION_FIELD_NUMBER
GENERATION FIELD 数量字段。声明为 public static final int GENERATION_FIELD_NUMBER。
The GENERATION FIELD NUMBER field.
io/agentscope/aistio/proto/ConversationTurnReport.java:209ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
动作 FIELD 数量字段。声明为 public static final int ACTION_FIELD_NUMBER。
The ACTION FIELD NUMBER field.
io/agentscope/aistio/proto/ConversationTurnReport.java:220SEQUENCE_FIELD_NUMBER
public static final int SEQUENCE_FIELD_NUMBER
SEQUENCE FIELD 数量字段。声明为 public static final int SEQUENCE_FIELD_NUMBER。
The SEQUENCE FIELD NUMBER field.
io/agentscope/aistio/proto/ConversationTurnReport.java:267PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
负载 FIELD 数量字段。声明为 public static final int PAYLOAD_FIELD_NUMBER。
The PAYLOAD FIELD NUMBER field.
io/agentscope/aistio/proto/ConversationTurnReport.java:278ERROR_CODE_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER
错误 CODE FIELD 数量字段。声明为 public static final int ERROR_CODE_FIELD_NUMBER。
The ERROR CODE FIELD NUMBER field.
io/agentscope/aistio/proto/ConversationTurnReport.java:289ERROR_MESSAGE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER
错误消息 FIELD 数量字段。声明为 public static final int ERROR_MESSAGE_FIELD_NUMBER。
The ERROR MESSAGE FIELD NUMBER field.
io/agentscope/aistio/proto/ConversationTurnReport.java:328方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/aistio/proto/ConversationTurnReport.java:40–43internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/aistio/proto/ConversationTurnReport.java:45–51getInvocationId
public java.lang.String getInvocationId()
获取 getInvocationId。
string invocation_id = 1;
java.lang.Stringio/agentscope/aistio/proto/ConversationTurnReport.java:60–72getInvocationIdBytes
public com.google.protobuf.ByteString getInvocationIdBytes()
获取 getInvocationIdBytes。
string invocation_id = 1;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ConversationTurnReport.java:77–90getConversationId
public java.lang.String getConversationId()
获取会话标识。
string conversation_id = 2;
java.lang.Stringio/agentscope/aistio/proto/ConversationTurnReport.java:99–111getConversationIdBytes
public com.google.protobuf.ByteString getConversationIdBytes()
获取会话标识字节。
string conversation_id = 2;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ConversationTurnReport.java:116–129getTurnId
public java.lang.String getTurnId()
获取轮次标识。
string turn_id = 3;
java.lang.Stringio/agentscope/aistio/proto/ConversationTurnReport.java:138–150getTurnIdBytes
public com.google.protobuf.ByteString getTurnIdBytes()
获取轮次标识字节。
string turn_id = 3;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ConversationTurnReport.java:155–168getSessionId
public java.lang.String getSessionId()
获取会话标识。
string session_id = 4;
java.lang.Stringio/agentscope/aistio/proto/ConversationTurnReport.java:177–189getSessionIdBytes
public com.google.protobuf.ByteString getSessionIdBytes()
获取会话标识字节。
string session_id = 4;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ConversationTurnReport.java:194–207getGeneration
public long getGeneration()
获取 getGeneration。
int64 generation = 5;
longio/agentscope/aistio/proto/ConversationTurnReport.java:215–218getAction
public java.lang.String getAction()
获取动作。
accepted | started | delta | completed | failed | cancelled string action = 6;
java.lang.Stringio/agentscope/aistio/proto/ConversationTurnReport.java:231–243getActionBytes
public com.google.protobuf.ByteString getActionBytes()
获取动作字节。
accepted | started | delta | completed | failed | cancelled string action = 6;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ConversationTurnReport.java:252–265getSequence
public long getSequence()
获取 getSequence。
int64 sequence = 7;
longio/agentscope/aistio/proto/ConversationTurnReport.java:273–276getPayload
public com.google.protobuf.ByteString getPayload()
获取负载。
bytes payload = 8;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ConversationTurnReport.java:284–287getErrorCode
public java.lang.String getErrorCode()
获取 getErrorCode。
string error_code = 9;
java.lang.Stringio/agentscope/aistio/proto/ConversationTurnReport.java:296–308getErrorCodeBytes
public com.google.protobuf.ByteString getErrorCodeBytes()
获取 getErrorCodeBytes。
string error_code = 9;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ConversationTurnReport.java:313–326getErrorMessage
public java.lang.String getErrorMessage()
获取错误消息。
string error_message = 10;
java.lang.Stringio/agentscope/aistio/proto/ConversationTurnReport.java:335–347getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()
获取错误消息字节。
string error_message = 10;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ConversationTurnReport.java:352–365isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/aistio/proto/ConversationTurnReport.java:368–376writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
设置写入到。
Performs the write to operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
output | com.google.protobuf.CodedOutputStream | 输出(类型 `com.google.protobuf.CodedOutputStream`)。The output. |
java.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:378–412getSerializedSize
public int getSerializedSize()
获取 getSerializedSize。
Returns the serialized size.
intio/agentscope/aistio/proto/ConversationTurnReport.java:414–456equals
public boolean equals(java.lang.Object obj)
设置该参数。
Performs the equals operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
obj | java.lang.Object | obj(类型 `java.lang.Object`)。The obj. |
booleanio/agentscope/aistio/proto/ConversationTurnReport.java:458–490hashCode
public int hashCode()
返回 hashCode 结果。
Returns the hash code.
intio/agentscope/aistio/proto/ConversationTurnReport.java:492–524parseFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | java.nio.ByteBuffer | 数据(类型 `java.nio.ByteBuffer`)。The data. |
io.agentscope.aistio.proto.ConversationTurnReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:526–530parseFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | java.nio.ByteBuffer | 数据(类型 `java.nio.ByteBuffer`)。The data. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.aistio.proto.ConversationTurnReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:531–536parseFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | com.google.protobuf.ByteString | 数据(类型 `com.google.protobuf.ByteString`)。The data. |
io.agentscope.aistio.proto.ConversationTurnReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:537–541parseFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | com.google.protobuf.ByteString | 数据(类型 `com.google.protobuf.ByteString`)。The data. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.aistio.proto.ConversationTurnReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:542–547parseFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
io.agentscope.aistio.proto.ConversationTurnReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:548–551parseFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.aistio.proto.ConversationTurnReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:552–557parseFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseFrom(java.io.InputStream input) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
io.agentscope.aistio.proto.ConversationTurnReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:558–562parseFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.aistio.proto.ConversationTurnReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:563–569parseDelimitedFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
解析 parseDelimitedFrom。
Parses the delimited from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
io.agentscope.aistio.proto.ConversationTurnReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:571–575parseDelimitedFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
解析 parseDelimitedFrom。
Parses the delimited from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.aistio.proto.ConversationTurnReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:577–583parseFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | com.google.protobuf.CodedInputStream | 输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input. |
io.agentscope.aistio.proto.ConversationTurnReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:584–589parseFrom
public static io.agentscope.aistio.proto.ConversationTurnReport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | com.google.protobuf.CodedInputStream | 输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.aistio.proto.ConversationTurnReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConversationTurnReport.java:590–596newBuilderForType
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
Builderio/agentscope/aistio/proto/ConversationTurnReport.java:598–599newBuilder
public static Builder newBuilder()
创建构建器。
Returns the new builder.
Builderio/agentscope/aistio/proto/ConversationTurnReport.java:600–602newBuilder
public static Builder newBuilder(io.agentscope.aistio.proto.ConversationTurnReport prototype)
创建构建器。
Performs the new builder operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
prototype | io.agentscope.aistio.proto.ConversationTurnReport | prototype(类型 `io.agentscope.aistio.proto.ConversationTurnReport`)。The prototype. |
Builderio/agentscope/aistio/proto/ConversationTurnReport.java:603–605toBuilder
public Builder toBuilder()
返回到构建器。
Returns the to builder.
Builderio/agentscope/aistio/proto/ConversationTurnReport.java:606–610newBuilderForType
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
创建构建器用于类型。
Performs the new builder for type operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
parent | com.google.protobuf.GeneratedMessage.BuilderParent | 父级(类型 `com.google.protobuf.GeneratedMessage.BuilderParent`)。The parent. |
Builderio/agentscope/aistio/proto/ConversationTurnReport.java:612–617getDefaultInstance
public static io.agentscope.aistio.proto.ConversationTurnReport getDefaultInstance()
获取默认实例。
Returns the default instance.
io.agentscope.aistio.proto.ConversationTurnReportio/agentscope/aistio/proto/ConversationTurnReport.java:1505–1507parser
public static com.google.protobuf.Parser<ConversationTurnReport> parser()
返回解析器。
Returns the parser.
com.google.protobuf.Parser<ConversationTurnReport>io/agentscope/aistio/proto/ConversationTurnReport.java:1531–1533getParserForType
public com.google.protobuf.Parser<ConversationTurnReport> getParserForType()
获取解析器用于类型。
Returns the parser for type.
com.google.protobuf.Parser<ConversationTurnReport>io/agentscope/aistio/proto/ConversationTurnReport.java:1535–1538getDefaultInstanceForType
public io.agentscope.aistio.proto.ConversationTurnReport getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.aistio.proto.ConversationTurnReportio/agentscope/aistio/proto/ConversationTurnReport.java:1540–1543嵌套类详情Nested Class Detail
Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.aistio.proto.ConversationTurnReportOrBuilder构建器,用于构建并配置目标实例。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.aistio.proto.ConversationTurnReportOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
Protobuf type agentscope.protocol.v1.ConversationTurnReport