AS AgentScopeAPI 手册 / API Reference

ConnectRequest

public final class ConnectRequest extends com.google.protobuf.GeneratedMessage implements ConnectRequestOrBuilder
源码Source io/agentscope/aistio/proto/ConnectRequest.java:15–969

连接请求,承载智能体的部署、调度与服务化运行。位于 io.agentscope.aistio.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_NUMBER
staticfinal
int
运行时 FIELD 数量字段。
The RUNTIME FIELD NUMBER field.
SDK_VERSION_FIELD_NUMBER
staticfinal
int
SDK 版本 FIELD 数量字段。
The SDK VERSION FIELD NUMBER field.
CAPABILITIES_FIELD_NUMBER
staticfinal
int
能力 FIELD 数量字段。
The CAPABILITIES FIELD NUMBER field.
SESSION_AFFINITY_FIELD_NUMBER
staticfinal
int
会话 AFFINITY FIELD 数量字段。
The SESSION AFFINITY 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 getRuntime()
获取运行时。
`string runtime = 1;`
public com.google.protobuf.ByteString getRuntimeBytes()
获取运行时字节。
`string runtime = 1;`
public java.lang.String getSdkVersion()
获取 `getSdkVersion`。
`string sdk_version = 2;`
public com.google.protobuf.ByteString getSdkVersionBytes()
获取 `getSdkVersionBytes`。
`string sdk_version = 2;`
public com.google.protobuf.ProtocolStringList getCapabilitiesList()
获取能力列表。
`repeated string capabilities = 3;`
public int getCapabilitiesCount()
获取能力数量。
`repeated string capabilities = 3;`
public java.lang.String getCapabilities(int index)
获取能力。
`repeated string capabilities = 3;`
public com.google.protobuf.ByteString getCapabilitiesBytes(int index)
获取能力字节。
`repeated string capabilities = 3;`
public java.lang.String getSessionAffinity()
获取 `getSessionAffinity`。
`string session_affinity = 4;`
public com.google.protobuf.ByteString getSessionAffinityBytes()
获取 `getSessionAffinityBytes`。
`string session_affinity = 4;`
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.aistio.proto.ConnectRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConnectRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConnectRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConnectRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConnectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConnectRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConnectRequest parseFrom(java.io.InputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConnectRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConnectRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.aistio.proto.ConnectRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.aistio.proto.ConnectRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest getDefaultInstance()
static
获取默认实例。
Returns the default instance.
public static com.google.protobuf.Parser<ConnectRequest> parser()
static
返回解析器。
Returns the parser.
public com.google.protobuf.Parser<ConnectRequest> getParserForType()
获取解析器用于类型。
Returns the parser for type.
public io.agentscope.aistio.proto.ConnectRequest getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.

字段详情Field Detail

RUNTIME_FIELD_NUMBER

public static final int RUNTIME_FIELD_NUMBER
staticfinal

运行时 FIELD 数量字段。声明为 public static final int RUNTIME_FIELD_NUMBER。

The RUNTIME FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConnectRequest.java:54

SDK_VERSION_FIELD_NUMBER

public static final int SDK_VERSION_FIELD_NUMBER
staticfinal

SDK 版本 FIELD 数量字段。声明为 public static final int SDK_VERSION_FIELD_NUMBER。

The SDK VERSION FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConnectRequest.java:93

CAPABILITIES_FIELD_NUMBER

public static final int CAPABILITIES_FIELD_NUMBER
staticfinal

能力 FIELD 数量字段。声明为 public static final int CAPABILITIES_FIELD_NUMBER。

The CAPABILITIES FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConnectRequest.java:132

SESSION_AFFINITY_FIELD_NUMBER

public static final int SESSION_AFFINITY_FIELD_NUMBER
staticfinal

会话 AFFINITY FIELD 数量字段。声明为 public static final int SESSION_AFFINITY_FIELD_NUMBER。

The SESSION AFFINITY FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ConnectRequest.java:169

方法详情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/aistio/proto/ConnectRequest.java:41–44

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/aistio/proto/ConnectRequest.java:46–52

getRuntime

public java.lang.String getRuntime()

获取运行时。

string runtime = 1;

返回Returns java.lang.String
运行时。The runtime.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:61–73

getRuntimeBytes

public com.google.protobuf.ByteString getRuntimeBytes()

获取运行时字节。

string runtime = 1;

返回Returns com.google.protobuf.ByteString
字节用于运行时。The bytes for runtime.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:78–91

getSdkVersion

public java.lang.String getSdkVersion()

获取 getSdkVersion。

string sdk_version = 2;

返回Returns java.lang.String
返回java.lang.String。The sdkVersion.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:100–112

getSdkVersionBytes

public com.google.protobuf.ByteString getSdkVersionBytes()

获取 getSdkVersionBytes。

string sdk_version = 2;

返回Returns com.google.protobuf.ByteString
字节用于 sdkVersion。The bytes for sdkVersion.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:117–130

getCapabilitiesList

public com.google.protobuf.ProtocolStringList getCapabilitiesList()

获取能力列表。

repeated string capabilities = 3;

返回Returns com.google.protobuf.ProtocolStringList
返回com.google.protobuf.ProtocolStringList。A list containing the capabilities.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:140–143

getCapabilitiesCount

public int getCapabilitiesCount()

获取能力数量。

repeated string capabilities = 3;

返回Returns int
能力的数量。The count of capabilities.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:148–150

getCapabilities

public java.lang.String getCapabilities(int index)

获取能力。

repeated string capabilities = 3;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index of the element to return.
返回Returns java.lang.String
返回java.lang.String。The capabilities at the given index.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:156–158

getCapabilitiesBytes

public com.google.protobuf.ByteString getCapabilitiesBytes(int index)

获取能力字节。

repeated string capabilities = 3;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index of the value to return.
返回Returns com.google.protobuf.ByteString
返回com.google.protobuf.ByteString。The bytes of the capabilities at the given index.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:164–167

getSessionAffinity

public java.lang.String getSessionAffinity()

获取 getSessionAffinity。

string session_affinity = 4;

返回Returns java.lang.String
返回java.lang.String。The sessionAffinity.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:176–188

getSessionAffinityBytes

public com.google.protobuf.ByteString getSessionAffinityBytes()

获取 getSessionAffinityBytes。

string session_affinity = 4;

返回Returns com.google.protobuf.ByteString
字节用于 sessionAffinity。The bytes for sessionAffinity.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:193–206

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:209–217

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/aistio/proto/ConnectRequest.java:219–235

getSerializedSize

public int getSerializedSize()

获取 getSerializedSize。

Returns the serialized size.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:237–263

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/aistio/proto/ConnectRequest.java:265–285

hashCode

public int hashCode()

返回 hashCode 结果。

Returns the hash code.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:287–307

parseFrom

public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:309–313

parseFrom

public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:314–319

parseFrom

public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:320–324

parseFrom

public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:325–330

parseFrom

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

解析来自。

Parses the from.

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

parseFrom

public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:335–340

parseFrom

public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:341–345

parseFrom

public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:346–352

parseDelimitedFrom

public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:354–358

parseDelimitedFrom

public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:360–366

parseFrom

public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:367–372

parseFrom

public static io.agentscope.aistio.proto.ConnectRequest 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.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:373–379

newBuilderForType

public Builder newBuilderForType()

创建构建器用于类型。

Returns the new builder for type.

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

newBuilder

public static Builder newBuilder()
static

创建构建器。

Returns the new builder.

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

newBuilder

public static Builder newBuilder(io.agentscope.aistio.proto.ConnectRequest prototype)
static

创建构建器。

Performs the new builder operation.

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

toBuilder

public Builder toBuilder()

返回到构建器。

Returns the to builder.

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

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/aistio/proto/ConnectRequest.java:395–400

getDefaultInstance

public static io.agentscope.aistio.proto.ConnectRequest getDefaultInstance()
static

获取默认实例。

Returns the default instance.

返回Returns io.agentscope.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:929–931

parser

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

返回解析器。

Returns the parser.

返回Returns com.google.protobuf.Parser<ConnectRequest>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:955–957

getParserForType

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

获取解析器用于类型。

Returns the parser for type.

返回Returns com.google.protobuf.Parser<ConnectRequest>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:959–962

getDefaultInstanceForType

public io.agentscope.aistio.proto.ConnectRequest getDefaultInstanceForType()

获取默认实例用于类型。

Returns the default instance for type.

返回Returns io.agentscope.aistio.proto.ConnectRequest
返回io.agentscope.aistio.协议.ConnectRequest。Returns io agentscope aistio proto connect request.
源码Source io/agentscope/aistio/proto/ConnectRequest.java:964–967

嵌套类详情Nested Class Detail

Builder

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

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


Handshake (sent on connection establish, analogous to xDS initial DiscoveryRequest)

Protobuf type agentscope.protocol.v1.ConnectRequest

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