Interface ProcessOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Process, Process.Builder

    public interface ProcessOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        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:
        The name.
      • getNameBytes

        com.google.protobuf.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:
        The bytes for name.
      • hasBinary

        boolean hasBinary()
         File information for the process executable.
         
        .google.cloud.securitycenter.v1.File binary = 3;
        Returns:
        Whether the binary field is set.
      • getBinary

        File getBinary()
         File information for the process executable.
         
        .google.cloud.securitycenter.v1.File binary = 3;
        Returns:
        The binary.
      • getBinaryOrBuilder

        FileOrBuilder getBinaryOrBuilder()
         File information for the process executable.
         
        .google.cloud.securitycenter.v1.File binary = 3;
      • getLibrariesList

        List<File> getLibrariesList()
         File information for libraries loaded by the process.
         
        repeated .google.cloud.securitycenter.v1.File libraries = 4;
      • getLibraries

        File getLibraries​(int index)
         File information for libraries loaded by the process.
         
        repeated .google.cloud.securitycenter.v1.File libraries = 4;
      • getLibrariesCount

        int getLibrariesCount()
         File information for libraries loaded by the process.
         
        repeated .google.cloud.securitycenter.v1.File libraries = 4;
      • getLibrariesOrBuilderList

        List<? extends FileOrBuilder> getLibrariesOrBuilderList()
         File information for libraries loaded by the process.
         
        repeated .google.cloud.securitycenter.v1.File libraries = 4;
      • getLibrariesOrBuilder

        FileOrBuilder getLibrariesOrBuilder​(int index)
         File information for libraries loaded by the process.
         
        repeated .google.cloud.securitycenter.v1.File libraries = 4;
      • hasScript

        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:
        Whether the script field is set.
      • getScript

        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:
        The script.
      • getScriptOrBuilder

        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;
      • getArgsList

        List<String> getArgsList()
         Process arguments as JSON encoded strings.
         
        repeated string args = 6;
        Returns:
        A list containing the args.
      • getArgsCount

        int getArgsCount()
         Process arguments as JSON encoded strings.
         
        repeated string args = 6;
        Returns:
        The count of args.
      • getArgs

        String getArgs​(int index)
         Process arguments as JSON encoded strings.
         
        repeated string args = 6;
        Parameters:
        index - The index of the element to return.
        Returns:
        The args at the given index.
      • getArgsBytes

        com.google.protobuf.ByteString getArgsBytes​(int index)
         Process arguments as JSON encoded strings.
         
        repeated string args = 6;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the args at the given index.
      • getArgumentsTruncated

        boolean getArgumentsTruncated()
         True if `args` is incomplete.
         
        bool arguments_truncated = 7;
        Returns:
        The argumentsTruncated.
      • getEnvVariablesList

        List<EnvironmentVariable> getEnvVariablesList()
         Process environment variables.
         
        repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
      • getEnvVariables

        EnvironmentVariable getEnvVariables​(int index)
         Process environment variables.
         
        repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
      • getEnvVariablesCount

        int getEnvVariablesCount()
         Process environment variables.
         
        repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
      • getEnvVariablesOrBuilderList

        List<? extends EnvironmentVariableOrBuilder> getEnvVariablesOrBuilderList()
         Process environment variables.
         
        repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
      • getEnvVariablesOrBuilder

        EnvironmentVariableOrBuilder getEnvVariablesOrBuilder​(int index)
         Process environment variables.
         
        repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
      • getEnvVariablesTruncated

        boolean getEnvVariablesTruncated()
         True if `env_variables` is incomplete.
         
        bool env_variables_truncated = 9;
        Returns:
        The envVariablesTruncated.
      • getPid

        long getPid()
         The process ID.
         
        int64 pid = 10;
        Returns:
        The pid.
      • getParentPid

        long getParentPid()
         The parent process ID.
         
        int64 parent_pid = 11;
        Returns:
        The parentPid.