UpstreamMeta
public final class UpstreamMeta extends com.google.protobuf.GeneratedMessage implements UpstreamMetaOrBuilder
io/agentscope/aistio/proto/UpstreamMeta.java:11–1314上游元数据,承载智能体的部署、调度与服务化运行。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 UpstreamMetaOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getAgentKey、getAgentKeyBytes、getInstanceKey、getInstanceKeyBytes。
Protobuf type agentscope.protocol.v1.UpstreamMeta
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 Protobuf type `agentscope.protocol.v1.UpstreamMeta` |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
AGENT_KEY_FIELD_NUMBERstaticfinal | int | 智能体键 FIELD 数量字段。 The AGENT KEY FIELD NUMBER field. |
INSTANCE_KEY_FIELD_NUMBERstaticfinal | int | 实例键 FIELD 数量字段。 The INSTANCE KEY FIELD NUMBER field. |
NAMESPACE_FIELD_NUMBERstaticfinal | int | 命名空间 FIELD 数量字段。 The NAMESPACE FIELD NUMBER field. |
TIMESTAMP_FIELD_NUMBERstaticfinal | int | 时间戳 FIELD 数量字段。 The TIMESTAMP FIELD NUMBER field. |
TENANT_FIELD_NUMBERstaticfinal | int | 租户 FIELD 数量字段。 The TENANT FIELD NUMBER field. |
AGENT_ID_FIELD_NUMBERstaticfinal | int | 智能体标识 FIELD 数量字段。 The AGENT ID FIELD NUMBER field. |
BINDING_ID_FIELD_NUMBERstaticfinal | int | 绑定标识 FIELD 数量字段。 The BINDING ID FIELD NUMBER field. |
GENERATION_FIELD_NUMBERstaticfinal | int | GENERATION FIELD 数量字段。 The GENERATION FIELD NUMBER field. |
方法摘要Method Summary
字段详情Field Detail
AGENT_KEY_FIELD_NUMBER
public static final int AGENT_KEY_FIELD_NUMBER
智能体键 FIELD 数量字段。声明为 public static final int AGENT_KEY_FIELD_NUMBER。
The AGENT KEY FIELD NUMBER field.
io/agentscope/aistio/proto/UpstreamMeta.java:51INSTANCE_KEY_FIELD_NUMBER
public static final int INSTANCE_KEY_FIELD_NUMBER
实例键 FIELD 数量字段。声明为 public static final int INSTANCE_KEY_FIELD_NUMBER。
The INSTANCE KEY FIELD NUMBER field.
io/agentscope/aistio/proto/UpstreamMeta.java:90NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
命名空间 FIELD 数量字段。声明为 public static final int NAMESPACE_FIELD_NUMBER。
The NAMESPACE FIELD NUMBER field.
io/agentscope/aistio/proto/UpstreamMeta.java:129TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
时间戳 FIELD 数量字段。声明为 public static final int TIMESTAMP_FIELD_NUMBER。
The TIMESTAMP FIELD NUMBER field.
io/agentscope/aistio/proto/UpstreamMeta.java:168TENANT_FIELD_NUMBER
public static final int TENANT_FIELD_NUMBER
租户 FIELD 数量字段。声明为 public static final int TENANT_FIELD_NUMBER。
The TENANT FIELD NUMBER field.
io/agentscope/aistio/proto/UpstreamMeta.java:179AGENT_ID_FIELD_NUMBER
public static final int AGENT_ID_FIELD_NUMBER
智能体标识 FIELD 数量字段。声明为 public static final int AGENT_ID_FIELD_NUMBER。
The AGENT ID FIELD NUMBER field.
io/agentscope/aistio/proto/UpstreamMeta.java:218BINDING_ID_FIELD_NUMBER
public static final int BINDING_ID_FIELD_NUMBER
绑定标识 FIELD 数量字段。声明为 public static final int BINDING_ID_FIELD_NUMBER。
The BINDING ID FIELD NUMBER field.
io/agentscope/aistio/proto/UpstreamMeta.java:257GENERATION_FIELD_NUMBER
public static final int GENERATION_FIELD_NUMBER
GENERATION FIELD 数量字段。声明为 public static final int GENERATION_FIELD_NUMBER。
The GENERATION FIELD NUMBER field.
io/agentscope/aistio/proto/UpstreamMeta.java:296方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/aistio/proto/UpstreamMeta.java:38–41internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/aistio/proto/UpstreamMeta.java:43–49getAgentKey
public java.lang.String getAgentKey()
获取智能体键。
string agent_key = 1;
java.lang.Stringio/agentscope/aistio/proto/UpstreamMeta.java:58–70getAgentKeyBytes
public com.google.protobuf.ByteString getAgentKeyBytes()
获取智能体键字节。
string agent_key = 1;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/UpstreamMeta.java:75–88getInstanceKey
public java.lang.String getInstanceKey()
获取实例键。
string instance_key = 2;
java.lang.Stringio/agentscope/aistio/proto/UpstreamMeta.java:97–109getInstanceKeyBytes
public com.google.protobuf.ByteString getInstanceKeyBytes()
获取实例键字节。
string instance_key = 2;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/UpstreamMeta.java:114–127getNamespace
public java.lang.String getNamespace()
获取命名空间。
string namespace = 3;
java.lang.Stringio/agentscope/aistio/proto/UpstreamMeta.java:136–148getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
获取命名空间字节。
string namespace = 3;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/UpstreamMeta.java:153–166getTimestamp
public long getTimestamp()
获取时间戳。
int64 timestamp = 4;
longio/agentscope/aistio/proto/UpstreamMeta.java:174–177getTenant
public java.lang.String getTenant()
获取租户。
string tenant = 5;
java.lang.Stringio/agentscope/aistio/proto/UpstreamMeta.java:186–198getTenantBytes
public com.google.protobuf.ByteString getTenantBytes()
获取租户字节。
string tenant = 5;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/UpstreamMeta.java:203–216getAgentId
public java.lang.String getAgentId()
获取智能体标识。
string agent_id = 6;
java.lang.Stringio/agentscope/aistio/proto/UpstreamMeta.java:225–237getAgentIdBytes
public com.google.protobuf.ByteString getAgentIdBytes()
获取智能体标识字节。
string agent_id = 6;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/UpstreamMeta.java:242–255getBindingId
public java.lang.String getBindingId()
获取绑定标识。
string binding_id = 7;
java.lang.Stringio/agentscope/aistio/proto/UpstreamMeta.java:264–276getBindingIdBytes
public com.google.protobuf.ByteString getBindingIdBytes()
获取绑定标识字节。
string binding_id = 7;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/UpstreamMeta.java:281–294getGeneration
public long getGeneration()
获取 getGeneration。
int64 generation = 8;
longio/agentscope/aistio/proto/UpstreamMeta.java:302–305isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/aistio/proto/UpstreamMeta.java:308–316writeTo
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/UpstreamMeta.java:318–346getSerializedSize
public int getSerializedSize()
获取 getSerializedSize。
Returns the serialized size.
intio/agentscope/aistio/proto/UpstreamMeta.java:348–383equals
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/UpstreamMeta.java:385–413hashCode
public int hashCode()
返回 hashCode 结果。
Returns the hash code.
intio/agentscope/aistio/proto/UpstreamMeta.java:415–443parseFrom
public static io.agentscope.aistio.proto.UpstreamMeta 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.UpstreamMetacom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:445–449parseFrom
public static io.agentscope.aistio.proto.UpstreamMeta 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.UpstreamMetacom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:450–455parseFrom
public static io.agentscope.aistio.proto.UpstreamMeta 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.UpstreamMetacom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:456–460parseFrom
public static io.agentscope.aistio.proto.UpstreamMeta 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.UpstreamMetacom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:461–466parseFrom
public static io.agentscope.aistio.proto.UpstreamMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
io.agentscope.aistio.proto.UpstreamMetacom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:467–470parseFrom
public static io.agentscope.aistio.proto.UpstreamMeta 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.UpstreamMetacom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:471–476parseFrom
public static io.agentscope.aistio.proto.UpstreamMeta 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.UpstreamMetajava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:477–481parseFrom
public static io.agentscope.aistio.proto.UpstreamMeta 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.UpstreamMetajava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:482–488parseDelimitedFrom
public static io.agentscope.aistio.proto.UpstreamMeta 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.UpstreamMetajava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:490–494parseDelimitedFrom
public static io.agentscope.aistio.proto.UpstreamMeta 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.UpstreamMetajava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:496–502parseFrom
public static io.agentscope.aistio.proto.UpstreamMeta 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.UpstreamMetajava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:503–508parseFrom
public static io.agentscope.aistio.proto.UpstreamMeta 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.UpstreamMetajava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/UpstreamMeta.java:509–515newBuilderForType
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
Builderio/agentscope/aistio/proto/UpstreamMeta.java:517–518newBuilder
public static Builder newBuilder()
创建构建器。
Returns the new builder.
Builderio/agentscope/aistio/proto/UpstreamMeta.java:519–521newBuilder
public static Builder newBuilder(io.agentscope.aistio.proto.UpstreamMeta prototype)
创建构建器。
Performs the new builder operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
prototype | io.agentscope.aistio.proto.UpstreamMeta | prototype(类型 `io.agentscope.aistio.proto.UpstreamMeta`)。The prototype. |
Builderio/agentscope/aistio/proto/UpstreamMeta.java:522–524toBuilder
public Builder toBuilder()
返回到构建器。
Returns the to builder.
Builderio/agentscope/aistio/proto/UpstreamMeta.java:525–529newBuilderForType
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/UpstreamMeta.java:531–536getDefaultInstance
public static io.agentscope.aistio.proto.UpstreamMeta getDefaultInstance()
获取默认实例。
Returns the default instance.
io.agentscope.aistio.proto.UpstreamMetaio/agentscope/aistio/proto/UpstreamMeta.java:1274–1276parser
public static com.google.protobuf.Parser<UpstreamMeta> parser()
返回解析器。
Returns the parser.
com.google.protobuf.Parser<UpstreamMeta>io/agentscope/aistio/proto/UpstreamMeta.java:1300–1302getParserForType
public com.google.protobuf.Parser<UpstreamMeta> getParserForType()
获取解析器用于类型。
Returns the parser for type.
com.google.protobuf.Parser<UpstreamMeta>io/agentscope/aistio/proto/UpstreamMeta.java:1304–1307getDefaultInstanceForType
public io.agentscope.aistio.proto.UpstreamMeta getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.aistio.proto.UpstreamMetaio/agentscope/aistio/proto/UpstreamMeta.java:1309–1312嵌套类详情Nested Class Detail
Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.aistio.proto.UpstreamMetaOrBuilder构建器,用于构建并配置目标实例。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.aistio.proto.UpstreamMetaOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
Protobuf type agentscope.protocol.v1.UpstreamMeta