Interface RunningProcessOrBuilder (0.4.0)

public interface RunningProcessOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAttributes(String key)

public abstract boolean containsAttributes(String key)

Process extended attributes.

map<string, string> attributes = 100;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAttributes()

public abstract Map<String,String> getAttributes()

Use #getAttributesMap() instead.

Returns
TypeDescription
Map<String,String>

getAttributesCount()

public abstract int getAttributesCount()

Process extended attributes.

map<string, string> attributes = 100;

Returns
TypeDescription
int

getAttributesMap()

public abstract Map<String,String> getAttributesMap()

Process extended attributes.

map<string, string> attributes = 100;

Returns
TypeDescription
Map<String,String>

getAttributesOrDefault(String key, String defaultValue)

public abstract String getAttributesOrDefault(String key, String defaultValue)

Process extended attributes.

map<string, string> attributes = 100;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAttributesOrThrow(String key)

public abstract String getAttributesOrThrow(String key)

Process extended attributes.

map<string, string> attributes = 100;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getCmdline()

public abstract String getCmdline()

Process full command line.

string cmdline = 3;

Returns
TypeDescription
String

The cmdline.

getCmdlineBytes()

public abstract ByteString getCmdlineBytes()

Process full command line.

string cmdline = 3;

Returns
TypeDescription
ByteString

The bytes for cmdline.

getExePath()

public abstract String getExePath()

Process binary path.

string exe_path = 2;

Returns
TypeDescription
String

The exePath.

getExePathBytes()

public abstract ByteString getExePathBytes()

Process binary path.

string exe_path = 2;

Returns
TypeDescription
ByteString

The bytes for exePath.

getPid()

public abstract long getPid()

Process ID.

int64 pid = 1;

Returns
TypeDescription
long

The pid.

getUser()

public abstract String getUser()

User running the process.

string user = 4;

Returns
TypeDescription
String

The user.

getUserBytes()

public abstract ByteString getUserBytes()

User running the process.

string user = 4;

Returns
TypeDescription
ByteString

The bytes for user.