Class Common.StoreOwnMetrics

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.common.Common.StoreOwnMetrics
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Common.StoreOwnMetricsOrBuilder, Serializable
Enclosing class:
Common

public static final class Common.StoreOwnMetrics extends com.google.protobuf.GeneratedMessageV3 implements Common.StoreOwnMetricsOrBuilder
Protobuf type dingodb.pb.common.StoreOwnMetrics
See Also:
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • IS_READY_ONLY_FIELD_NUMBER

      public static final int IS_READY_ONLY_FIELD_NUMBER
      See Also:
    • READ_ONLY_REASON_FIELD_NUMBER

      public static final int READ_ONLY_REASON_FIELD_NUMBER
      See Also:
    • SYSTEM_TOTAL_CAPACITY_FIELD_NUMBER

      public static final int SYSTEM_TOTAL_CAPACITY_FIELD_NUMBER
      See Also:
    • SYSTEM_FREE_CAPACITY_FIELD_NUMBER

      public static final int SYSTEM_FREE_CAPACITY_FIELD_NUMBER
      See Also:
    • SYSTEM_CPU_USAGE_FIELD_NUMBER

      public static final int SYSTEM_CPU_USAGE_FIELD_NUMBER
      See Also:
    • SYSTEM_TOTAL_MEMORY_FIELD_NUMBER

      public static final int SYSTEM_TOTAL_MEMORY_FIELD_NUMBER
      See Also:
    • SYSTEM_FREE_MEMORY_FIELD_NUMBER

      public static final int SYSTEM_FREE_MEMORY_FIELD_NUMBER
      See Also:
    • SYSTEM_SHARED_MEMORY_FIELD_NUMBER

      public static final int SYSTEM_SHARED_MEMORY_FIELD_NUMBER
      See Also:
    • SYSTEM_BUFFER_MEMORY_FIELD_NUMBER

      public static final int SYSTEM_BUFFER_MEMORY_FIELD_NUMBER
      See Also:
    • SYSTEM_CACHED_MEMORY_FIELD_NUMBER

      public static final int SYSTEM_CACHED_MEMORY_FIELD_NUMBER
      See Also:
    • SYSTEM_AVAILABLE_MEMORY_FIELD_NUMBER

      public static final int SYSTEM_AVAILABLE_MEMORY_FIELD_NUMBER
      See Also:
    • SYSTEM_TOTAL_SWAP_FIELD_NUMBER

      public static final int SYSTEM_TOTAL_SWAP_FIELD_NUMBER
      See Also:
    • SYSTEM_FREE_SWAP_FIELD_NUMBER

      public static final int SYSTEM_FREE_SWAP_FIELD_NUMBER
      See Also:
    • SYSTEM_IO_UTIL_FIELD_NUMBER

      public static final int SYSTEM_IO_UTIL_FIELD_NUMBER
      See Also:
    • PROCESS_USED_CPU_FIELD_NUMBER

      public static final int PROCESS_USED_CPU_FIELD_NUMBER
      See Also:
    • PROCESS_USED_MEMORY_FIELD_NUMBER

      public static final int PROCESS_USED_MEMORY_FIELD_NUMBER
      See Also:
    • PROCESS_USED_CAPACITY_FIELD_NUMBER

      public static final int PROCESS_USED_CAPACITY_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getId

      public long getId()
       store id
       
      int64 id = 1;
      Specified by:
      getId in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The id.
    • getIsReadyOnly

      public boolean getIsReadyOnly()
       is read only
       
      bool is_ready_only = 2;
      Specified by:
      getIsReadyOnly in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The isReadyOnly.
    • getReadOnlyReason

      public String getReadOnlyReason()
       read only reason
       
      string read_only_reason = 3;
      Specified by:
      getReadOnlyReason in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The readOnlyReason.
    • getReadOnlyReasonBytes

      public com.google.protobuf.ByteString getReadOnlyReasonBytes()
       read only reason
       
      string read_only_reason = 3;
      Specified by:
      getReadOnlyReasonBytes in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The bytes for readOnlyReason.
    • getSystemTotalCapacity

      public long getSystemTotalCapacity()
       total capacity of this store
       
      int64 system_total_capacity = 11;
      Specified by:
      getSystemTotalCapacity in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemTotalCapacity.
    • getSystemFreeCapacity

      public long getSystemFreeCapacity()
       free capacity of this store
       
      int64 system_free_capacity = 12;
      Specified by:
      getSystemFreeCapacity in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemFreeCapacity.
    • getSystemCpuUsage

      public long getSystemCpuUsage()
       cpu usage of this store process
       
      int64 system_cpu_usage = 13;
      Specified by:
      getSystemCpuUsage in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemCpuUsage.
    • getSystemTotalMemory

      public long getSystemTotalMemory()
       total memory of the host this store process running on
       
      int64 system_total_memory = 14;
      Specified by:
      getSystemTotalMemory in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemTotalMemory.
    • getSystemFreeMemory

      public long getSystemFreeMemory()
       total free memory of the host this store process running on
       
      int64 system_free_memory = 15;
      Specified by:
      getSystemFreeMemory in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemFreeMemory.
    • getSystemSharedMemory

      public long getSystemSharedMemory()
       shared memory of the host this store process running on
       
      int64 system_shared_memory = 16;
      Specified by:
      getSystemSharedMemory in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemSharedMemory.
    • getSystemBufferMemory

      public long getSystemBufferMemory()
       buffer memory of the host this store process running on
       
      int64 system_buffer_memory = 17;
      Specified by:
      getSystemBufferMemory in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemBufferMemory.
    • getSystemCachedMemory

      public long getSystemCachedMemory()
       cache memory of the host this store process running on
       
      int64 system_cached_memory = 18;
      Specified by:
      getSystemCachedMemory in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemCachedMemory.
    • getSystemAvailableMemory

      public long getSystemAvailableMemory()
       available memory of the host this store process running on
       
      int64 system_available_memory = 19;
      Specified by:
      getSystemAvailableMemory in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemAvailableMemory.
    • getSystemTotalSwap

      public long getSystemTotalSwap()
       total swap of the host this store process running on
       
      int64 system_total_swap = 20;
      Specified by:
      getSystemTotalSwap in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemTotalSwap.
    • getSystemFreeSwap

      public long getSystemFreeSwap()
       total free swap of the host this store process running on
       
      int64 system_free_swap = 21;
      Specified by:
      getSystemFreeSwap in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemFreeSwap.
    • getSystemIoUtil

      public long getSystemIoUtil()
       io utilization of the host this store process running on , NOT IMPLEMENTED
       
      int64 system_io_util = 22;
      Specified by:
      getSystemIoUtil in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The systemIoUtil.
    • getProcessUsedCpu

      public long getProcessUsedCpu()
       cpu usage of this store process, this value / 100 is the real cpu usage percent
       
      int64 process_used_cpu = 23;
      Specified by:
      getProcessUsedCpu in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The processUsedCpu.
    • getProcessUsedMemory

      public long getProcessUsedMemory()
       total used memory of this store process
       
      int64 process_used_memory = 24;
      Specified by:
      getProcessUsedMemory in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The processUsedMemory.
    • getProcessUsedCapacity

      public long getProcessUsedCapacity()
       free capacity of this store , NOT IMPLEMENTED
       
      int64 process_used_capacity = 25;
      Specified by:
      getProcessUsedCapacity in interface Common.StoreOwnMetricsOrBuilder
      Returns:
      The processUsedCapacity.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Common.StoreOwnMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.StoreOwnMetrics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.StoreOwnMetrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.StoreOwnMetrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.StoreOwnMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.StoreOwnMetrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.StoreOwnMetrics parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Common.StoreOwnMetrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Common.StoreOwnMetrics parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Common.StoreOwnMetrics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Common.StoreOwnMetrics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Common.StoreOwnMetrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Common.StoreOwnMetrics.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Common.StoreOwnMetrics.Builder newBuilder()
    • newBuilder

      public static Common.StoreOwnMetrics.Builder newBuilder(Common.StoreOwnMetrics prototype)
    • toBuilder

      public Common.StoreOwnMetrics.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Common.StoreOwnMetrics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Common.StoreOwnMetrics getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Common.StoreOwnMetrics> parser()
    • getParserForType

      public com.google.protobuf.Parser<Common.StoreOwnMetrics> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Common.StoreOwnMetrics getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder