Package io.agentscope.aistio.proto
Interface InstanceHealthOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceHealth,InstanceHealth.Builder
public interface InstanceHealthOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintint32 active_sessions = 3;doubledouble cpu_usage = 4;booleanbool healthy = 1;doubledouble memory_usage = 5;string reason = 2;com.google.protobuf.ByteStringstring reason = 2;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getHealthy
boolean getHealthy()bool healthy = 1;- Returns:
- The healthy.
-
getReason
String getReason()string reason = 2;- Returns:
- The reason.
-
getReasonBytes
com.google.protobuf.ByteString getReasonBytes()string reason = 2;- Returns:
- The bytes for reason.
-
getActiveSessions
int getActiveSessions()int32 active_sessions = 3;- Returns:
- The activeSessions.
-
getCpuUsage
double getCpuUsage()double cpu_usage = 4;- Returns:
- The cpuUsage.
-
getMemoryUsage
double getMemoryUsage()double memory_usage = 5;- Returns:
- The memoryUsage.
-