Class MonitorDProto.SystemInformation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
de.serosystems.proto.v3.grx.monitord.MonitorDProto.SystemInformation
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,MonitorDProto.SystemInformationOrBuilder
,Serializable
- Enclosing class:
- MonitorDProto
public static final class MonitorDProto.SystemInformation
extends com.google.protobuf.GeneratedMessageV3
implements MonitorDProto.SystemInformationOrBuilder
Overall system information.Protobuf type
serosystems.proto.v3.grx.monitord.SystemInformation
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Overall system information.static enum
Reset reasons.Nested 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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
System version fields.boolean
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Parser<MonitorDProto.SystemInformation>
getResetReasons
(int index) The reset reasons.int
The reset reasons.The reset reasons.int
getResetReasonsValue
(int index) The reset reasons.The reset reasons.int
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.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) final boolean
newBuilder
(MonitorDProto.SystemInformation prototype) protected MonitorDProto.SystemInformation.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MonitorDProto.SystemInformation>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SYSTEM_TIME_FIELD_NUMBER
public static final int SYSTEM_TIME_FIELD_NUMBER- See Also:
-
UPTIME_FIELD_NUMBER
public static final int UPTIME_FIELD_NUMBER- See Also:
-
RESET_REASONS_FIELD_NUMBER
public static final int RESET_REASONS_FIELD_NUMBER- See Also:
-
SERIAL_NUMBER_FIELD_NUMBER
public static final int SERIAL_NUMBER_FIELD_NUMBER- See Also:
-
VERSION_INFORMATION_FIELD_NUMBER
public static final int VERSION_INFORMATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getSystemTime
public long getSystemTime()Current system time [s since epoch UTC].
uint64 system_time = 1;
- Specified by:
getSystemTime
in interfaceMonitorDProto.SystemInformationOrBuilder
- Returns:
- The systemTime.
-
getUptime
public int getUptime()Uptime of the system [s].
uint32 uptime = 2;
- Specified by:
getUptime
in interfaceMonitorDProto.SystemInformationOrBuilder
- Returns:
- The uptime.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MonitorDProto.SystemInformation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MonitorDProto.SystemInformation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MonitorDProto.SystemInformation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MonitorDProto.SystemInformation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MonitorDProto.SystemInformation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MonitorDProto.SystemInformation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MonitorDProto.SystemInformation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static MonitorDProto.SystemInformation parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static MonitorDProto.SystemInformation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MonitorDProto.SystemInformation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static MonitorDProto.SystemInformation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static MonitorDProto.SystemInformation.Builder newBuilder(MonitorDProto.SystemInformation prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MonitorDProto.SystemInformation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-