Interface ProcessOrBuilder (2.54.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 = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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 = 6;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the args at the given index.

getArgsCount()

public abstract int getArgsCount()

Process arguments as JSON encoded strings.

repeated string args = 6;

Returns
Type Description
int

The count of args.

getArgsList()

public abstract List<String> getArgsList()

Process arguments as JSON encoded strings.

repeated string args = 6;

Returns
Type Description
List<String>

A list containing the args.

getArgumentsTruncated()

public abstract boolean getArgumentsTruncated()

True if args is incomplete.

bool arguments_truncated = 7;

Returns
Type Description
boolean

The argumentsTruncated.

getBinary()

public abstract File getBinary()

File information for the process executable.

.google.cloud.securitycenter.v1.File binary = 3;

Returns
Type Description
File

The binary.

getBinaryOrBuilder()

public abstract FileOrBuilder getBinaryOrBuilder()

File information for the process executable.

.google.cloud.securitycenter.v1.File binary = 3;

Returns
Type Description
FileOrBuilder

getEnvVariables(int index)

public abstract EnvironmentVariable getEnvVariables(int index)

Process environment variables.

repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;

Parameter
Name Description
index int
Returns
Type Description
EnvironmentVariable

getEnvVariablesCount()

public abstract int getEnvVariablesCount()

Process environment variables.

repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;

Returns
Type Description
int

getEnvVariablesList()

public abstract List<EnvironmentVariable> getEnvVariablesList()

Process environment variables.

repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;

Returns
Type Description
List<EnvironmentVariable>

getEnvVariablesOrBuilder(int index)

public abstract EnvironmentVariableOrBuilder getEnvVariablesOrBuilder(int index)

Process environment variables.

repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;

Parameter
Name Description
index int
Returns
Type Description
EnvironmentVariableOrBuilder

getEnvVariablesOrBuilderList()

public abstract List<? extends EnvironmentVariableOrBuilder> getEnvVariablesOrBuilderList()

Process environment variables.

repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.EnvironmentVariableOrBuilder>

getEnvVariablesTruncated()

public abstract boolean getEnvVariablesTruncated()

True if env_variables is incomplete.

bool env_variables_truncated = 9;

Returns
Type Description
boolean

The envVariablesTruncated.

getLibraries(int index)

public abstract File getLibraries(int index)

File information for libraries loaded by the process.

repeated .google.cloud.securitycenter.v1.File libraries = 4;

Parameter
Name Description
index int
Returns
Type Description
File

getLibrariesCount()

public abstract int getLibrariesCount()

File information for libraries loaded by the process.

repeated .google.cloud.securitycenter.v1.File libraries = 4;

Returns
Type Description
int

getLibrariesList()

public abstract List<File> getLibrariesList()

File information for libraries loaded by the process.

repeated .google.cloud.securitycenter.v1.File libraries = 4;

Returns
Type Description
List<File>

getLibrariesOrBuilder(int index)

public abstract FileOrBuilder getLibrariesOrBuilder(int index)

File information for libraries loaded by the process.

repeated .google.cloud.securitycenter.v1.File libraries = 4;

Parameter
Name Description
index int
Returns
Type Description
FileOrBuilder

getLibrariesOrBuilderList()

public abstract List<? extends FileOrBuilder> getLibrariesOrBuilderList()

File information for libraries loaded by the process.

repeated .google.cloud.securitycenter.v1.File libraries = 4;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.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 = 12;

Returns
Type Description
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 = 12;

Returns
Type Description
ByteString

The bytes for name.

getParentPid()

public abstract long getParentPid()

The parent process ID.

int64 parent_pid = 11;

Returns
Type Description
long

The parentPid.

getPid()

public abstract long getPid()

The process ID.

int64 pid = 10;

Returns
Type Description
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.v1.File script = 5;

Returns
Type Description
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.v1.File script = 5;

Returns
Type Description
FileOrBuilder

hasBinary()

public abstract boolean hasBinary()

File information for the process executable.

.google.cloud.securitycenter.v1.File binary = 3;

Returns
Type Description
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.v1.File script = 5;

Returns
Type Description
boolean

Whether the script field is set.