Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.aistio.proto.EventReportAckOrBuilder
io/agentscope/aistio/proto/EventReportAck.java:363–956构建器,用于构建并配置目标实例。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.aistio.proto.EventReportAckOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
EventReportAck is the durable commit acknowledgement for an EventReport.
A cursor is emitted only through the highest contiguous sequence committed
for that session in this report. Missing cursors remain pending and are
retransmitted by the data plane.
Protobuf type agentscope.protocol.v1.EventReportAck
方法摘要Method Summary
方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/aistio/proto/EventReportAck.java:367–370internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/aistio/proto/EventReportAck.java:372–378clear
public Builder clear()
清空或重置内部状态。
Clears or resets internal state.
Builderio/agentscope/aistio/proto/EventReportAck.java:390–404getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
获取 getDescriptorForType。
Returns the descriptor for type.
com.google.protobuf.Descriptors.Descriptorio/agentscope/aistio/proto/EventReportAck.java:406–410getDefaultInstanceForType
public io.agentscope.aistio.proto.EventReportAck getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.aistio.proto.EventReportAckio/agentscope/aistio/proto/EventReportAck.java:412–415build
public io.agentscope.aistio.proto.EventReportAck build()
构建并返回最终实例。
Creates and returns an instance.
io.agentscope.aistio.proto.EventReportAckio/agentscope/aistio/proto/EventReportAck.java:417–424buildPartial
public io.agentscope.aistio.proto.EventReportAck buildPartial()
构建 buildPartial。
Builds the partial.
io.agentscope.aistio.proto.EventReportAckio/agentscope/aistio/proto/EventReportAck.java:426–433mergeFrom
public Builder mergeFrom(com.google.protobuf.Message other)
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
other | com.google.protobuf.Message | other(类型 `com.google.protobuf.Message`)。The other. |
Builderio/agentscope/aistio/proto/EventReportAck.java:457–465mergeFrom
public Builder mergeFrom(io.agentscope.aistio.proto.EventReportAck other)
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
other | io.agentscope.aistio.proto.EventReportAck | other(类型 `io.agentscope.aistio.proto.EventReportAck`)。The other. |
Builderio/agentscope/aistio/proto/EventReportAck.java:467–508isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/aistio/proto/EventReportAck.java:510–513mergeFrom
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
设置该配置项。
Performs the merge from operation.
| 名称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. |
Builderjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/EventReportAck.java:515–568getReportId
public java.lang.String getReportId()
获取报告标识。
string report_id = 1;
java.lang.Stringio/agentscope/aistio/proto/EventReportAck.java:576–587getReportIdBytes
public com.google.protobuf.ByteString getReportIdBytes()
获取报告标识字节。
string report_id = 1;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/EventReportAck.java:592–604setReportId
public Builder setReportId(java.lang.String value)
设置设置报告标识。
string report_id = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | reportId 到设置。The reportId to set. |
Builderio/agentscope/aistio/proto/EventReportAck.java:610–617clearReportId
public Builder clearReportId()
清空报告标识。
string report_id = 1;
Builderio/agentscope/aistio/proto/EventReportAck.java:622–627setReportIdBytes
public Builder setReportIdBytes(com.google.protobuf.ByteString value)
设置设置报告标识字节。
string report_id = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 reportId 到设置。The bytes for reportId to set. |
Builderio/agentscope/aistio/proto/EventReportAck.java:633–641getCommittedList
public java.util.List<io.agentscope.aistio.proto.SessionEventCursor> getCommittedList()
获取 getCommittedList。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
java.util.List<io.agentscope.aistio.proto.SessionEventCursor>io/agentscope/aistio/proto/EventReportAck.java:658–664getCommittedCount
public int getCommittedCount()
获取 getCommittedCount。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
intio/agentscope/aistio/proto/EventReportAck.java:668–674getCommitted
public io.agentscope.aistio.proto.SessionEventCursor getCommitted(int index)
获取 getCommitted。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.aistio.proto.SessionEventCursorio/agentscope/aistio/proto/EventReportAck.java:678–684setCommitted
public Builder setCommitted(int index, io.agentscope.aistio.proto.SessionEventCursor value)
设置该配置项。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
value | io.agentscope.aistio.proto.SessionEventCursor | 值(类型 `io.agentscope.aistio.proto.SessionEventCursor`)。The value. |
Builderio/agentscope/aistio/proto/EventReportAck.java:688–701setCommitted
public Builder setCommitted(int index, io.agentscope.aistio.proto.SessionEventCursor.Builder builderForValue)
设置该配置项。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
builderForValue | io.agentscope.aistio.proto.SessionEventCursor.Builder | 构建器用于值(类型 `io.agentscope.aistio.proto.SessionEventCursor.Builder`)。The builder for value. |
Builderio/agentscope/aistio/proto/EventReportAck.java:705–715addCommitted
public Builder addCommitted(io.agentscope.aistio.proto.SessionEventCursor value)
添加 addCommitted。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | io.agentscope.aistio.proto.SessionEventCursor | 值(类型 `io.agentscope.aistio.proto.SessionEventCursor`)。The value. |
Builderio/agentscope/aistio/proto/EventReportAck.java:719–731addCommitted
public Builder addCommitted(int index, io.agentscope.aistio.proto.SessionEventCursor value)
添加 addCommitted。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
value | io.agentscope.aistio.proto.SessionEventCursor | 值(类型 `io.agentscope.aistio.proto.SessionEventCursor`)。The value. |
Builderio/agentscope/aistio/proto/EventReportAck.java:735–748addCommitted
public Builder addCommitted(io.agentscope.aistio.proto.SessionEventCursor.Builder builderForValue)
添加 addCommitted。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
builderForValue | io.agentscope.aistio.proto.SessionEventCursor.Builder | 构建器用于值(类型 `io.agentscope.aistio.proto.SessionEventCursor.Builder`)。The builder for value. |
Builderio/agentscope/aistio/proto/EventReportAck.java:752–762addCommitted
public Builder addCommitted(int index, io.agentscope.aistio.proto.SessionEventCursor.Builder builderForValue)
添加 addCommitted。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
builderForValue | io.agentscope.aistio.proto.SessionEventCursor.Builder | 构建器用于值(类型 `io.agentscope.aistio.proto.SessionEventCursor.Builder`)。The builder for value. |
Builderio/agentscope/aistio/proto/EventReportAck.java:766–776addAllCommitted
public Builder addAllCommitted(java.lang.Iterable<? extends io.agentscope.aistio.proto.SessionEventCursor> values)
添加 addAllCommitted。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
values | java.lang.Iterable<? extends io.agentscope.aistio.proto.SessionEventCursor> | 值(类型 `java.lang.Iterable`)。The values. |
Builderio/agentscope/aistio/proto/EventReportAck.java:780–791clearCommitted
public Builder clearCommitted()
清空 clearCommitted。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
Builderio/agentscope/aistio/proto/EventReportAck.java:795–804removeCommitted
public Builder removeCommitted(int index)
移除 removeCommitted。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
Builderio/agentscope/aistio/proto/EventReportAck.java:808–817getCommittedBuilder
public io.agentscope.aistio.proto.SessionEventCursor.Builder getCommittedBuilder(int index)
获取 getCommittedBuilder。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.aistio.proto.SessionEventCursor.Builderio/agentscope/aistio/proto/EventReportAck.java:821–824getCommittedOrBuilder
public io.agentscope.aistio.proto.SessionEventCursorOrBuilder getCommittedOrBuilder(int index)
获取 getCommittedOrBuilder。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.aistio.proto.SessionEventCursorOrBuilderio/agentscope/aistio/proto/EventReportAck.java:828–834getCommittedOrBuilderList
public java.util.List<? extends io.agentscope.aistio.proto.SessionEventCursorOrBuilder> getCommittedOrBuilderList()
获取 getCommittedOrBuilderList。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
java.util.List<? extends io.agentscope.aistio.proto.SessionEventCursorOrBuilder>io/agentscope/aistio/proto/EventReportAck.java:838–845addCommittedBuilder
public io.agentscope.aistio.proto.SessionEventCursor.Builder addCommittedBuilder()
添加 addCommittedBuilder。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
io.agentscope.aistio.proto.SessionEventCursor.Builderio/agentscope/aistio/proto/EventReportAck.java:849–852addCommittedBuilder
public io.agentscope.aistio.proto.SessionEventCursor.Builder addCommittedBuilder(int index)
添加 addCommittedBuilder。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.aistio.proto.SessionEventCursor.Builderio/agentscope/aistio/proto/EventReportAck.java:856–860getCommittedBuilderList
public java.util.List<io.agentscope.aistio.proto.SessionEventCursor.Builder> getCommittedBuilderList()
获取 getCommittedBuilderList。
repeated .agentscope.protocol.v1.SessionEventCursor committed = 2;
java.util.List<io.agentscope.aistio.proto.SessionEventCursor.Builder>io/agentscope/aistio/proto/EventReportAck.java:864–867getError
public java.lang.String getError()
获取错误。
string error = 3;
java.lang.Stringio/agentscope/aistio/proto/EventReportAck.java:888–899getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()
获取错误字节。
string error = 3;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/EventReportAck.java:904–916setError
public Builder setError(java.lang.String value)
设置设置错误。
string error = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 错误到设置。The error to set. |
Builderio/agentscope/aistio/proto/EventReportAck.java:922–929clearError
public Builder clearError()
清空错误。
string error = 3;
Builderio/agentscope/aistio/proto/EventReportAck.java:934–939setErrorBytes
public Builder setErrorBytes(com.google.protobuf.ByteString value)
设置设置错误字节。
string error = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于错误到设置。The bytes for error to set. |
Builderio/agentscope/aistio/proto/EventReportAck.java:945–953