Interface ProcessOrBuilder (2.49.0)

public interface ProcessOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArgs(int index)

public abstract String getArgs(int index)

Process arguments as JSON encoded strings.

repeated string args = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The args at the given index.

getArgsBytes(int index)

public abstract ByteString getArgsBytes(int index)

Process arguments as JSON encoded strings.

repeated string args = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the args at the given index.

getArgsCount()

public abstract int getArgsCount()

Process arguments as JSON encoded strings.

repeated string args = 5;

Returns
TypeDescription
int

The count of args.

getArgsList()

public abstract List<String> getArgsList()

Process arguments as JSON encoded strings.

repeated string args = 5;

Returns
TypeDescription
List<String>

A list containing the args.

getArgumentsTruncated()

public abstract boolean getArgumentsTruncated()

True if args is incomplete.

bool arguments_truncated = 6;

Returns
TypeDescription
boolean

The argumentsTruncated.

getBinary()

public abstract File getBinary()

File information for the process executable.

.google.cloud.securitycenter.v2.File binary = 2;

Returns
TypeDescription
File

The binary.

getBinaryOrBuilder()

public abstract FileOrBuilder getBinaryOrBuilder()

File information for the process executable.

.google.cloud.securitycenter.v2.File binary = 2;

Returns
TypeDescription
FileOrBuilder

getEnvVariables(int index)

public abstract EnvironmentVariable getEnvVariables(int index)

Process environment variables.

repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvironmentVariable

getEnvVariablesCount()

public abstract int getEnvVariablesCount()

Process environment variables.

repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;

Returns
TypeDescription
int

getEnvVariablesList()

public abstract List<EnvironmentVariable> getEnvVariablesList()

Process environment variables.

repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;

Returns
TypeDescription
List<EnvironmentVariable>

getEnvVariablesOrBuilder(int index)

public abstract EnvironmentVariableOrBuilder getEnvVariablesOrBuilder(int index)

Process environment variables.

repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvironmentVariableOrBuilder

getEnvVariablesOrBuilderList()

public abstract List<? extends EnvironmentVariableOrBuilder> getEnvVariablesOrBuilderList()

Process environment variables.

repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.EnvironmentVariableOrBuilder>

getEnvVariablesTruncated()

public abstract boolean getEnvVariablesTruncated()

True if env_variables is incomplete.

bool env_variables_truncated = 8;

Returns
TypeDescription
boolean

The envVariablesTruncated.

getLibraries(int index)

public abstract File getLibraries(int index)

File information for libraries loaded by the process.

repeated .google.cloud.securitycenter.v2.File libraries = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
File

getLibrariesCount()

public abstract int getLibrariesCount()

File information for libraries loaded by the process.

repeated .google.cloud.securitycenter.v2.File libraries = 3;

Returns
TypeDescription
int

getLibrariesList()

public abstract List<File> getLibrariesList()

File information for libraries loaded by the process.

repeated .google.cloud.securitycenter.v2.File libraries = 3;

Returns
TypeDescription
List<File>

getLibrariesOrBuilder(int index)

public abstract FileOrBuilder getLibrariesOrBuilder(int index)

File information for libraries loaded by the process.

repeated .google.cloud.securitycenter.v2.File libraries = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
FileOrBuilder

getLibrariesOrBuilderList()

public abstract List<? extends FileOrBuilder> getLibrariesOrBuilderList()

File information for libraries loaded by the process.

repeated .google.cloud.securitycenter.v2.File libraries = 3;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.FileOrBuilder>

getName()

public abstract String getName()

The process name, as displayed in utilities like top and ps. This name can be accessed through /proc/[pid]/comm and changed with prctl(PR_SET_NAME).

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The process name, as displayed in utilities like top and ps. This name can be accessed through /proc/[pid]/comm and changed with prctl(PR_SET_NAME).

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParentPid()

public abstract long getParentPid()

The parent process ID.

int64 parent_pid = 10;

Returns
TypeDescription
long

The parentPid.

getPid()

public abstract long getPid()

The process ID.

int64 pid = 9;

Returns
TypeDescription
long

The pid.

getScript()

public abstract File getScript()

When the process represents the invocation of a script, binary provides information about the interpreter, while script provides information about the script file provided to the interpreter.

.google.cloud.securitycenter.v2.File script = 4;

Returns
TypeDescription
File

The script.

getScriptOrBuilder()

public abstract FileOrBuilder getScriptOrBuilder()

When the process represents the invocation of a script, binary provides information about the interpreter, while script provides information about the script file provided to the interpreter.

.google.cloud.securitycenter.v2.File script = 4;

Returns
TypeDescription
FileOrBuilder

hasBinary()

public abstract boolean hasBinary()

File information for the process executable.

.google.cloud.securitycenter.v2.File binary = 2;

Returns
TypeDescription
boolean

Whether the binary field is set.

hasScript()

public abstract boolean hasScript()

When the process represents the invocation of a script, binary provides information about the interpreter, while script provides information about the script file provided to the interpreter.

.google.cloud.securitycenter.v2.File script = 4;

Returns
TypeDescription
boolean

Whether the script field is set.