Package io.dingodb.common
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedingodb.pb.common.StoreOwnMetricsNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Common.StoreOwnMetricsstatic final com.google.protobuf.Descriptors.DescriptorlonggetId()store idbooleanis read onlycom.google.protobuf.Parser<Common.StoreOwnMetrics>longfree capacity of this store , NOT IMPLEMENTEDlongcpu usage of this store process, this value / 100 is the real cpu usage percentlongtotal used memory of this store processread only reasoncom.google.protobuf.ByteStringread only reasonintlongavailable memory of the host this store process running onlongbuffer memory of the host this store process running onlongcache memory of the host this store process running onlongcpu usage of this store processlongfree capacity of this storelongtotal free memory of the host this store process running onlongtotal free swap of the host this store process running onlongio utilization of the host this store process running on , NOT IMPLEMENTEDlongshared memory of the host this store process running onlongtotal capacity of this storelongtotal memory of the host this store process running onlongtotal swap of the host this store process running oninthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Common.StoreOwnMetrics prototype) protected Common.StoreOwnMetrics.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Common.StoreOwnMetricsparseDelimitedFrom(InputStream input) static Common.StoreOwnMetricsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.StoreOwnMetricsparseFrom(byte[] data) static Common.StoreOwnMetricsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.StoreOwnMetricsparseFrom(com.google.protobuf.ByteString data) static Common.StoreOwnMetricsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.StoreOwnMetricsparseFrom(com.google.protobuf.CodedInputStream input) static Common.StoreOwnMetricsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.StoreOwnMetricsparseFrom(InputStream input) static Common.StoreOwnMetricsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.StoreOwnMetricsparseFrom(ByteBuffer data) static Common.StoreOwnMetricsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Common.StoreOwnMetrics>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getId
public long getId()store id
int64 id = 1;- Specified by:
getIdin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The id.
-
getIsReadyOnly
public boolean getIsReadyOnly()is read only
bool is_ready_only = 2;- Specified by:
getIsReadyOnlyin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The isReadyOnly.
-
getReadOnlyReason
read only reason
string read_only_reason = 3;- Specified by:
getReadOnlyReasonin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The readOnlyReason.
-
getReadOnlyReasonBytes
public com.google.protobuf.ByteString getReadOnlyReasonBytes()read only reason
string read_only_reason = 3;- Specified by:
getReadOnlyReasonBytesin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The bytes for readOnlyReason.
-
getSystemTotalCapacity
public long getSystemTotalCapacity()total capacity of this store
int64 system_total_capacity = 11;- Specified by:
getSystemTotalCapacityin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemTotalCapacity.
-
getSystemFreeCapacity
public long getSystemFreeCapacity()free capacity of this store
int64 system_free_capacity = 12;- Specified by:
getSystemFreeCapacityin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemFreeCapacity.
-
getSystemCpuUsage
public long getSystemCpuUsage()cpu usage of this store process
int64 system_cpu_usage = 13;- Specified by:
getSystemCpuUsagein interfaceCommon.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:
getSystemTotalMemoryin interfaceCommon.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:
getSystemFreeMemoryin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemFreeMemory.
-
getSystemBufferMemory
public long getSystemBufferMemory()buffer memory of the host this store process running on
int64 system_buffer_memory = 17;- Specified by:
getSystemBufferMemoryin interfaceCommon.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:
getSystemCachedMemoryin interfaceCommon.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:
getSystemAvailableMemoryin interfaceCommon.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:
getSystemTotalSwapin interfaceCommon.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:
getSystemFreeSwapin interfaceCommon.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:
getSystemIoUtilin interfaceCommon.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:
getProcessUsedCpuin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The processUsedCpu.
-
getProcessUsedMemory
public long getProcessUsedMemory()total used memory of this store process
int64 process_used_memory = 24;- Specified by:
getProcessUsedMemoryin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The processUsedMemory.
-
getProcessUsedCapacity
public long getProcessUsedCapacity()free capacity of this store , NOT IMPLEMENTED
int64 process_used_capacity = 25;- Specified by:
getProcessUsedCapacityin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The processUsedCapacity.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Common.StoreOwnMetrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Common.StoreOwnMetrics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-