Package org.yamcs.protobuf
Interface ProcessInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProcessInfo
,ProcessInfo.Builder
public interface ProcessInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetArguments
(int index) Arguments of the process.com.google.protobuf.ByteString
getArgumentsBytes
(int index) Arguments of the process.int
Arguments of the process.Arguments of the process.getChildren
(int index) Direct children of the process.int
Direct children of the process.Direct children of the process.getChildrenOrBuilder
(int index) Direct children of the process.List<? extends ProcessInfoOrBuilder>
Direct children of the process.Executable pathname of the process.com.google.protobuf.ByteString
Executable pathname of the process.long
getPid()
Native process ID.com.google.protobuf.Timestamp
Start time of the process.com.google.protobuf.TimestampOrBuilder
Start time of the process.com.google.protobuf.Duration
Accumulated total cputime.com.google.protobuf.DurationOrBuilder
Accumulated total cputime.getUser()
User of the process.com.google.protobuf.ByteString
User of the process.boolean
Executable pathname of the process.boolean
hasPid()
Native process ID.boolean
Start time of the process.boolean
Accumulated total cputime.boolean
hasUser()
User of the process.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
-
hasPid
boolean hasPid()Native process ID.
optional int64 pid = 1;
- Returns:
- Whether the pid field is set.
-
getPid
long getPid()Native process ID.
optional int64 pid = 1;
- Returns:
- The pid.
-
hasUser
boolean hasUser()User of the process.
optional string user = 2;
- Returns:
- Whether the user field is set.
-
getUser
String getUser()User of the process.
optional string user = 2;
- Returns:
- The user.
-
getUserBytes
com.google.protobuf.ByteString getUserBytes()User of the process.
optional string user = 2;
- Returns:
- The bytes for user.
-
hasCommand
boolean hasCommand()Executable pathname of the process.
optional string command = 3;
- Returns:
- Whether the command field is set.
-
getCommand
String getCommand()Executable pathname of the process.
optional string command = 3;
- Returns:
- The command.
-
getCommandBytes
com.google.protobuf.ByteString getCommandBytes()Executable pathname of the process.
optional string command = 3;
- Returns:
- The bytes for command.
-
getArgumentsList
Arguments of the process.
repeated string arguments = 4;
- Returns:
- A list containing the arguments.
-
getArgumentsCount
int getArgumentsCount()Arguments of the process.
repeated string arguments = 4;
- Returns:
- The count of arguments.
-
getArguments
Arguments of the process.
repeated string arguments = 4;
- Parameters:
index
- The index of the element to return.- Returns:
- The arguments at the given index.
-
getArgumentsBytes
com.google.protobuf.ByteString getArgumentsBytes(int index) Arguments of the process.
repeated string arguments = 4;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the arguments at the given index.
-
hasStartTime
boolean hasStartTime()Start time of the process.
optional .google.protobuf.Timestamp startTime = 5;
- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()Start time of the process.
optional .google.protobuf.Timestamp startTime = 5;
- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Start time of the process.
optional .google.protobuf.Timestamp startTime = 5;
-
hasTotalCpuDuration
boolean hasTotalCpuDuration()Accumulated total cputime.
optional .google.protobuf.Duration totalCpuDuration = 6;
- Returns:
- Whether the totalCpuDuration field is set.
-
getTotalCpuDuration
com.google.protobuf.Duration getTotalCpuDuration()Accumulated total cputime.
optional .google.protobuf.Duration totalCpuDuration = 6;
- Returns:
- The totalCpuDuration.
-
getTotalCpuDurationOrBuilder
com.google.protobuf.DurationOrBuilder getTotalCpuDurationOrBuilder()Accumulated total cputime.
optional .google.protobuf.Duration totalCpuDuration = 6;
-
getChildrenList
List<ProcessInfo> getChildrenList()Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7;
-
getChildren
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7;
-
getChildrenCount
int getChildrenCount()Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7;
-
getChildrenOrBuilderList
List<? extends ProcessInfoOrBuilder> getChildrenOrBuilderList()Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7;
-
getChildrenOrBuilder
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7;
-