Class MonitorDProto.CPUUsage.SingleCPUUsage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
de.serosystems.proto.v3.grx.monitord.MonitorDProto.CPUUsage.SingleCPUUsage.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,MonitorDProto.CPUUsage.SingleCPUUsageOrBuilder
,Cloneable
- Enclosing class:
- MonitorDProto.CPUUsage.SingleCPUUsage
public static final class MonitorDProto.CPUUsage.SingleCPUUsage.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
implements MonitorDProto.CPUUsage.SingleCPUUsageOrBuilder
CPU Usage information for a single CPU/core (or aggregated over all). All values are percent of time spent in the given states within the last measurement period.Protobuf type
serosystems.proto.v3.grx.monitord.CPUUsage.SingleCPUUsage
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) float idle = 5;
float iowait = 6;
clearIrq()
float irq = 7;
float nice = 3;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) float softirq = 8;
clearSys()
float sys = 4;
float total = 1;
float user = 2;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
float
getIdle()
float idle = 5;
float
float iowait = 6;
float
getIrq()
float irq = 7;
float
getNice()
float nice = 3;
float
float softirq = 8;
float
getSys()
float sys = 4;
float
getTotal()
float total = 1;
float
getUser()
float user = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setIdle
(float value) float idle = 5;
setIowait
(float value) float iowait = 6;
setIrq
(float value) float irq = 7;
setNice
(float value) float nice = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSoftirq
(float value) float softirq = 8;
setSys
(float value) float sys = 4;
setTotal
(float value) float total = 1;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setUser
(float value) float user = 2;
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
setField
public MonitorDProto.CPUUsage.SingleCPUUsage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
clearField
public MonitorDProto.CPUUsage.SingleCPUUsage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
clearOneof
public MonitorDProto.CPUUsage.SingleCPUUsage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
setRepeatedField
public MonitorDProto.CPUUsage.SingleCPUUsage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
addRepeatedField
public MonitorDProto.CPUUsage.SingleCPUUsage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
mergeFrom
public MonitorDProto.CPUUsage.SingleCPUUsage.Builder mergeFrom(MonitorDProto.CPUUsage.SingleCPUUsage other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
mergeFrom
public MonitorDProto.CPUUsage.SingleCPUUsage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
- Throws:
IOException
-
getTotal
public float getTotal()float total = 1;
- Specified by:
getTotal
in interfaceMonitorDProto.CPUUsage.SingleCPUUsageOrBuilder
- Returns:
- The total.
-
setTotal
float total = 1;
- Parameters:
value
- The total to set.- Returns:
- This builder for chaining.
-
clearTotal
float total = 1;
- Returns:
- This builder for chaining.
-
getUser
public float getUser()float user = 2;
- Specified by:
getUser
in interfaceMonitorDProto.CPUUsage.SingleCPUUsageOrBuilder
- Returns:
- The user.
-
setUser
float user = 2;
- Parameters:
value
- The user to set.- Returns:
- This builder for chaining.
-
clearUser
float user = 2;
- Returns:
- This builder for chaining.
-
getNice
public float getNice()float nice = 3;
- Specified by:
getNice
in interfaceMonitorDProto.CPUUsage.SingleCPUUsageOrBuilder
- Returns:
- The nice.
-
setNice
float nice = 3;
- Parameters:
value
- The nice to set.- Returns:
- This builder for chaining.
-
clearNice
float nice = 3;
- Returns:
- This builder for chaining.
-
getSys
public float getSys()float sys = 4;
- Specified by:
getSys
in interfaceMonitorDProto.CPUUsage.SingleCPUUsageOrBuilder
- Returns:
- The sys.
-
setSys
float sys = 4;
- Parameters:
value
- The sys to set.- Returns:
- This builder for chaining.
-
clearSys
float sys = 4;
- Returns:
- This builder for chaining.
-
getIdle
public float getIdle()float idle = 5;
- Specified by:
getIdle
in interfaceMonitorDProto.CPUUsage.SingleCPUUsageOrBuilder
- Returns:
- The idle.
-
setIdle
float idle = 5;
- Parameters:
value
- The idle to set.- Returns:
- This builder for chaining.
-
clearIdle
float idle = 5;
- Returns:
- This builder for chaining.
-
getIowait
public float getIowait()float iowait = 6;
- Specified by:
getIowait
in interfaceMonitorDProto.CPUUsage.SingleCPUUsageOrBuilder
- Returns:
- The iowait.
-
setIowait
float iowait = 6;
- Parameters:
value
- The iowait to set.- Returns:
- This builder for chaining.
-
clearIowait
float iowait = 6;
- Returns:
- This builder for chaining.
-
getIrq
public float getIrq()float irq = 7;
- Specified by:
getIrq
in interfaceMonitorDProto.CPUUsage.SingleCPUUsageOrBuilder
- Returns:
- The irq.
-
setIrq
float irq = 7;
- Parameters:
value
- The irq to set.- Returns:
- This builder for chaining.
-
clearIrq
float irq = 7;
- Returns:
- This builder for chaining.
-
getSoftirq
public float getSoftirq()float softirq = 8;
- Specified by:
getSoftirq
in interfaceMonitorDProto.CPUUsage.SingleCPUUsageOrBuilder
- Returns:
- The softirq.
-
setSoftirq
float softirq = 8;
- Parameters:
value
- The softirq to set.- Returns:
- This builder for chaining.
-
clearSoftirq
float softirq = 8;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final MonitorDProto.CPUUsage.SingleCPUUsage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-
mergeUnknownFields
public final MonitorDProto.CPUUsage.SingleCPUUsage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.CPUUsage.SingleCPUUsage.Builder>
-