Class MonitorDProto.SystemInformation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.SystemInformation.Builder>
de.serosystems.proto.v3.grx.monitord.MonitorDProto.SystemInformation.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,MonitorDProto.SystemInformationOrBuilder
,Cloneable
- Enclosing class:
- MonitorDProto.SystemInformation
public static final class MonitorDProto.SystemInformation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.SystemInformation.Builder>
implements MonitorDProto.SystemInformationOrBuilder
Overall system information.Protobuf type
serosystems.proto.v3.grx.monitord.SystemInformation
-
Method Summary
Modifier and TypeMethodDescriptionaddAllResetReasons
(Iterable<? extends MonitorDProto.SystemInformation.ResetReason> values) The reset reasons.addAllResetReasonsValue
(Iterable<Integer> values) The reset reasons.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) The reset reasons.addResetReasonsValue
(int value) The reset reasons.build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The reset reasons.The serial number of the device.Current system time [s since epoch UTC].Uptime of the system [s].clone()
boolean
System version fields.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.getResetReasons
(int index) The reset reasons.int
The reset reasons.The reset reasons.int
getResetReasonsValue
(int index) The reset reasons.The reset reasons.The serial number of the device.com.google.protobuf.ByteString
The serial number of the device.long
Current system time [s since epoch UTC].int
Uptime of the system [s].Deprecated.int
System version fields.System version fields.getVersionInformationOrDefault
(String key, String defaultValue) System version fields.System version fields.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) 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) putAllVersionInformation
(Map<String, String> values) System version fields.putVersionInformation
(String key, String value) System version fields.System version fields.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResetReasons
(int index, MonitorDProto.SystemInformation.ResetReason value) The reset reasons.setResetReasonsValue
(int index, int value) The reset reasons.setSerialNumber
(String value) The serial number of the device.setSerialNumberBytes
(com.google.protobuf.ByteString value) The serial number of the device.setSystemTime
(long value) Current system time [s since epoch UTC].setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setUptime
(int value) Uptime of the system [s].Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.SystemInformation.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.SystemInformation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.SystemInformation.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.SystemInformation.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.SystemInformation.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.SystemInformation.Builder>
-
setField
public MonitorDProto.SystemInformation.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.SystemInformation.Builder>
-
clearField
public MonitorDProto.SystemInformation.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.SystemInformation.Builder>
-
clearOneof
public MonitorDProto.SystemInformation.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.SystemInformation.Builder>
-
setRepeatedField
public MonitorDProto.SystemInformation.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.SystemInformation.Builder>
-
addRepeatedField
public MonitorDProto.SystemInformation.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.SystemInformation.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MonitorDProto.SystemInformation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.SystemInformation.Builder>
-
mergeFrom
public MonitorDProto.SystemInformation.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.SystemInformation.Builder>
- Throws:
IOException
-
getSystemTime
public long getSystemTime()Current system time [s since epoch UTC].
uint64 system_time = 1;
- Specified by:
getSystemTime
in interfaceMonitorDProto.SystemInformationOrBuilder
- Returns:
- The systemTime.
-
setSystemTime
Current system time [s since epoch UTC].
uint64 system_time = 1;
- Parameters:
value
- The systemTime to set.- Returns:
- This builder for chaining.
-
clearSystemTime
Current system time [s since epoch UTC].
uint64 system_time = 1;
- Returns:
- This builder for chaining.
-
getUptime
public int getUptime()Uptime of the system [s].
uint32 uptime = 2;
- Specified by:
getUptime
in interfaceMonitorDProto.SystemInformationOrBuilder
- Returns:
- The uptime.
-
setUptime
Uptime of the system [s].
uint32 uptime = 2;
- Parameters:
value
- The uptime to set.- Returns:
- This builder for chaining.
-
clearUptime
Uptime of the system [s].
uint32 uptime = 2;
- Returns:
- This builder for chaining.
-
getResetReasonsList
The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Specified by:
getResetReasonsList
in interfaceMonitorDProto.SystemInformationOrBuilder
- Returns:
- A list containing the resetReasons.
-
getResetReasonsCount
public int getResetReasonsCount()The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Specified by:
getResetReasonsCount
in interfaceMonitorDProto.SystemInformationOrBuilder
- Returns:
- The count of resetReasons.
-
getResetReasons
The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Specified by:
getResetReasons
in interfaceMonitorDProto.SystemInformationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The resetReasons at the given index.
-
setResetReasons
public MonitorDProto.SystemInformation.Builder setResetReasons(int index, MonitorDProto.SystemInformation.ResetReason value) The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Parameters:
index
- The index to set the value at.value
- The resetReasons to set.- Returns:
- This builder for chaining.
-
addResetReasons
public MonitorDProto.SystemInformation.Builder addResetReasons(MonitorDProto.SystemInformation.ResetReason value) The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Parameters:
value
- The resetReasons to add.- Returns:
- This builder for chaining.
-
addAllResetReasons
public MonitorDProto.SystemInformation.Builder addAllResetReasons(Iterable<? extends MonitorDProto.SystemInformation.ResetReason> values) The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Parameters:
values
- The resetReasons to add.- Returns:
- This builder for chaining.
-
clearResetReasons
The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Returns:
- This builder for chaining.
-
getResetReasonsValueList
The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Specified by:
getResetReasonsValueList
in interfaceMonitorDProto.SystemInformationOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for resetReasons.
-
getResetReasonsValue
public int getResetReasonsValue(int index) The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Specified by:
getResetReasonsValue
in interfaceMonitorDProto.SystemInformationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of resetReasons at the given index.
-
setResetReasonsValue
The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for resetReasons to set.- Returns:
- This builder for chaining.
-
addResetReasonsValue
The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Parameters:
value
- The enum numeric value on the wire for resetReasons to add.- Returns:
- This builder for chaining.
-
addAllResetReasonsValue
The reset reasons. There can be multiple, as they need to be manually cleared.
repeated .serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason reset_reasons = 3;
- Parameters:
values
- The enum numeric values on the wire for resetReasons to add.- Returns:
- This builder for chaining.
-
getSerialNumber
The serial number of the device.
string serial_number = 4;
- Specified by:
getSerialNumber
in interfaceMonitorDProto.SystemInformationOrBuilder
- Returns:
- The serialNumber.
-
getSerialNumberBytes
public com.google.protobuf.ByteString getSerialNumberBytes()The serial number of the device.
string serial_number = 4;
- Specified by:
getSerialNumberBytes
in interfaceMonitorDProto.SystemInformationOrBuilder
- Returns:
- The bytes for serialNumber.
-
setSerialNumber
The serial number of the device.
string serial_number = 4;
- Parameters:
value
- The serialNumber to set.- Returns:
- This builder for chaining.
-
clearSerialNumber
The serial number of the device.
string serial_number = 4;
- Returns:
- This builder for chaining.
-
setSerialNumberBytes
public MonitorDProto.SystemInformation.Builder setSerialNumberBytes(com.google.protobuf.ByteString value) The serial number of the device.
string serial_number = 4;
- Parameters:
value
- The bytes for serialNumber to set.- Returns:
- This builder for chaining.
-
getVersionInformationCount
public int getVersionInformationCount()Description copied from interface:MonitorDProto.SystemInformationOrBuilder
System version fields.
map<string, string> version_information = 5;
- Specified by:
getVersionInformationCount
in interfaceMonitorDProto.SystemInformationOrBuilder
-
containsVersionInformation
System version fields.
map<string, string> version_information = 5;
- Specified by:
containsVersionInformation
in interfaceMonitorDProto.SystemInformationOrBuilder
-
getVersionInformation
Deprecated.UsegetVersionInformationMap()
instead.- Specified by:
getVersionInformation
in interfaceMonitorDProto.SystemInformationOrBuilder
-
getVersionInformationMap
System version fields.
map<string, string> version_information = 5;
- Specified by:
getVersionInformationMap
in interfaceMonitorDProto.SystemInformationOrBuilder
-
getVersionInformationOrDefault
System version fields.
map<string, string> version_information = 5;
- Specified by:
getVersionInformationOrDefault
in interfaceMonitorDProto.SystemInformationOrBuilder
-
getVersionInformationOrThrow
System version fields.
map<string, string> version_information = 5;
- Specified by:
getVersionInformationOrThrow
in interfaceMonitorDProto.SystemInformationOrBuilder
-
clearVersionInformation
-
removeVersionInformation
System version fields.
map<string, string> version_information = 5;
-
getMutableVersionInformation
Deprecated.Use alternate mutation accessors instead. -
putVersionInformation
System version fields.
map<string, string> version_information = 5;
-
putAllVersionInformation
System version fields.
map<string, string> version_information = 5;
-
setUnknownFields
public final MonitorDProto.SystemInformation.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.SystemInformation.Builder>
-
mergeUnknownFields
public final MonitorDProto.SystemInformation.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.SystemInformation.Builder>
-