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:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
    • getPid

      public long getPid()
       Process ID. 
       
      uint64 pid = 1;
      Specified by:
      getPid in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The pid.
    • getUser

      public String getUser()
       User name. 
       
      string user = 2;
      Specified by:
      getUser in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The user.
    • getUserBytes

      public com.google.protobuf.ByteString getUserBytes()
       User name. 
       
      string user = 2;
      Specified by:
      getUserBytes in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The bytes for user.
    • getPriority

      public int getPriority()
       Kernel scheduling priority. 
       
      int32 priority = 3;
      Specified by:
      getPriority in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The priority.
    • getNice

      public int getNice()
       Standard unix nice level of process. 
       
      int32 nice = 4;
      Specified by:
      getNice in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The nice.
    • getState

      public int getState()
       The state, as defined by the GLIBTOP_PROCESS_* macros. 
       
      int32 state = 5;
      Specified by:
      getState in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The state.
    • getCommand

      public String getCommand()
       Command name. 
       
      string command = 6;
      Specified by:
      getCommand in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The command.
    • getCommandBytes

      public com.google.protobuf.ByteString getCommandBytes()
       Command name. 
       
      string command = 6;
      Specified by:
      getCommandBytes in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The bytes for command.
    • getArgumentList

      public com.google.protobuf.ProtocolStringList getArgumentList()
       Command Arguments. 
       
      repeated string argument = 7;
      Specified by:
      getArgumentList in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      A list containing the argument.
    • getArgumentCount

      public int getArgumentCount()
       Command Arguments. 
       
      repeated string argument = 7;
      Specified by:
      getArgumentCount in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The count of argument.
    • getArgument

      public String getArgument(int index)
       Command Arguments. 
       
      repeated string argument = 7;
      Specified by:
      getArgument in interface MonitorDProto.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 interface MonitorDProto.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 interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The ppid.
    • getMemVirt

      public long getMemVirt()
       Total number of pages of virtual memory. 
       
      uint64 mem_virt = 9;
      Specified by:
      getMemVirt in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The memVirt.
    • getMemRes

      public long getMemRes()
       Number of resident set (non-swapped) pages. 
       
      uint64 mem_res = 10;
      Specified by:
      getMemRes in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The memRes.
    • getMemShared

      public long getMemShared()
       Number of pages of shared memory. 
       
      uint64 mem_shared = 11;
      Specified by:
      getMemShared in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The memShared.
    • getStartTime

      public long getStartTime()
       Start time of the process [s since epoch UTC]. 
       
      uint64 start_time = 12;
      Specified by:
      getStartTime in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The startTime.
    • getUtime

      public float getUtime()
       User-mode CPU time [s]. 
       
      float utime = 13;
      Specified by:
      getUtime in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The utime.
    • getStime

      public float getStime()
       Kernel-mode CPU time [s]. 
       
      float stime = 14;
      Specified by:
      getStime in interface MonitorDProto.ProcessInfoOrBuilder
      Returns:
      The stime.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static MonitorDProto.ProcessInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MonitorDProto.ProcessInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MonitorDProto.ProcessInfo parseDelimitedFrom(InputStream input) throws IOException
      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

      public MonitorDProto.ProcessInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MonitorDProto.ProcessInfo.Builder newBuilder()
    • newBuilder

      public static MonitorDProto.ProcessInfo.Builder newBuilder(MonitorDProto.ProcessInfo prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected MonitorDProto.ProcessInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static MonitorDProto.ProcessInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MonitorDProto.ProcessInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<MonitorDProto.ProcessInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public MonitorDProto.ProcessInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder