Class MonitorDProto.ProcessInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
de.serosystems.proto.v3.grx.monitord.MonitorDProto.ProcessInfo
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,MonitorDProto.ProcessInfoOrBuilder
,Serializable
- Enclosing class:
- MonitorDProto
public static final class MonitorDProto.ProcessInfo
extends com.google.protobuf.GeneratedMessageV3
implements MonitorDProto.ProcessInfoOrBuilder
Process info.Protobuf type
serosystems.proto.v3.grx.monitord.ProcessInfo
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Process info.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
static final int
static final int
static final int
static final int
static 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
getArgument
(int index) Command Arguments.com.google.protobuf.ByteString
getArgumentBytes
(int index) Command Arguments.int
Command Arguments.com.google.protobuf.ProtocolStringList
Command Arguments.Command name.com.google.protobuf.ByteString
Command name.static MonitorDProto.ProcessInfo
static final com.google.protobuf.Descriptors.Descriptor
long
Number of resident set (non-swapped) pages.long
Number of pages of shared memory.long
Total number of pages of virtual memory.int
getNice()
Standard unix nice level of process.com.google.protobuf.Parser<MonitorDProto.ProcessInfo>
long
getPid()
Process ID.long
getPpid()
Parent process ID.int
Kernel scheduling priority.int
long
Start time of the process [s since epoch UTC].int
getState()
The state, as defined by the GLIBTOP_PROCESS_* macros.float
getStime()
Kernel-mode CPU time [s].getUser()
User name.com.google.protobuf.ByteString
User name.float
getUtime()
User-mode CPU time [s].int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(MonitorDProto.ProcessInfo prototype) protected MonitorDProto.ProcessInfo.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MonitorDProto.ProcessInfo
parseDelimitedFrom
(InputStream input) static MonitorDProto.ProcessInfo
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MonitorDProto.ProcessInfo
parseFrom
(byte[] data) static MonitorDProto.ProcessInfo
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MonitorDProto.ProcessInfo
parseFrom
(com.google.protobuf.ByteString data) static MonitorDProto.ProcessInfo
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MonitorDProto.ProcessInfo
parseFrom
(com.google.protobuf.CodedInputStream input) static MonitorDProto.ProcessInfo
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MonitorDProto.ProcessInfo
parseFrom
(InputStream input) static MonitorDProto.ProcessInfo
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MonitorDProto.ProcessInfo
parseFrom
(ByteBuffer data) static MonitorDProto.ProcessInfo
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MonitorDProto.ProcessInfo>
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, internalGetMapField, 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
-
PID_FIELD_NUMBER
public static final int PID_FIELD_NUMBER- See Also:
-
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
NICE_FIELD_NUMBER
public static final int NICE_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
COMMAND_FIELD_NUMBER
public static final int COMMAND_FIELD_NUMBER- See Also:
-
ARGUMENT_FIELD_NUMBER
public static final int ARGUMENT_FIELD_NUMBER- See Also:
-
PPID_FIELD_NUMBER
public static final int PPID_FIELD_NUMBER- See Also:
-
MEM_VIRT_FIELD_NUMBER
public static final int MEM_VIRT_FIELD_NUMBER- See Also:
-
MEM_RES_FIELD_NUMBER
public static final int MEM_RES_FIELD_NUMBER- See Also:
-
MEM_SHARED_FIELD_NUMBER
public static final int MEM_SHARED_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
UTIME_FIELD_NUMBER
public static final int UTIME_FIELD_NUMBER- See Also:
-
STIME_FIELD_NUMBER
public static final int STIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getPid
public long getPid()Process ID.
uint64 pid = 1;
- Specified by:
getPid
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The pid.
-
getUser
User name.
string user = 2;
- Specified by:
getUser
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()User name.
string user = 2;
- Specified by:
getUserBytes
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The bytes for user.
-
getPriority
public int getPriority()Kernel scheduling priority.
int32 priority = 3;
- Specified by:
getPriority
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The priority.
-
getNice
public int getNice()Standard unix nice level of process.
int32 nice = 4;
- Specified by:
getNice
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The nice.
-
getState
public int getState()The state, as defined by the GLIBTOP_PROCESS_* macros.
int32 state = 5;
- Specified by:
getState
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The state.
-
getCommand
Command name.
string command = 6;
- Specified by:
getCommand
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The command.
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes()Command name.
string command = 6;
- Specified by:
getCommandBytes
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The bytes for command.
-
getArgumentList
public com.google.protobuf.ProtocolStringList getArgumentList()Command Arguments.
repeated string argument = 7;
- Specified by:
getArgumentList
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- A list containing the argument.
-
getArgumentCount
public int getArgumentCount()Command Arguments.
repeated string argument = 7;
- Specified by:
getArgumentCount
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The count of argument.
-
getArgument
Command Arguments.
repeated string argument = 7;
- Specified by:
getArgument
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The argument at the given index.
-
getArgumentBytes
public com.google.protobuf.ByteString getArgumentBytes(int index) Command Arguments.
repeated string argument = 7;
- Specified by:
getArgumentBytes
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the argument at the given index.
-
getPpid
public long getPpid()Parent process ID.
uint64 ppid = 8;
- Specified by:
getPpid
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The ppid.
-
getMemVirt
public long getMemVirt()Total number of pages of virtual memory.
uint64 mem_virt = 9;
- Specified by:
getMemVirt
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The memVirt.
-
getMemRes
public long getMemRes()Number of resident set (non-swapped) pages.
uint64 mem_res = 10;
- Specified by:
getMemRes
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The memRes.
-
getStartTime
public long getStartTime()Start time of the process [s since epoch UTC].
uint64 start_time = 12;
- Specified by:
getStartTime
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The startTime.
-
getUtime
public float getUtime()User-mode CPU time [s].
float utime = 13;
- Specified by:
getUtime
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The utime.
-
getStime
public float getStime()Kernel-mode CPU time [s].
float stime = 14;
- Specified by:
getStime
in interfaceMonitorDProto.ProcessInfoOrBuilder
- Returns:
- The stime.
-
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.ProcessInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MonitorDProto.ProcessInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MonitorDProto.ProcessInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MonitorDProto.ProcessInfo 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.ProcessInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MonitorDProto.ProcessInfo 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.ProcessInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MonitorDProto.ProcessInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MonitorDProto.ProcessInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static MonitorDProto.ProcessInfo 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
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MonitorDProto.ProcessInfo.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
-