Interface RunningProcessOrBuilder (0.28.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
Name Description
key String
Returns
Type Description
boolean

getAttributes() (deprecated)

public abstract Map<String,String> getAttributes()

Use #getAttributesMap() instead.

Returns
Type Description
Map<String,String>

getAttributesCount()

public abstract int getAttributesCount()

Process extended attributes.

map<string, string> attributes = 100;

Returns
Type Description
int

getAttributesMap()

public abstract Map<String,String> getAttributesMap()

Process extended attributes.

map<string, string> attributes = 100;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getAttributesOrThrow(String key)

public abstract String getAttributesOrThrow(String key)

Process extended attributes.

map<string, string> attributes = 100;

Parameter
Name Description
key String
Returns
Type Description
String

getCmdline()

public abstract String getCmdline()

Process full command line.

string cmdline = 3;

Returns
Type Description
String

The cmdline.

getCmdlineBytes()

public abstract ByteString getCmdlineBytes()

Process full command line.

string cmdline = 3;

Returns
Type Description
ByteString

The bytes for cmdline.

getExePath()

public abstract String getExePath()

Process binary path.

string exe_path = 2;

Returns
Type Description
String

The exePath.

getExePathBytes()

public abstract ByteString getExePathBytes()

Process binary path.

string exe_path = 2;

Returns
Type Description
ByteString

The bytes for exePath.

getPid()

public abstract long getPid()

Process ID.

int64 pid = 1;

Returns
Type Description
long

The pid.

getUser()

public abstract String getUser()

User running the process.

string user = 4;

Returns
Type Description
String

The user.

getUserBytes()

public abstract ByteString getUserBytes()

User running the process.

string user = 4;

Returns
Type Description
ByteString

The bytes for user.