ConfigPush
public final class ConfigPush extends com.google.protobuf.GeneratedMessage implements ConfigPushOrBuilder
io/agentscope/aistio/proto/ConfigPush.java:15–805配置推送,承载智能体的部署、调度与服务化运行。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 ConfigPushOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getConfigTypeValue、getConfigType、getVersion、getVersionBytes。
Config push (analogous to xDS DiscoveryResponse)
Protobuf type agentscope.protocol.v1.ConfigPush
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 ```
Config push (analogous to xDS DiscoveryResponse) |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
CONFIG_TYPE_FIELD_NUMBERstaticfinal | int | 配置类型 FIELD 数量字段。 The CONFIG TYPE FIELD NUMBER field. |
VERSION_FIELD_NUMBERstaticfinal | int | 版本 FIELD 数量字段。 The VERSION FIELD NUMBER field. |
RESOURCES_FIELD_NUMBERstaticfinal | int | RESOURCES FIELD 数量字段。 The RESOURCES FIELD NUMBER field. |
NONCE_FIELD_NUMBERstaticfinal | int | NONCE FIELD 数量字段。 The NONCE FIELD NUMBER field. |
方法摘要Method Summary
字段详情Field Detail
CONFIG_TYPE_FIELD_NUMBER
public static final int CONFIG_TYPE_FIELD_NUMBER
配置类型 FIELD 数量字段。声明为 public static final int CONFIG_TYPE_FIELD_NUMBER。
The CONFIG TYPE FIELD NUMBER field.
io/agentscope/aistio/proto/ConfigPush.java:53VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
版本 FIELD 数量字段。声明为 public static final int VERSION_FIELD_NUMBER。
The VERSION FIELD NUMBER field.
io/agentscope/aistio/proto/ConfigPush.java:71RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
RESOURCES FIELD 数量字段。声明为 public static final int RESOURCES_FIELD_NUMBER。
The RESOURCES FIELD NUMBER field.
io/agentscope/aistio/proto/ConfigPush.java:110NONCE_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER
NONCE FIELD 数量字段。声明为 public static final int NONCE_FIELD_NUMBER。
The NONCE FIELD NUMBER field.
io/agentscope/aistio/proto/ConfigPush.java:121方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/aistio/proto/ConfigPush.java:40–43internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/aistio/proto/ConfigPush.java:45–51getConfigTypeValue
public int getConfigTypeValue()
获取配置类型值。
.agentscope.protocol.v1.ConfigType config_type = 1;
intio/agentscope/aistio/proto/ConfigPush.java:59–61getConfigType
public io.agentscope.aistio.proto.ConfigType getConfigType()
获取配置类型。
.agentscope.protocol.v1.ConfigType config_type = 1;
io.agentscope.aistio.proto.ConfigTypeio/agentscope/aistio/proto/ConfigPush.java:66–69getVersion
public java.lang.String getVersion()
获取版本。
string version = 2;
java.lang.Stringio/agentscope/aistio/proto/ConfigPush.java:78–90getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
获取版本字节。
string version = 2;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ConfigPush.java:95–108getResources
public com.google.protobuf.ByteString getResources()
获取 getResources。
bytes resources = 3;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ConfigPush.java:116–119getNonce
public java.lang.String getNonce()
获取 getNonce。
string nonce = 4;
java.lang.Stringio/agentscope/aistio/proto/ConfigPush.java:128–140getNonceBytes
public com.google.protobuf.ByteString getNonceBytes()
获取 getNonceBytes。
string nonce = 4;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ConfigPush.java:145–158isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/aistio/proto/ConfigPush.java:161–169writeTo
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/ConfigPush.java:171–187getSerializedSize
public int getSerializedSize()
获取 getSerializedSize。
Returns the serialized size.
intio/agentscope/aistio/proto/ConfigPush.java:189–212equals
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/ConfigPush.java:214–233hashCode
public int hashCode()
返回 hashCode 结果。
Returns the hash code.
intio/agentscope/aistio/proto/ConfigPush.java:235–253parseFrom
public static io.agentscope.aistio.proto.ConfigPush 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.ConfigPushcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:255–259parseFrom
public static io.agentscope.aistio.proto.ConfigPush 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.ConfigPushcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:260–265parseFrom
public static io.agentscope.aistio.proto.ConfigPush 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.ConfigPushcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:266–270parseFrom
public static io.agentscope.aistio.proto.ConfigPush 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.ConfigPushcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:271–276parseFrom
public static io.agentscope.aistio.proto.ConfigPush parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
io.agentscope.aistio.proto.ConfigPushcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:277–280parseFrom
public static io.agentscope.aistio.proto.ConfigPush 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.ConfigPushcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:281–286parseFrom
public static io.agentscope.aistio.proto.ConfigPush 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.ConfigPushjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:287–291parseFrom
public static io.agentscope.aistio.proto.ConfigPush 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.ConfigPushjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:292–298parseDelimitedFrom
public static io.agentscope.aistio.proto.ConfigPush 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.ConfigPushjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:300–304parseDelimitedFrom
public static io.agentscope.aistio.proto.ConfigPush 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.ConfigPushjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:306–312parseFrom
public static io.agentscope.aistio.proto.ConfigPush 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.ConfigPushjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:313–318parseFrom
public static io.agentscope.aistio.proto.ConfigPush 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.ConfigPushjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ConfigPush.java:319–325newBuilderForType
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
Builderio/agentscope/aistio/proto/ConfigPush.java:327–328newBuilder
public static Builder newBuilder()
创建构建器。
Returns the new builder.
Builderio/agentscope/aistio/proto/ConfigPush.java:329–331newBuilder
public static Builder newBuilder(io.agentscope.aistio.proto.ConfigPush prototype)
创建构建器。
Performs the new builder operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
prototype | io.agentscope.aistio.proto.ConfigPush | prototype(类型 `io.agentscope.aistio.proto.ConfigPush`)。The prototype. |
Builderio/agentscope/aistio/proto/ConfigPush.java:332–334toBuilder
public Builder toBuilder()
返回到构建器。
Returns the to builder.
Builderio/agentscope/aistio/proto/ConfigPush.java:335–339newBuilderForType
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/ConfigPush.java:341–346getDefaultInstance
public static io.agentscope.aistio.proto.ConfigPush getDefaultInstance()
获取默认实例。
Returns the default instance.
io.agentscope.aistio.proto.ConfigPushio/agentscope/aistio/proto/ConfigPush.java:765–767parser
public static com.google.protobuf.Parser<ConfigPush> parser()
返回解析器。
Returns the parser.
com.google.protobuf.Parser<ConfigPush>io/agentscope/aistio/proto/ConfigPush.java:791–793getParserForType
public com.google.protobuf.Parser<ConfigPush> getParserForType()
获取解析器用于类型。
Returns the parser for type.
com.google.protobuf.Parser<ConfigPush>io/agentscope/aistio/proto/ConfigPush.java:795–798getDefaultInstanceForType
public io.agentscope.aistio.proto.ConfigPush getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.aistio.proto.ConfigPushio/agentscope/aistio/proto/ConfigPush.java:800–803嵌套类详情Nested Class Detail
Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.aistio.proto.ConfigPushOrBuilder构建器,用于构建并配置目标实例。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.aistio.proto.ConfigPushOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
Config push (analogous to xDS DiscoveryResponse)
Protobuf type agentscope.protocol.v1.ConfigPush