Class Common.StoreOwnMetrics.Builder

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

public static final class Common.StoreOwnMetrics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder> implements Common.StoreOwnMetricsOrBuilder
Protobuf type dingodb.pb.common.StoreOwnMetrics
  • Method Details

    • 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.Builder<Common.StoreOwnMetrics.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
    • setField

      public Common.StoreOwnMetrics.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
    • clearField

      public Common.StoreOwnMetrics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
    • clearOneof

      public Common.StoreOwnMetrics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
    • setRepeatedField

      public Common.StoreOwnMetrics.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
    • addRepeatedField

      public Common.StoreOwnMetrics.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
    • mergeFrom

      public Common.StoreOwnMetrics.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Common.StoreOwnMetrics.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
    • mergeFrom

      public Common.StoreOwnMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Common.StoreOwnMetrics.Builder>
      Throws:
      IOException
    • getId

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

      public Common.StoreOwnMetrics.Builder setId(long value)
       store id
       
      int64 id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       store id
       
      int64 id = 1;
      Returns:
      This builder for chaining.
    • getIsReadyOnly

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

      public Common.StoreOwnMetrics.Builder setIsReadyOnly(boolean value)
       is read only
       
      bool is_ready_only = 2;
      Parameters:
      value - The isReadyOnly to set.
      Returns:
      This builder for chaining.
    • clearIsReadyOnly

      public Common.StoreOwnMetrics.Builder clearIsReadyOnly()
       is read only
       
      bool is_ready_only = 2;
      Returns:
      This builder for chaining.
    • 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.
    • setReadOnlyReason

      public Common.StoreOwnMetrics.Builder setReadOnlyReason(String value)
       read only reason
       
      string read_only_reason = 3;
      Parameters:
      value - The readOnlyReason to set.
      Returns:
      This builder for chaining.
    • clearReadOnlyReason

      public Common.StoreOwnMetrics.Builder clearReadOnlyReason()
       read only reason
       
      string read_only_reason = 3;
      Returns:
      This builder for chaining.
    • setReadOnlyReasonBytes

      public Common.StoreOwnMetrics.Builder setReadOnlyReasonBytes(com.google.protobuf.ByteString value)
       read only reason
       
      string read_only_reason = 3;
      Parameters:
      value - The bytes for readOnlyReason to set.
      Returns:
      This builder for chaining.
    • getSystemTotalCapacity

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

      public Common.StoreOwnMetrics.Builder setSystemTotalCapacity(long value)
       total capacity of this store
       
      int64 system_total_capacity = 11;
      Parameters:
      value - The systemTotalCapacity to set.
      Returns:
      This builder for chaining.
    • clearSystemTotalCapacity

      public Common.StoreOwnMetrics.Builder clearSystemTotalCapacity()
       total capacity of this store
       
      int64 system_total_capacity = 11;
      Returns:
      This builder for chaining.
    • getSystemFreeCapacity

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

      public Common.StoreOwnMetrics.Builder setSystemFreeCapacity(long value)
       free capacity of this store
       
      int64 system_free_capacity = 12;
      Parameters:
      value - The systemFreeCapacity to set.
      Returns:
      This builder for chaining.
    • clearSystemFreeCapacity

      public Common.StoreOwnMetrics.Builder clearSystemFreeCapacity()
       free capacity of this store
       
      int64 system_free_capacity = 12;
      Returns:
      This builder for chaining.
    • 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.
    • setSystemCpuUsage

      public Common.StoreOwnMetrics.Builder setSystemCpuUsage(long value)
       cpu usage of this store process
       
      int64 system_cpu_usage = 13;
      Parameters:
      value - The systemCpuUsage to set.
      Returns:
      This builder for chaining.
    • clearSystemCpuUsage

      public Common.StoreOwnMetrics.Builder clearSystemCpuUsage()
       cpu usage of this store process
       
      int64 system_cpu_usage = 13;
      Returns:
      This builder for chaining.
    • 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.
    • setSystemTotalMemory

      public Common.StoreOwnMetrics.Builder setSystemTotalMemory(long value)
       total memory of the host this store process running on
       
      int64 system_total_memory = 14;
      Parameters:
      value - The systemTotalMemory to set.
      Returns:
      This builder for chaining.
    • clearSystemTotalMemory

      public Common.StoreOwnMetrics.Builder clearSystemTotalMemory()
       total memory of the host this store process running on
       
      int64 system_total_memory = 14;
      Returns:
      This builder for chaining.
    • 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.
    • setSystemFreeMemory

      public Common.StoreOwnMetrics.Builder setSystemFreeMemory(long value)
       total free memory of the host this store process running on
       
      int64 system_free_memory = 15;
      Parameters:
      value - The systemFreeMemory to set.
      Returns:
      This builder for chaining.
    • clearSystemFreeMemory

      public Common.StoreOwnMetrics.Builder clearSystemFreeMemory()
       total free memory of the host this store process running on
       
      int64 system_free_memory = 15;
      Returns:
      This builder for chaining.
    • 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.
    • setSystemSharedMemory

      public Common.StoreOwnMetrics.Builder setSystemSharedMemory(long value)
       shared memory of the host this store process running on
       
      int64 system_shared_memory = 16;
      Parameters:
      value - The systemSharedMemory to set.
      Returns:
      This builder for chaining.
    • clearSystemSharedMemory

      public Common.StoreOwnMetrics.Builder clearSystemSharedMemory()
       shared memory of the host this store process running on
       
      int64 system_shared_memory = 16;
      Returns:
      This builder for chaining.
    • 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.
    • setSystemBufferMemory

      public Common.StoreOwnMetrics.Builder setSystemBufferMemory(long value)
       buffer memory of the host this store process running on
       
      int64 system_buffer_memory = 17;
      Parameters:
      value - The systemBufferMemory to set.
      Returns:
      This builder for chaining.
    • clearSystemBufferMemory

      public Common.StoreOwnMetrics.Builder clearSystemBufferMemory()
       buffer memory of the host this store process running on
       
      int64 system_buffer_memory = 17;
      Returns:
      This builder for chaining.
    • 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.
    • setSystemCachedMemory

      public Common.StoreOwnMetrics.Builder setSystemCachedMemory(long value)
       cache memory of the host this store process running on
       
      int64 system_cached_memory = 18;
      Parameters:
      value - The systemCachedMemory to set.
      Returns:
      This builder for chaining.
    • clearSystemCachedMemory

      public Common.StoreOwnMetrics.Builder clearSystemCachedMemory()
       cache memory of the host this store process running on
       
      int64 system_cached_memory = 18;
      Returns:
      This builder for chaining.
    • 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.
    • setSystemAvailableMemory

      public Common.StoreOwnMetrics.Builder setSystemAvailableMemory(long value)
       available memory of the host this store process running on
       
      int64 system_available_memory = 19;
      Parameters:
      value - The systemAvailableMemory to set.
      Returns:
      This builder for chaining.
    • clearSystemAvailableMemory

      public Common.StoreOwnMetrics.Builder clearSystemAvailableMemory()
       available memory of the host this store process running on
       
      int64 system_available_memory = 19;
      Returns:
      This builder for chaining.
    • 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.
    • setSystemTotalSwap

      public Common.StoreOwnMetrics.Builder setSystemTotalSwap(long value)
       total swap of the host this store process running on
       
      int64 system_total_swap = 20;
      Parameters:
      value - The systemTotalSwap to set.
      Returns:
      This builder for chaining.
    • clearSystemTotalSwap

      public Common.StoreOwnMetrics.Builder clearSystemTotalSwap()
       total swap of the host this store process running on
       
      int64 system_total_swap = 20;
      Returns:
      This builder for chaining.
    • 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.
    • setSystemFreeSwap

      public Common.StoreOwnMetrics.Builder setSystemFreeSwap(long value)
       total free swap of the host this store process running on
       
      int64 system_free_swap = 21;
      Parameters:
      value - The systemFreeSwap to set.
      Returns:
      This builder for chaining.
    • clearSystemFreeSwap

      public Common.StoreOwnMetrics.Builder clearSystemFreeSwap()
       total free swap of the host this store process running on
       
      int64 system_free_swap = 21;
      Returns:
      This builder for chaining.
    • 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.
    • setSystemIoUtil

      public Common.StoreOwnMetrics.Builder setSystemIoUtil(long value)
       io utilization of the host this store process running on , NOT IMPLEMENTED
       
      int64 system_io_util = 22;
      Parameters:
      value - The systemIoUtil to set.
      Returns:
      This builder for chaining.
    • clearSystemIoUtil

      public Common.StoreOwnMetrics.Builder clearSystemIoUtil()
       io utilization of the host this store process running on , NOT IMPLEMENTED
       
      int64 system_io_util = 22;
      Returns:
      This builder for chaining.
    • 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.
    • setProcessUsedCpu

      public Common.StoreOwnMetrics.Builder setProcessUsedCpu(long value)
       cpu usage of this store process, this value / 100 is the real cpu usage percent
       
      int64 process_used_cpu = 23;
      Parameters:
      value - The processUsedCpu to set.
      Returns:
      This builder for chaining.
    • clearProcessUsedCpu

      public Common.StoreOwnMetrics.Builder clearProcessUsedCpu()
       cpu usage of this store process, this value / 100 is the real cpu usage percent
       
      int64 process_used_cpu = 23;
      Returns:
      This builder for chaining.
    • 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.
    • setProcessUsedMemory

      public Common.StoreOwnMetrics.Builder setProcessUsedMemory(long value)
       total used memory of this store process
       
      int64 process_used_memory = 24;
      Parameters:
      value - The processUsedMemory to set.
      Returns:
      This builder for chaining.
    • clearProcessUsedMemory

      public Common.StoreOwnMetrics.Builder clearProcessUsedMemory()
       total used memory of this store process
       
      int64 process_used_memory = 24;
      Returns:
      This builder for chaining.
    • 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.
    • setProcessUsedCapacity

      public Common.StoreOwnMetrics.Builder setProcessUsedCapacity(long value)
       free capacity of this store , NOT IMPLEMENTED
       
      int64 process_used_capacity = 25;
      Parameters:
      value - The processUsedCapacity to set.
      Returns:
      This builder for chaining.
    • clearProcessUsedCapacity

      public Common.StoreOwnMetrics.Builder clearProcessUsedCapacity()
       free capacity of this store , NOT IMPLEMENTED
       
      int64 process_used_capacity = 25;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Common.StoreOwnMetrics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
    • mergeUnknownFields

      public final Common.StoreOwnMetrics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>