Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.aistio.proto.WorkspaceInfoOrBuilder
io/agentscope/aistio/proto/WorkspaceInfo.java:383–847构建器,用于构建并配置目标实例。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.aistio.proto.WorkspaceInfoOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
Protobuf type agentscope.protocol.v1.WorkspaceInfo
方法摘要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/WorkspaceInfo.java:387–390internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/aistio/proto/WorkspaceInfo.java:392–398clear
public Builder clear()
清空或重置内部状态。
Clears or resets internal state.
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:410–419getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
获取 getDescriptorForType。
Returns the descriptor for type.
com.google.protobuf.Descriptors.Descriptorio/agentscope/aistio/proto/WorkspaceInfo.java:421–425getDefaultInstanceForType
public io.agentscope.aistio.proto.WorkspaceInfo getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.aistio.proto.WorkspaceInfoio/agentscope/aistio/proto/WorkspaceInfo.java:427–430build
public io.agentscope.aistio.proto.WorkspaceInfo build()
构建并返回最终实例。
Creates and returns an instance.
io.agentscope.aistio.proto.WorkspaceInfoio/agentscope/aistio/proto/WorkspaceInfo.java:432–439buildPartial
public io.agentscope.aistio.proto.WorkspaceInfo buildPartial()
构建 buildPartial。
Builds the partial.
io.agentscope.aistio.proto.WorkspaceInfoio/agentscope/aistio/proto/WorkspaceInfo.java:441–447mergeFrom
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/WorkspaceInfo.java:465–473mergeFrom
public Builder mergeFrom(io.agentscope.aistio.proto.WorkspaceInfo other)
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
other | io.agentscope.aistio.proto.WorkspaceInfo | other(类型 `io.agentscope.aistio.proto.WorkspaceInfo`)。The other. |
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:475–498isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/aistio/proto/WorkspaceInfo.java:500–503mergeFrom
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/WorkspaceInfo.java:505–555getPath
public java.lang.String getPath()
获取路径。
string path = 1;
java.lang.Stringio/agentscope/aistio/proto/WorkspaceInfo.java:563–574getPathBytes
public com.google.protobuf.ByteString getPathBytes()
获取路径字节。
string path = 1;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/WorkspaceInfo.java:579–591setPath
public Builder setPath(java.lang.String value)
设置设置路径。
string path = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 路径到设置。The path to set. |
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:597–604clearPath
public Builder clearPath()
清空路径。
string path = 1;
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:609–614setPathBytes
public Builder setPathBytes(com.google.protobuf.ByteString value)
设置设置路径字节。
string path = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于路径到设置。The bytes for path to set. |
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:620–628getMode
public java.lang.String getMode()
获取模式。
isolated | shared | readonly string mode = 2;
java.lang.Stringio/agentscope/aistio/proto/WorkspaceInfo.java:639–650getModeBytes
public com.google.protobuf.ByteString getModeBytes()
获取模式字节。
isolated | shared | readonly string mode = 2;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/WorkspaceInfo.java:659–671setMode
public Builder setMode(java.lang.String value)
设置设置模式。
isolated | shared | readonly string mode = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 模式到设置。The mode to set. |
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:681–688clearMode
public Builder clearMode()
清空模式。
isolated | shared | readonly string mode = 2;
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:697–702setModeBytes
public Builder setModeBytes(com.google.protobuf.ByteString value)
设置设置模式字节。
isolated | shared | readonly string mode = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于模式到设置。The bytes for mode to set. |
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:712–720getSizeBytes
public long getSizeBytes()
获取大小字节。
int64 size_bytes = 3;
longio/agentscope/aistio/proto/WorkspaceInfo.java:727–730setSizeBytes
public Builder setSizeBytes(long value)
设置设置大小字节。
int64 size_bytes = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | long | sizeBytes 到设置。The sizeBytes to set. |
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:736–742clearSizeBytes
public Builder clearSizeBytes()
清空大小字节。
int64 size_bytes = 3;
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:747–752getOwnerRef
public java.lang.String getOwnerRef()
获取所有者引用。
session_id or subagent name string owner_ref = 4;
java.lang.Stringio/agentscope/aistio/proto/WorkspaceInfo.java:763–774getOwnerRefBytes
public com.google.protobuf.ByteString getOwnerRefBytes()
获取所有者引用字节。
session_id or subagent name string owner_ref = 4;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/WorkspaceInfo.java:783–795setOwnerRef
public Builder setOwnerRef(java.lang.String value)
设置设置所有者引用。
session_id or subagent name string owner_ref = 4;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | ownerRef 到设置。The ownerRef to set. |
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:805–812clearOwnerRef
public Builder clearOwnerRef()
清空所有者引用。
session_id or subagent name string owner_ref = 4;
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:821–826setOwnerRefBytes
public Builder setOwnerRefBytes(com.google.protobuf.ByteString value)
设置设置所有者引用字节。
session_id or subagent name string owner_ref = 4;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 ownerRef 到设置。The bytes for ownerRef to set. |
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:836–844