AS AgentScopeAPI 手册 / API Reference

WorkspaceInfoOrBuilder

public interface WorkspaceInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
源码Source io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:8–69

定义工作区信息或构建器契约的接口。位于 io.agentscope.controlplane.proto 包,实现 com.google.protobuf.MessageOrBuilder。核心成员包括 getPath、getPathBytes、getMode、getModeBytes、getSizeBytes、getOwnerRef。

An interface in io.agentscope.controlplane.proto that defines the contract for components that deploys, schedules and serves agents. Declared in io.agentscope.controlplane.proto. Implements com.google.protobuf.MessageOrBuilder.

方法摘要Method Summary

方法Method说明Description
public java.lang.String getPath()
获取路径。
`string path = 1;`
public com.google.protobuf.ByteString getPathBytes()
获取路径字节。
`string path = 1;`
public java.lang.String getMode()
获取模式。
``` isolated | shared | readonly
public com.google.protobuf.ByteString getModeBytes()
获取模式字节。
``` isolated | shared | readonly
public long getSizeBytes()
获取大小字节。
`int64 size_bytes = 3;`
public java.lang.String getOwnerRef()
获取所有者引用。
``` session_id or subagent name
public com.google.protobuf.ByteString getOwnerRefBytes()
获取所有者引用字节。
``` session_id or subagent name

方法详情Method Detail

getPath

public java.lang.String getPath()

获取路径。

string path = 1;

返回Returns java.lang.String
路径。The path.
源码Source io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:16

getPathBytes

public com.google.protobuf.ByteString getPathBytes()

获取路径字节。

string path = 1;

返回Returns com.google.protobuf.ByteString
字节用于路径。The bytes for path.
源码Source io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:21–22

getMode

public java.lang.String getMode()

获取模式。

isolated | shared | readonly string mode = 2;

返回Returns java.lang.String
模式。The mode.
源码Source io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:32

getModeBytes

public com.google.protobuf.ByteString getModeBytes()

获取模式字节。

isolated | shared | readonly string mode = 2;

返回Returns com.google.protobuf.ByteString
字节用于模式。The bytes for mode.
源码Source io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:41–42

getSizeBytes

public long getSizeBytes()

获取大小字节。

int64 size_bytes = 3;

返回Returns long
返回数值结果。The sizeBytes.
源码Source io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:48

getOwnerRef

public java.lang.String getOwnerRef()

获取所有者引用。

session_id or subagent name string owner_ref = 4;

返回Returns java.lang.String
返回java.lang.String。The ownerRef.
源码Source io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:58

getOwnerRefBytes

public com.google.protobuf.ByteString getOwnerRefBytes()

获取所有者引用字节。

session_id or subagent name string owner_ref = 4;

返回Returns com.google.protobuf.ByteString
字节用于 ownerRef。The bytes for ownerRef.
源码Source io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:67–68
基于官方固定版本源码静态生成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.