AS AgentScopeAPI 手册 / API Reference

UpstreamMeta

public final class UpstreamMeta extends com.google.protobuf.GeneratedMessage implements UpstreamMetaOrBuilder
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:11–1314

上游元数据,承载智能体的部署、调度与服务化运行。位于 io.agentscope.controlplane.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_NUMBER
staticfinal
int
智能体键 FIELD 数量字段。
The AGENT KEY FIELD NUMBER field.
INSTANCE_KEY_FIELD_NUMBER
staticfinal
int
实例键 FIELD 数量字段。
The INSTANCE KEY FIELD NUMBER field.
NAMESPACE_FIELD_NUMBER
staticfinal
int
命名空间 FIELD 数量字段。
The NAMESPACE FIELD NUMBER field.
TIMESTAMP_FIELD_NUMBER
staticfinal
int
时间戳 FIELD 数量字段。
The TIMESTAMP FIELD NUMBER field.
TENANT_FIELD_NUMBER
staticfinal
int
租户 FIELD 数量字段。
The TENANT FIELD NUMBER field.
AGENT_ID_FIELD_NUMBER
staticfinal
int
智能体标识 FIELD 数量字段。
The AGENT ID FIELD NUMBER field.
BINDING_ID_FIELD_NUMBER
staticfinal
int
绑定标识 FIELD 数量字段。
The BINDING ID FIELD NUMBER field.
GENERATION_FIELD_NUMBER
staticfinal
int
GENERATION FIELD 数量字段。
The GENERATION FIELD NUMBER field.

方法摘要Method Summary

方法Method说明Description
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
staticfinal
获取描述符。
Returns the descriptor.
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 `internalGetFieldAccessorTable` 结果。
Returns the internal get field accessor table.
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;`
public final boolean isInitialized()
final
判断是否已初始化。
Returns whether the initialized.
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
设置写入到。
Performs the write to operation.
public int getSerializedSize()
获取 `getSerializedSize`。
Returns the serialized size.
public boolean equals(java.lang.Object obj)
设置该参数。
Performs the equals operation.
public int hashCode()
返回 `hashCode` 结果。
Returns the hash code.
public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(java.io.InputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.UpstreamMeta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.controlplane.proto.UpstreamMeta parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
public static Builder newBuilder()
static
创建构建器。
Returns the new builder.
public static Builder newBuilder(io.agentscope.controlplane.proto.UpstreamMeta prototype)
static
创建构建器。
Performs the new builder operation.
public Builder toBuilder()
返回到构建器。
Returns the to builder.
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
创建构建器用于类型。
Performs the new builder for type operation.
public static io.agentscope.controlplane.proto.UpstreamMeta getDefaultInstance()
static
获取默认实例。
Returns the default instance.
public static com.google.protobuf.Parser<UpstreamMeta> parser()
static
返回解析器。
Returns the parser.
public com.google.protobuf.Parser<UpstreamMeta> getParserForType()
获取解析器用于类型。
Returns the parser for type.
public io.agentscope.controlplane.proto.UpstreamMeta getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.

字段详情Field Detail

AGENT_KEY_FIELD_NUMBER

public static final int AGENT_KEY_FIELD_NUMBER
staticfinal

智能体键 FIELD 数量字段。声明为 public static final int AGENT_KEY_FIELD_NUMBER。

The AGENT KEY FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:51

INSTANCE_KEY_FIELD_NUMBER

public static final int INSTANCE_KEY_FIELD_NUMBER
staticfinal

实例键 FIELD 数量字段。声明为 public static final int INSTANCE_KEY_FIELD_NUMBER。

The INSTANCE KEY FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:90

NAMESPACE_FIELD_NUMBER

public static final int NAMESPACE_FIELD_NUMBER
staticfinal

命名空间 FIELD 数量字段。声明为 public static final int NAMESPACE_FIELD_NUMBER。

The NAMESPACE FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:129

TIMESTAMP_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_NUMBER
staticfinal

时间戳 FIELD 数量字段。声明为 public static final int TIMESTAMP_FIELD_NUMBER。

The TIMESTAMP FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:168

TENANT_FIELD_NUMBER

public static final int TENANT_FIELD_NUMBER
staticfinal

租户 FIELD 数量字段。声明为 public static final int TENANT_FIELD_NUMBER。

The TENANT FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:179

AGENT_ID_FIELD_NUMBER

public static final int AGENT_ID_FIELD_NUMBER
staticfinal

智能体标识 FIELD 数量字段。声明为 public static final int AGENT_ID_FIELD_NUMBER。

The AGENT ID FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:218

BINDING_ID_FIELD_NUMBER

public static final int BINDING_ID_FIELD_NUMBER
staticfinal

绑定标识 FIELD 数量字段。声明为 public static final int BINDING_ID_FIELD_NUMBER。

The BINDING ID FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:257

GENERATION_FIELD_NUMBER

public static final int GENERATION_FIELD_NUMBER
staticfinal

GENERATION FIELD 数量字段。声明为 public static final int GENERATION_FIELD_NUMBER。

The GENERATION FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:296

方法详情Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
staticfinal

获取描述符。

Returns the descriptor.

返回Returns com.google.protobuf.Descriptors.Descriptor
返回com.google.protobuf.Descriptors.Descriptor。Returns com google protobuf descriptors descriptor.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:38–41

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()

返回 internalGetFieldAccessorTable 结果。

Returns the internal get field accessor table.

返回Returns com.google.protobuf.GeneratedMessage.FieldAccessorTable
返回com.google.protobuf.GeneratedMessage.FieldAccessorTable。Returns com google protobuf generated message field accessor table.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:43–49

getAgentKey

public java.lang.String getAgentKey()

获取智能体键。

string agent_key = 1;

返回Returns java.lang.String
返回java.lang.String。The agentKey.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:58–70

getAgentKeyBytes

public com.google.protobuf.ByteString getAgentKeyBytes()

获取智能体键字节。

string agent_key = 1;

返回Returns com.google.protobuf.ByteString
字节用于 agentKey。The bytes for agentKey.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:75–88

getInstanceKey

public java.lang.String getInstanceKey()

获取实例键。

string instance_key = 2;

返回Returns java.lang.String
返回java.lang.String。The instanceKey.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:97–109

getInstanceKeyBytes

public com.google.protobuf.ByteString getInstanceKeyBytes()

获取实例键字节。

string instance_key = 2;

返回Returns com.google.protobuf.ByteString
字节用于 instanceKey。The bytes for instanceKey.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:114–127

getNamespace

public java.lang.String getNamespace()

获取命名空间。

string namespace = 3;

返回Returns java.lang.String
命名空间。The namespace.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:136–148

getNamespaceBytes

public com.google.protobuf.ByteString getNamespaceBytes()

获取命名空间字节。

string namespace = 3;

返回Returns com.google.protobuf.ByteString
字节用于命名空间。The bytes for namespace.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:153–166

getTimestamp

public long getTimestamp()

获取时间戳。

int64 timestamp = 4;

返回Returns long
时间戳。The timestamp.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:174–177

getTenant

public java.lang.String getTenant()

获取租户。

string tenant = 5;

返回Returns java.lang.String
租户。The tenant.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:186–198

getTenantBytes

public com.google.protobuf.ByteString getTenantBytes()

获取租户字节。

string tenant = 5;

返回Returns com.google.protobuf.ByteString
字节用于租户。The bytes for tenant.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:203–216

getAgentId

public java.lang.String getAgentId()

获取智能体标识。

string agent_id = 6;

返回Returns java.lang.String
返回java.lang.String。The agentId.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:225–237

getAgentIdBytes

public com.google.protobuf.ByteString getAgentIdBytes()

获取智能体标识字节。

string agent_id = 6;

返回Returns com.google.protobuf.ByteString
字节用于 agentId。The bytes for agentId.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:242–255

getBindingId

public java.lang.String getBindingId()

获取绑定标识。

string binding_id = 7;

返回Returns java.lang.String
返回java.lang.String。The bindingId.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:264–276

getBindingIdBytes

public com.google.protobuf.ByteString getBindingIdBytes()

获取绑定标识字节。

string binding_id = 7;

返回Returns com.google.protobuf.ByteString
字节用于 bindingId。The bytes for bindingId.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:281–294

getGeneration

public long getGeneration()

获取 getGeneration。

int64 generation = 8;

返回Returns long
返回数值结果。The generation.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:302–305

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:308–316

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException

设置写入到。

Performs the write to operation.

参数Parameters
名称Name类型Type说明Description
outputcom.google.protobuf.CodedOutputStream输出(类型 `com.google.protobuf.CodedOutputStream`)。The output.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:318–346

getSerializedSize

public int getSerializedSize()

获取 getSerializedSize。

Returns the serialized size.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:348–383

equals

public boolean equals(java.lang.Object obj)

设置该参数。

Performs the equals operation.

参数Parameters
名称Name类型Type说明Description
objjava.lang.Objectobj(类型 `java.lang.Object`)。The obj.
返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:385–413

hashCode

public int hashCode()

返回 hashCode 结果。

Returns the hash code.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:415–443

parseFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datajava.nio.ByteBuffer数据(类型 `java.nio.ByteBuffer`)。The data.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:445–449

parseFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datajava.nio.ByteBuffer数据(类型 `java.nio.ByteBuffer`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:450–455

parseFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datacom.google.protobuf.ByteString数据(类型 `com.google.protobuf.ByteString`)。The data.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:456–460

parseFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datacom.google.protobuf.ByteString数据(类型 `com.google.protobuf.ByteString`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:461–466

parseFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
databyte[]数据(类型 `byte[]`)。The data.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:467–470

parseFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
databyte[]数据(类型 `byte[]`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:471–476

parseFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(java.io.InputStream input) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:477–481

parseFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:482–488

parseDelimitedFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static

解析 parseDelimitedFrom。

Parses the delimited from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:490–494

parseDelimitedFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析 parseDelimitedFrom。

Parses the delimited from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:496–502

parseFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputcom.google.protobuf.CodedInputStream输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:503–508

parseFrom

public static io.agentscope.controlplane.proto.UpstreamMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputcom.google.protobuf.CodedInputStream输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:509–515

newBuilderForType

public Builder newBuilderForType()

创建构建器用于类型。

Returns the new builder for type.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:517–518

newBuilder

public static Builder newBuilder()
static

创建构建器。

Returns the new builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:519–521

newBuilder

public static Builder newBuilder(io.agentscope.controlplane.proto.UpstreamMeta prototype)
static

创建构建器。

Performs the new builder operation.

参数Parameters
名称Name类型Type说明Description
prototypeio.agentscope.controlplane.proto.UpstreamMetaprototype(类型 `io.agentscope.controlplane.proto.UpstreamMeta`)。The prototype.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:522–524

toBuilder

public Builder toBuilder()

返回到构建器。

Returns the to builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:525–529

newBuilderForType

protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)

创建构建器用于类型。

Performs the new builder for type operation.

参数Parameters
名称Name类型Type说明Description
parentcom.google.protobuf.GeneratedMessage.BuilderParent父级(类型 `com.google.protobuf.GeneratedMessage.BuilderParent`)。The parent.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:531–536

getDefaultInstance

public static io.agentscope.controlplane.proto.UpstreamMeta getDefaultInstance()
static

获取默认实例。

Returns the default instance.

返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:1274–1276

parser

public static com.google.protobuf.Parser<UpstreamMeta> parser()
static

返回解析器。

Returns the parser.

返回Returns com.google.protobuf.Parser<UpstreamMeta>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:1300–1302

getParserForType

public com.google.protobuf.Parser<UpstreamMeta> getParserForType()

获取解析器用于类型。

Returns the parser for type.

返回Returns com.google.protobuf.Parser<UpstreamMeta>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:1304–1307

getDefaultInstanceForType

public io.agentscope.controlplane.proto.UpstreamMeta getDefaultInstanceForType()

获取默认实例用于类型。

Returns the default instance for type.

返回Returns io.agentscope.controlplane.proto.UpstreamMeta
返回io.agentscope.controlplane.协议.UpstreamMeta。Returns io agentscope controlplane proto upstream meta.
源码Source io/agentscope/controlplane/proto/UpstreamMeta.java:1309–1312

嵌套类详情Nested Class Detail

Builder

public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.UpstreamMetaOrBuilder

构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.UpstreamMetaOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。

Protobuf type agentscope.protocol.v1.UpstreamMeta

基于官方固定版本源码静态生成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.