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;
java.lang.String路径。The path.
源码Source
io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:16getPathBytes
public com.google.protobuf.ByteString getPathBytes()
获取路径字节。
string path = 1;
com.google.protobuf.ByteString字节用于路径。The bytes for path.
源码Source
io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:21–22getMode
public java.lang.String getMode()
获取模式。
isolated | shared | readonly string mode = 2;
java.lang.String模式。The mode.
源码Source
io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:32getModeBytes
public com.google.protobuf.ByteString getModeBytes()
获取模式字节。
isolated | shared | readonly string mode = 2;
com.google.protobuf.ByteString字节用于模式。The bytes for mode.
源码Source
io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:41–42getSizeBytes
public long getSizeBytes()
获取大小字节。
int64 size_bytes = 3;
long返回数值结果。The sizeBytes.
源码Source
io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:48getOwnerRef
public java.lang.String getOwnerRef()
获取所有者引用。
session_id or subagent name string owner_ref = 4;
java.lang.String返回java.lang.String。The ownerRef.
源码Source
io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:58getOwnerRefBytes
public com.google.protobuf.ByteString getOwnerRefBytes()
获取所有者引用字节。
session_id or subagent name string owner_ref = 4;
com.google.protobuf.ByteString字节用于 ownerRef。The bytes for ownerRef.
源码Source
io/agentscope/controlplane/proto/WorkspaceInfoOrBuilder.java:67–68