Interface MonitorDProto.SystemInformationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MonitorDProto.SystemInformation
,MonitorDProto.SystemInformation.Builder
- Enclosing class:
- MonitorDProto
public static interface MonitorDProto.SystemInformationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
System version fields.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSystemTime
long getSystemTime()Current system time [s since epoch UTC].
uint64 system_time = 1;
- Returns:
- The systemTime.
-
getUptime
int getUptime()Uptime of the system [s].
uint32 uptime = 2;
- Returns:
- The uptime.
-
getResetReasonsList
List<MonitorDProto.SystemInformation.ResetReason> 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;
- Returns:
- A list containing the resetReasons.
-
getResetReasonsCount
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;
- 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;
- Parameters:
index
- The index of the element to return.- Returns:
- The resetReasons at the given index.
-
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;
- Returns:
- A list containing the enum numeric values on the wire for resetReasons.
-
getResetReasonsValue
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of resetReasons at the given index.
-
getSerialNumber
String getSerialNumber()The serial number of the device.
string serial_number = 4;
- Returns:
- The serialNumber.
-
getSerialNumberBytes
com.google.protobuf.ByteString getSerialNumberBytes()The serial number of the device.
string serial_number = 4;
- Returns:
- The bytes for serialNumber.
-
getVersionInformationCount
int getVersionInformationCount()System version fields.
map<string, string> version_information = 5;
-
containsVersionInformation
System version fields.
map<string, string> version_information = 5;
-
getVersionInformation
Deprecated.UsegetVersionInformationMap()
instead. -
getVersionInformationMap
System version fields.
map<string, string> version_information = 5;
-
getVersionInformationOrDefault
System version fields.
map<string, string> version_information = 5;
-
getVersionInformationOrThrow
System version fields.
map<string, string> version_information = 5;
-