Package io.dingodb.common
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()store idis read onlyclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) free capacity of this store , NOT IMPLEMENTEDcpu usage of this store process, this value / 100 is the real cpu usage percenttotal used memory of this store processread only reasonavailable memory of the host this store process running onbuffer memory of the host this store process running oncache memory of the host this store process running oncpu usage of this store processfree capacity of this storetotal free memory of the host this store process running ontotal free swap of the host this store process running onio utilization of the host this store process running on , NOT IMPLEMENTEDshared memory of the host this store process running ontotal capacity of this storetotal memory of the host this store process running ontotal swap of the host this store process running onclone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetId()store idbooleanis read onlylongfree 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 reasonlongavailable 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 onprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Common.StoreOwnMetrics other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setId(long value) store idsetIsReadyOnly(boolean value) is read onlysetProcessUsedCapacity(long value) free capacity of this store , NOT IMPLEMENTEDsetProcessUsedCpu(long value) cpu usage of this store process, this value / 100 is the real cpu usage percentsetProcessUsedMemory(long value) total used memory of this store processsetReadOnlyReason(String value) read only reasonsetReadOnlyReasonBytes(com.google.protobuf.ByteString value) read only reasonsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSystemAvailableMemory(long value) available memory of the host this store process running onsetSystemBufferMemory(long value) buffer memory of the host this store process running onsetSystemCachedMemory(long value) cache memory of the host this store process running onsetSystemCpuUsage(long value) cpu usage of this store processsetSystemFreeCapacity(long value) free capacity of this storesetSystemFreeMemory(long value) total free memory of the host this store process running onsetSystemFreeSwap(long value) total free swap of the host this store process running onsetSystemIoUtil(long value) io utilization of the host this store process running on , NOT IMPLEMENTEDsetSystemSharedMemory(long value) shared memory of the host this store process running onsetSystemTotalCapacity(long value) total capacity of this storesetSystemTotalMemory(long value) total memory of the host this store process running onsetSystemTotalSwap(long value) total swap of the host this store process running onsetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<Common.StoreOwnMetrics.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
-
setField
public Common.StoreOwnMetrics.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
-
clearField
public Common.StoreOwnMetrics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
-
clearOneof
public Common.StoreOwnMetrics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
-
addRepeatedField
public Common.StoreOwnMetrics.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Common.StoreOwnMetrics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Common.StoreOwnMetrics.Builder>- Throws:
IOException
-
getId
public long getId()store id
int64 id = 1;- Specified by:
getIdin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The id.
-
setId
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:
getIsReadyOnlyin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The isReadyOnly.
-
setIsReadyOnly
is read only
bool is_ready_only = 2;- Parameters:
value- The isReadyOnly to set.- Returns:
- This builder for chaining.
-
clearIsReadyOnly
is read only
bool is_ready_only = 2;- Returns:
- This builder for chaining.
-
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.
-
setReadOnlyReason
read only reason
string read_only_reason = 3;- Parameters:
value- The readOnlyReason to set.- Returns:
- This builder for chaining.
-
clearReadOnlyReason
read only reason
string read_only_reason = 3;- Returns:
- This builder for chaining.
-
setReadOnlyReasonBytes
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:
getSystemTotalCapacityin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemTotalCapacity.
-
setSystemTotalCapacity
total capacity of this store
int64 system_total_capacity = 11;- Parameters:
value- The systemTotalCapacity to set.- Returns:
- This builder for chaining.
-
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:
getSystemFreeCapacityin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemFreeCapacity.
-
setSystemFreeCapacity
free capacity of this store
int64 system_free_capacity = 12;- Parameters:
value- The systemFreeCapacity to set.- Returns:
- This builder for chaining.
-
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:
getSystemCpuUsagein interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemCpuUsage.
-
setSystemCpuUsage
cpu usage of this store process
int64 system_cpu_usage = 13;- Parameters:
value- The systemCpuUsage to set.- Returns:
- This builder for chaining.
-
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:
getSystemTotalMemoryin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemTotalMemory.
-
setSystemTotalMemory
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
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:
getSystemFreeMemoryin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemFreeMemory.
-
setSystemFreeMemory
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
total free memory of the host this store process running on
int64 system_free_memory = 15;- 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:
getSystemBufferMemoryin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemBufferMemory.
-
setSystemBufferMemory
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
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:
getSystemCachedMemoryin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemCachedMemory.
-
setSystemCachedMemory
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
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:
getSystemAvailableMemoryin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemAvailableMemory.
-
setSystemAvailableMemory
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
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:
getSystemTotalSwapin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemTotalSwap.
-
setSystemTotalSwap
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
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:
getSystemFreeSwapin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemFreeSwap.
-
setSystemFreeSwap
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
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:
getSystemIoUtilin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The systemIoUtil.
-
setSystemIoUtil
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
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:
getProcessUsedCpuin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The processUsedCpu.
-
setProcessUsedCpu
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
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:
getProcessUsedMemoryin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The processUsedMemory.
-
setProcessUsedMemory
total used memory of this store process
int64 process_used_memory = 24;- Parameters:
value- The processUsedMemory to set.- Returns:
- This builder for chaining.
-
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:
getProcessUsedCapacityin interfaceCommon.StoreOwnMetricsOrBuilder- Returns:
- The processUsedCapacity.
-
setProcessUsedCapacity
free capacity of this store , NOT IMPLEMENTED
int64 process_used_capacity = 25;- Parameters:
value- The processUsedCapacity to set.- Returns:
- This builder for chaining.
-
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
-
mergeUnknownFields
public final Common.StoreOwnMetrics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.StoreOwnMetrics.Builder>
-