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 Type
    Method
    Description
    int
    int32 active_sessions = 3;
    double
    double cpu_usage = 4;
    boolean
    bool healthy = 1;
    double
    double memory_usage = 5;
    string reason = 2;
    com.google.protobuf.ByteString
    string reason = 2;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.