AS AgentScopeAPI 手册 / API Reference

UpstreamMetaOrBuilder

public interface UpstreamMetaOrBuilder extends com.google.protobuf.MessageOrBuilder
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:8–95

定义上游元数据或构建器契约的接口。位于 io.agentscope.aistio.proto 包,实现 com.google.protobuf.MessageOrBuilder。核心成员包括 getAgentKey、getAgentKeyBytes、getInstanceKey、getInstanceKeyBytes、getNamespace、getNamespaceBytes。

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

方法摘要Method Summary

方法Method说明Description
public java.lang.String getAgentKey()
获取智能体键。
`string agent_key = 1;`
public com.google.protobuf.ByteString getAgentKeyBytes()
获取智能体键字节。
`string agent_key = 1;`
public java.lang.String getInstanceKey()
获取实例键。
`string instance_key = 2;`
public com.google.protobuf.ByteString getInstanceKeyBytes()
获取实例键字节。
`string instance_key = 2;`
public java.lang.String getNamespace()
获取命名空间。
`string namespace = 3;`
public com.google.protobuf.ByteString getNamespaceBytes()
获取命名空间字节。
`string namespace = 3;`
public long getTimestamp()
获取时间戳。
`int64 timestamp = 4;`
public java.lang.String getTenant()
获取租户。
`string tenant = 5;`
public com.google.protobuf.ByteString getTenantBytes()
获取租户字节。
`string tenant = 5;`
public java.lang.String getAgentId()
获取智能体标识。
`string agent_id = 6;`
public com.google.protobuf.ByteString getAgentIdBytes()
获取智能体标识字节。
`string agent_id = 6;`
public java.lang.String getBindingId()
获取绑定标识。
`string binding_id = 7;`
public com.google.protobuf.ByteString getBindingIdBytes()
获取绑定标识字节。
`string binding_id = 7;`
public long getGeneration()
获取 `getGeneration`。
`int64 generation = 8;`

方法详情Method Detail

getAgentKey

public java.lang.String getAgentKey()

获取智能体键。

string agent_key = 1;

返回Returns java.lang.String
返回java.lang.String。The agentKey.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:16

getAgentKeyBytes

public com.google.protobuf.ByteString getAgentKeyBytes()

获取智能体键字节。

string agent_key = 1;

返回Returns com.google.protobuf.ByteString
字节用于 agentKey。The bytes for agentKey.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:21–22

getInstanceKey

public java.lang.String getInstanceKey()

获取实例键。

string instance_key = 2;

返回Returns java.lang.String
返回java.lang.String。The instanceKey.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:28

getInstanceKeyBytes

public com.google.protobuf.ByteString getInstanceKeyBytes()

获取实例键字节。

string instance_key = 2;

返回Returns com.google.protobuf.ByteString
字节用于 instanceKey。The bytes for instanceKey.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:33–34

getNamespace

public java.lang.String getNamespace()

获取命名空间。

string namespace = 3;

返回Returns java.lang.String
命名空间。The namespace.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:40

getNamespaceBytes

public com.google.protobuf.ByteString getNamespaceBytes()

获取命名空间字节。

string namespace = 3;

返回Returns com.google.protobuf.ByteString
字节用于命名空间。The bytes for namespace.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:45–46

getTimestamp

public long getTimestamp()

获取时间戳。

int64 timestamp = 4;

返回Returns long
时间戳。The timestamp.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:52

getTenant

public java.lang.String getTenant()

获取租户。

string tenant = 5;

返回Returns java.lang.String
租户。The tenant.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:58

getTenantBytes

public com.google.protobuf.ByteString getTenantBytes()

获取租户字节。

string tenant = 5;

返回Returns com.google.protobuf.ByteString
字节用于租户。The bytes for tenant.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:63–64

getAgentId

public java.lang.String getAgentId()

获取智能体标识。

string agent_id = 6;

返回Returns java.lang.String
返回java.lang.String。The agentId.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:70

getAgentIdBytes

public com.google.protobuf.ByteString getAgentIdBytes()

获取智能体标识字节。

string agent_id = 6;

返回Returns com.google.protobuf.ByteString
字节用于 agentId。The bytes for agentId.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:75–76

getBindingId

public java.lang.String getBindingId()

获取绑定标识。

string binding_id = 7;

返回Returns java.lang.String
返回java.lang.String。The bindingId.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:82

getBindingIdBytes

public com.google.protobuf.ByteString getBindingIdBytes()

获取绑定标识字节。

string binding_id = 7;

返回Returns com.google.protobuf.ByteString
字节用于 bindingId。The bytes for bindingId.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:87–88

getGeneration

public long getGeneration()

获取 getGeneration。

int64 generation = 8;

返回Returns long
返回数值结果。The generation.
源码Source io/agentscope/aistio/proto/UpstreamMetaOrBuilder.java:94
基于官方固定版本源码静态生成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.