ConnectRequest
public final class ConnectRequest extends com.google.protobuf.GeneratedMessage implements ConnectRequestOrBuilder
io/agentscope/controlplane/proto/ConnectRequest.java:15–969连接请求,承载智能体的部署、调度与服务化运行。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 ConnectRequestOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getRuntime、getRuntimeBytes、getSdkVersion、getSdkVersionBytes。
Handshake (sent on connection establish, analogous to xDS initial DiscoveryRequest)
Protobuf type agentscope.protocol.v1.ConnectRequest
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 ```
Handshake (sent on connection establish, analogous to xDS initial DiscoveryRequest) |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
RUNTIME_FIELD_NUMBERstaticfinal | int | 运行时 FIELD 数量字段。 The RUNTIME FIELD NUMBER field. |
SDK_VERSION_FIELD_NUMBERstaticfinal | int | SDK 版本 FIELD 数量字段。 The SDK VERSION FIELD NUMBER field. |
CAPABILITIES_FIELD_NUMBERstaticfinal | int | 能力 FIELD 数量字段。 The CAPABILITIES FIELD NUMBER field. |
SESSION_AFFINITY_FIELD_NUMBERstaticfinal | int | 会话 AFFINITY FIELD 数量字段。 The SESSION AFFINITY FIELD NUMBER field. |
方法摘要Method Summary
字段详情Field Detail
RUNTIME_FIELD_NUMBER
public static final int RUNTIME_FIELD_NUMBER
运行时 FIELD 数量字段。声明为 public static final int RUNTIME_FIELD_NUMBER。
The RUNTIME FIELD NUMBER field.
io/agentscope/controlplane/proto/ConnectRequest.java:54SDK_VERSION_FIELD_NUMBER
public static final int SDK_VERSION_FIELD_NUMBER
SDK 版本 FIELD 数量字段。声明为 public static final int SDK_VERSION_FIELD_NUMBER。
The SDK VERSION FIELD NUMBER field.
io/agentscope/controlplane/proto/ConnectRequest.java:93CAPABILITIES_FIELD_NUMBER
public static final int CAPABILITIES_FIELD_NUMBER
能力 FIELD 数量字段。声明为 public static final int CAPABILITIES_FIELD_NUMBER。
The CAPABILITIES FIELD NUMBER field.
io/agentscope/controlplane/proto/ConnectRequest.java:132SESSION_AFFINITY_FIELD_NUMBER
public static final int SESSION_AFFINITY_FIELD_NUMBER
会话 AFFINITY FIELD 数量字段。声明为 public static final int SESSION_AFFINITY_FIELD_NUMBER。
The SESSION AFFINITY FIELD NUMBER field.
io/agentscope/controlplane/proto/ConnectRequest.java:169方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/ConnectRequest.java:41–44internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/controlplane/proto/ConnectRequest.java:46–52getRuntime
public java.lang.String getRuntime()
获取运行时。
string runtime = 1;
java.lang.Stringio/agentscope/controlplane/proto/ConnectRequest.java:61–73getRuntimeBytes
public com.google.protobuf.ByteString getRuntimeBytes()
获取运行时字节。
string runtime = 1;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConnectRequest.java:78–91getSdkVersion
public java.lang.String getSdkVersion()
获取 getSdkVersion。
string sdk_version = 2;
java.lang.Stringio/agentscope/controlplane/proto/ConnectRequest.java:100–112getSdkVersionBytes
public com.google.protobuf.ByteString getSdkVersionBytes()
获取 getSdkVersionBytes。
string sdk_version = 2;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConnectRequest.java:117–130getCapabilitiesList
public com.google.protobuf.ProtocolStringList getCapabilitiesList()
获取能力列表。
repeated string capabilities = 3;
com.google.protobuf.ProtocolStringListio/agentscope/controlplane/proto/ConnectRequest.java:140–143getCapabilitiesCount
public int getCapabilitiesCount()
获取能力数量。
repeated string capabilities = 3;
intio/agentscope/controlplane/proto/ConnectRequest.java:148–150getCapabilities
public java.lang.String getCapabilities(int index)
获取能力。
repeated string capabilities = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index of the element to return. |
java.lang.Stringio/agentscope/controlplane/proto/ConnectRequest.java:156–158getCapabilitiesBytes
public com.google.protobuf.ByteString getCapabilitiesBytes(int index)
获取能力字节。
repeated string capabilities = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index of the value to return. |
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConnectRequest.java:164–167getSessionAffinity
public java.lang.String getSessionAffinity()
获取 getSessionAffinity。
string session_affinity = 4;
java.lang.Stringio/agentscope/controlplane/proto/ConnectRequest.java:176–188getSessionAffinityBytes
public com.google.protobuf.ByteString getSessionAffinityBytes()
获取 getSessionAffinityBytes。
string session_affinity = 4;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConnectRequest.java:193–206isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/controlplane/proto/ConnectRequest.java:209–217writeTo
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/controlplane/proto/ConnectRequest.java:219–235getSerializedSize
public int getSerializedSize()
获取 getSerializedSize。
Returns the serialized size.
intio/agentscope/controlplane/proto/ConnectRequest.java:237–263equals
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/controlplane/proto/ConnectRequest.java:265–285hashCode
public int hashCode()
返回 hashCode 结果。
Returns the hash code.
intio/agentscope/controlplane/proto/ConnectRequest.java:287–307parseFrom
public static io.agentscope.controlplane.proto.ConnectRequest 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.controlplane.proto.ConnectRequestcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:309–313parseFrom
public static io.agentscope.controlplane.proto.ConnectRequest 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.controlplane.proto.ConnectRequestcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:314–319parseFrom
public static io.agentscope.controlplane.proto.ConnectRequest 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.controlplane.proto.ConnectRequestcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:320–324parseFrom
public static io.agentscope.controlplane.proto.ConnectRequest 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.controlplane.proto.ConnectRequestcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:325–330parseFrom
public static io.agentscope.controlplane.proto.ConnectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
io.agentscope.controlplane.proto.ConnectRequestcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:331–334parseFrom
public static io.agentscope.controlplane.proto.ConnectRequest 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.controlplane.proto.ConnectRequestcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:335–340parseFrom
public static io.agentscope.controlplane.proto.ConnectRequest 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.controlplane.proto.ConnectRequestjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:341–345parseFrom
public static io.agentscope.controlplane.proto.ConnectRequest 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.controlplane.proto.ConnectRequestjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:346–352parseDelimitedFrom
public static io.agentscope.controlplane.proto.ConnectRequest 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.controlplane.proto.ConnectRequestjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:354–358parseDelimitedFrom
public static io.agentscope.controlplane.proto.ConnectRequest 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.controlplane.proto.ConnectRequestjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:360–366parseFrom
public static io.agentscope.controlplane.proto.ConnectRequest 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.controlplane.proto.ConnectRequestjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:367–372parseFrom
public static io.agentscope.controlplane.proto.ConnectRequest 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.controlplane.proto.ConnectRequestjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectRequest.java:373–379newBuilderForType
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
Builderio/agentscope/controlplane/proto/ConnectRequest.java:381–382newBuilder
public static Builder newBuilder()
创建构建器。
Returns the new builder.
Builderio/agentscope/controlplane/proto/ConnectRequest.java:383–385newBuilder
public static Builder newBuilder(io.agentscope.controlplane.proto.ConnectRequest prototype)
创建构建器。
Performs the new builder operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
prototype | io.agentscope.controlplane.proto.ConnectRequest | prototype(类型 `io.agentscope.controlplane.proto.ConnectRequest`)。The prototype. |
Builderio/agentscope/controlplane/proto/ConnectRequest.java:386–388toBuilder
public Builder toBuilder()
返回到构建器。
Returns the to builder.
Builderio/agentscope/controlplane/proto/ConnectRequest.java:389–393newBuilderForType
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/controlplane/proto/ConnectRequest.java:395–400getDefaultInstance
public static io.agentscope.controlplane.proto.ConnectRequest getDefaultInstance()
获取默认实例。
Returns the default instance.
io.agentscope.controlplane.proto.ConnectRequestio/agentscope/controlplane/proto/ConnectRequest.java:929–931parser
public static com.google.protobuf.Parser<ConnectRequest> parser()
返回解析器。
Returns the parser.
com.google.protobuf.Parser<ConnectRequest>io/agentscope/controlplane/proto/ConnectRequest.java:955–957getParserForType
public com.google.protobuf.Parser<ConnectRequest> getParserForType()
获取解析器用于类型。
Returns the parser for type.
com.google.protobuf.Parser<ConnectRequest>io/agentscope/controlplane/proto/ConnectRequest.java:959–962getDefaultInstanceForType
public io.agentscope.controlplane.proto.ConnectRequest getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.controlplane.proto.ConnectRequestio/agentscope/controlplane/proto/ConnectRequest.java:964–967嵌套类详情Nested Class Detail
Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.ConnectRequestOrBuilder构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.ConnectRequestOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
Handshake (sent on connection establish, analogous to xDS initial DiscoveryRequest)
Protobuf type agentscope.protocol.v1.ConnectRequest