WorkspaceInfo
public final class WorkspaceInfo extends com.google.protobuf.GeneratedMessage implements WorkspaceInfoOrBuilder
io/agentscope/aistio/proto/WorkspaceInfo.java:11–895工作区信息,承载智能体的部署、调度与服务化运行。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 WorkspaceInfoOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getPath、getPathBytes、getMode、getModeBytes。
Protobuf type agentscope.protocol.v1.WorkspaceInfo
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 Protobuf type `agentscope.protocol.v1.WorkspaceInfo` |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
PATH_FIELD_NUMBERstaticfinal | int | 路径 FIELD 数量字段。 The PATH FIELD NUMBER field. |
MODE_FIELD_NUMBERstaticfinal | int | 模式 FIELD 数量字段。 The MODE FIELD NUMBER field. |
SIZE_BYTES_FIELD_NUMBERstaticfinal | int | 大小字节 FIELD 数量字段。 The SIZE BYTES FIELD NUMBER field. |
OWNER_REF_FIELD_NUMBERstaticfinal | int | 所有者引用 FIELD 数量字段。 The OWNER REF FIELD NUMBER field. |
方法摘要Method Summary
字段详情Field Detail
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
路径 FIELD 数量字段。声明为 public static final int PATH_FIELD_NUMBER。
The PATH FIELD NUMBER field.
io/agentscope/aistio/proto/WorkspaceInfo.java:48MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
模式 FIELD 数量字段。声明为 public static final int MODE_FIELD_NUMBER。
The MODE FIELD NUMBER field.
io/agentscope/aistio/proto/WorkspaceInfo.java:87SIZE_BYTES_FIELD_NUMBER
public static final int SIZE_BYTES_FIELD_NUMBER
大小字节 FIELD 数量字段。声明为 public static final int SIZE_BYTES_FIELD_NUMBER。
The SIZE BYTES FIELD NUMBER field.
io/agentscope/aistio/proto/WorkspaceInfo.java:134OWNER_REF_FIELD_NUMBER
public static final int OWNER_REF_FIELD_NUMBER
所有者引用 FIELD 数量字段。声明为 public static final int OWNER_REF_FIELD_NUMBER。
The OWNER REF FIELD NUMBER field.
io/agentscope/aistio/proto/WorkspaceInfo.java:145方法详情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:35–38internalGetFieldAccessorTable
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:40–46getPath
public java.lang.String getPath()
获取路径。
string path = 1;
java.lang.Stringio/agentscope/aistio/proto/WorkspaceInfo.java:55–67getPathBytes
public com.google.protobuf.ByteString getPathBytes()
获取路径字节。
string path = 1;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/WorkspaceInfo.java:72–85getMode
public java.lang.String getMode()
获取模式。
isolated | shared | readonly string mode = 2;
java.lang.Stringio/agentscope/aistio/proto/WorkspaceInfo.java:98–110getModeBytes
public com.google.protobuf.ByteString getModeBytes()
获取模式字节。
isolated | shared | readonly string mode = 2;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/WorkspaceInfo.java:119–132getSizeBytes
public long getSizeBytes()
获取大小字节。
int64 size_bytes = 3;
longio/agentscope/aistio/proto/WorkspaceInfo.java:140–143getOwnerRef
public java.lang.String getOwnerRef()
获取所有者引用。
session_id or subagent name string owner_ref = 4;
java.lang.Stringio/agentscope/aistio/proto/WorkspaceInfo.java:156–168getOwnerRefBytes
public com.google.protobuf.ByteString getOwnerRefBytes()
获取所有者引用字节。
session_id or subagent name string owner_ref = 4;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/WorkspaceInfo.java:177–190isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/aistio/proto/WorkspaceInfo.java:193–201writeTo
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/WorkspaceInfo.java:203–219getSerializedSize
public int getSerializedSize()
获取 getSerializedSize。
Returns the serialized size.
intio/agentscope/aistio/proto/WorkspaceInfo.java:221–243equals
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/WorkspaceInfo.java:245–265hashCode
public int hashCode()
返回 hashCode 结果。
Returns the hash code.
intio/agentscope/aistio/proto/WorkspaceInfo.java:267–286parseFrom
public static io.agentscope.aistio.proto.WorkspaceInfo 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.WorkspaceInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:288–292parseFrom
public static io.agentscope.aistio.proto.WorkspaceInfo 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.WorkspaceInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:293–298parseFrom
public static io.agentscope.aistio.proto.WorkspaceInfo 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.WorkspaceInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:299–303parseFrom
public static io.agentscope.aistio.proto.WorkspaceInfo 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.WorkspaceInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:304–309parseFrom
public static io.agentscope.aistio.proto.WorkspaceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
io.agentscope.aistio.proto.WorkspaceInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:310–313parseFrom
public static io.agentscope.aistio.proto.WorkspaceInfo 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.WorkspaceInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:314–319parseFrom
public static io.agentscope.aistio.proto.WorkspaceInfo 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.WorkspaceInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:320–324parseFrom
public static io.agentscope.aistio.proto.WorkspaceInfo 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.WorkspaceInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:325–331parseDelimitedFrom
public static io.agentscope.aistio.proto.WorkspaceInfo 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.WorkspaceInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:333–337parseDelimitedFrom
public static io.agentscope.aistio.proto.WorkspaceInfo 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.WorkspaceInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:339–345parseFrom
public static io.agentscope.aistio.proto.WorkspaceInfo 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.WorkspaceInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:346–351parseFrom
public static io.agentscope.aistio.proto.WorkspaceInfo 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.WorkspaceInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/WorkspaceInfo.java:352–358newBuilderForType
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:360–361newBuilder
public static Builder newBuilder()
创建构建器。
Returns the new builder.
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:362–364newBuilder
public static Builder newBuilder(io.agentscope.aistio.proto.WorkspaceInfo prototype)
创建构建器。
Performs the new builder operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
prototype | io.agentscope.aistio.proto.WorkspaceInfo | prototype(类型 `io.agentscope.aistio.proto.WorkspaceInfo`)。The prototype. |
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:365–367toBuilder
public Builder toBuilder()
返回到构建器。
Returns the to builder.
Builderio/agentscope/aistio/proto/WorkspaceInfo.java:368–372newBuilderForType
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/WorkspaceInfo.java:374–379getDefaultInstance
public static io.agentscope.aistio.proto.WorkspaceInfo getDefaultInstance()
获取默认实例。
Returns the default instance.
io.agentscope.aistio.proto.WorkspaceInfoio/agentscope/aistio/proto/WorkspaceInfo.java:855–857parser
public static com.google.protobuf.Parser<WorkspaceInfo> parser()
返回解析器。
Returns the parser.
com.google.protobuf.Parser<WorkspaceInfo>io/agentscope/aistio/proto/WorkspaceInfo.java:881–883getParserForType
public com.google.protobuf.Parser<WorkspaceInfo> getParserForType()
获取解析器用于类型。
Returns the parser for type.
com.google.protobuf.Parser<WorkspaceInfo>io/agentscope/aistio/proto/WorkspaceInfo.java:885–888getDefaultInstanceForType
public io.agentscope.aistio.proto.WorkspaceInfo getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.aistio.proto.WorkspaceInfoio/agentscope/aistio/proto/WorkspaceInfo.java:890–893嵌套类详情Nested Class Detail
Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.aistio.proto.WorkspaceInfoOrBuilder构建器,用于构建并配置目标实例。位于 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