AS AgentScopeAPI 手册 / API Reference

InstanceHealth

public final class InstanceHealth extends com.google.protobuf.GeneratedMessage implements InstanceHealthOrBuilder
源码Source io/agentscope/aistio/proto/InstanceHealth.java:15–777

实例健康状态,承载智能体的部署、调度与服务化运行。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 InstanceHealthOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getHealthy、getReason、getReasonBytes、getActiveSessions。


Instance health reported by data plane

Protobuf type agentscope.protocol.v1.InstanceHealth

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
Builder类class
构建器,用于构建并配置目标实例。
``` Instance health reported by data plane

字段摘要Field Summary

字段Field类型Type说明Description
HEALTHY_FIELD_NUMBER
staticfinal
int
HEALTHY FIELD 数量字段。
The HEALTHY FIELD NUMBER field.
REASON_FIELD_NUMBER
staticfinal
int
推理 FIELD 数量字段。
The REASON FIELD NUMBER field.
ACTIVE_SESSIONS_FIELD_NUMBER
staticfinal
int
ACTIVE 会话 FIELD 数量字段。
The ACTIVE SESSIONS FIELD NUMBER field.
CPU_USAGE_FIELD_NUMBER
staticfinal
int
CPU 用量 FIELD 数量字段。
The CPU USAGE FIELD NUMBER field.
MEMORY_USAGE_FIELD_NUMBER
staticfinal
int
记忆用量 FIELD 数量字段。
The MEMORY USAGE 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 boolean getHealthy()
获取 `getHealthy`。
`bool healthy = 1;`
public java.lang.String getReason()
获取推理。
`string reason = 2;`
public com.google.protobuf.ByteString getReasonBytes()
获取推理字节。
`string reason = 2;`
public int getActiveSessions()
获取 `getActiveSessions`。
`int32 active_sessions = 3;`
public double getCpuUsage()
获取 `getCpuUsage`。
`double cpu_usage = 4;`
public double getMemoryUsage()
获取记忆用量。
`double memory_usage = 5;`
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.InstanceHealth parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.InstanceHealth 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.InstanceHealth parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.InstanceHealth 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.InstanceHealth parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.InstanceHealth parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.InstanceHealth parseFrom(java.io.InputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.InstanceHealth parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.InstanceHealth parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.aistio.proto.InstanceHealth 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.InstanceHealth parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.InstanceHealth 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.InstanceHealth 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.InstanceHealth getDefaultInstance()
static
获取默认实例。
Returns the default instance.
public static com.google.protobuf.Parser<InstanceHealth> parser()
static
返回解析器。
Returns the parser.
public com.google.protobuf.Parser<InstanceHealth> getParserForType()
获取解析器用于类型。
Returns the parser for type.
public io.agentscope.aistio.proto.InstanceHealth getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.

字段详情Field Detail

HEALTHY_FIELD_NUMBER

public static final int HEALTHY_FIELD_NUMBER
staticfinal

HEALTHY FIELD 数量字段。声明为 public static final int HEALTHY_FIELD_NUMBER。

The HEALTHY FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/InstanceHealth.java:50

REASON_FIELD_NUMBER

public static final int REASON_FIELD_NUMBER
staticfinal

推理 FIELD 数量字段。声明为 public static final int REASON_FIELD_NUMBER。

The REASON FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/InstanceHealth.java:61

ACTIVE_SESSIONS_FIELD_NUMBER

public static final int ACTIVE_SESSIONS_FIELD_NUMBER
staticfinal

ACTIVE 会话 FIELD 数量字段。声明为 public static final int ACTIVE_SESSIONS_FIELD_NUMBER。

The ACTIVE SESSIONS FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/InstanceHealth.java:100

CPU_USAGE_FIELD_NUMBER

public static final int CPU_USAGE_FIELD_NUMBER
staticfinal

CPU 用量 FIELD 数量字段。声明为 public static final int CPU_USAGE_FIELD_NUMBER。

The CPU USAGE FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/InstanceHealth.java:111

MEMORY_USAGE_FIELD_NUMBER

public static final int MEMORY_USAGE_FIELD_NUMBER
staticfinal

记忆用量 FIELD 数量字段。声明为 public static final int MEMORY_USAGE_FIELD_NUMBER。

The MEMORY USAGE FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/InstanceHealth.java:122

方法详情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/InstanceHealth.java:37–40

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/InstanceHealth.java:42–48

getHealthy

public boolean getHealthy()

获取 getHealthy。

bool healthy = 1;

返回Returns boolean
返回布尔值,表示判断结果。The healthy.
源码Source io/agentscope/aistio/proto/InstanceHealth.java:56–59

getReason

public java.lang.String getReason()

获取推理。

string reason = 2;

返回Returns java.lang.String
推理。The reason.
源码Source io/agentscope/aistio/proto/InstanceHealth.java:68–80

getReasonBytes

public com.google.protobuf.ByteString getReasonBytes()

获取推理字节。

string reason = 2;

返回Returns com.google.protobuf.ByteString
字节用于推理。The bytes for reason.
源码Source io/agentscope/aistio/proto/InstanceHealth.java:85–98

getActiveSessions

public int getActiveSessions()

获取 getActiveSessions。

int32 active_sessions = 3;

返回Returns int
返回数值结果。The activeSessions.
源码Source io/agentscope/aistio/proto/InstanceHealth.java:106–109

getCpuUsage

public double getCpuUsage()

获取 getCpuUsage。

double cpu_usage = 4;

返回Returns double
返回数值结果。The cpuUsage.
源码Source io/agentscope/aistio/proto/InstanceHealth.java:117–120

getMemoryUsage

public double getMemoryUsage()

获取记忆用量。

double memory_usage = 5;

返回Returns double
返回数值结果。The memoryUsage.
源码Source io/agentscope/aistio/proto/InstanceHealth.java:128–131

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

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

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/InstanceHealth.java:144–163

getSerializedSize

public int getSerializedSize()

获取 getSerializedSize。

Returns the serialized size.

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

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/InstanceHealth.java:195–219

hashCode

public int hashCode()

返回 hashCode 结果。

Returns the hash code.

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseDelimitedFrom

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

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilderForType

public Builder newBuilderForType()

创建构建器用于类型。

Returns the new builder for type.

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

newBuilder

public static Builder newBuilder()
static

创建构建器。

Returns the new builder.

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

newBuilder

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

创建构建器。

Performs the new builder operation.

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

toBuilder

public Builder toBuilder()

返回到构建器。

Returns the to builder.

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

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/InstanceHealth.java:332–337

getDefaultInstance

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

获取默认实例。

Returns the default instance.

返回Returns io.agentscope.aistio.proto.InstanceHealth
返回io.agentscope.aistio.协议.InstanceHealth。Returns io agentscope aistio proto instance health.
源码Source io/agentscope/aistio/proto/InstanceHealth.java:737–739

parser

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

返回解析器。

Returns the parser.

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

getParserForType

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

获取解析器用于类型。

Returns the parser for type.

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

getDefaultInstanceForType

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

获取默认实例用于类型。

Returns the default instance for type.

返回Returns io.agentscope.aistio.proto.InstanceHealth
返回io.agentscope.aistio.协议.InstanceHealth。Returns io agentscope aistio proto instance health.
源码Source io/agentscope/aistio/proto/InstanceHealth.java:772–775

嵌套类详情Nested Class Detail

Builder

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

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


Instance health reported by data plane

Protobuf type agentscope.protocol.v1.InstanceHealth

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