- 2.63.0 (latest)
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class Process.Builder extends GeneratedMessageV3.Builder<Process.Builder> implements ProcessOrBuilder
Represents an operating system process.
Protobuf type google.cloud.securitycenter.v2.Process
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Process.BuilderImplements
ProcessOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllArgs(Iterable<String> values)
public Process.Builder addAllArgs(Iterable<String> values)
Process arguments as JSON encoded strings.
repeated string args = 5;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The args to add. |
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
addAllEnvVariables(Iterable<? extends EnvironmentVariable> values)
public Process.Builder addAllEnvVariables(Iterable<? extends EnvironmentVariable> values)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.EnvironmentVariable> |
Returns | |
---|---|
Type | Description |
Process.Builder |
addAllLibraries(Iterable<? extends File> values)
public Process.Builder addAllLibraries(Iterable<? extends File> values)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.File> |
Returns | |
---|---|
Type | Description |
Process.Builder |
addArgs(String value)
public Process.Builder addArgs(String value)
Process arguments as JSON encoded strings.
repeated string args = 5;
Parameter | |
---|---|
Name | Description |
value |
String The args to add. |
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
addArgsBytes(ByteString value)
public Process.Builder addArgsBytes(ByteString value)
Process arguments as JSON encoded strings.
repeated string args = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the args to add. |
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
addEnvVariables(EnvironmentVariable value)
public Process.Builder addEnvVariables(EnvironmentVariable value)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameter | |
---|---|
Name | Description |
value |
EnvironmentVariable |
Returns | |
---|---|
Type | Description |
Process.Builder |
addEnvVariables(EnvironmentVariable.Builder builderForValue)
public Process.Builder addEnvVariables(EnvironmentVariable.Builder builderForValue)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
EnvironmentVariable.Builder |
Returns | |
---|---|
Type | Description |
Process.Builder |
addEnvVariables(int index, EnvironmentVariable value)
public Process.Builder addEnvVariables(int index, EnvironmentVariable value)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
EnvironmentVariable |
Returns | |
---|---|
Type | Description |
Process.Builder |
addEnvVariables(int index, EnvironmentVariable.Builder builderForValue)
public Process.Builder addEnvVariables(int index, EnvironmentVariable.Builder builderForValue)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
EnvironmentVariable.Builder |
Returns | |
---|---|
Type | Description |
Process.Builder |
addEnvVariablesBuilder()
public EnvironmentVariable.Builder addEnvVariablesBuilder()
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Returns | |
---|---|
Type | Description |
EnvironmentVariable.Builder |
addEnvVariablesBuilder(int index)
public EnvironmentVariable.Builder addEnvVariablesBuilder(int index)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
EnvironmentVariable.Builder |
addLibraries(File value)
public Process.Builder addLibraries(File value)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameter | |
---|---|
Name | Description |
value |
File |
Returns | |
---|---|
Type | Description |
Process.Builder |
addLibraries(File.Builder builderForValue)
public Process.Builder addLibraries(File.Builder builderForValue)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
File.Builder |
Returns | |
---|---|
Type | Description |
Process.Builder |
addLibraries(int index, File value)
public Process.Builder addLibraries(int index, File value)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
File |
Returns | |
---|---|
Type | Description |
Process.Builder |
addLibraries(int index, File.Builder builderForValue)
public Process.Builder addLibraries(int index, File.Builder builderForValue)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
File.Builder |
Returns | |
---|---|
Type | Description |
Process.Builder |
addLibrariesBuilder()
public File.Builder addLibrariesBuilder()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Returns | |
---|---|
Type | Description |
File.Builder |
addLibrariesBuilder(int index)
public File.Builder addLibrariesBuilder(int index)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
File.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Process.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Process.Builder |
build()
public Process build()
Returns | |
---|---|
Type | Description |
Process |
buildPartial()
public Process buildPartial()
Returns | |
---|---|
Type | Description |
Process |
clear()
public Process.Builder clear()
Returns | |
---|---|
Type | Description |
Process.Builder |
clearArgs()
public Process.Builder clearArgs()
Process arguments as JSON encoded strings.
repeated string args = 5;
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
clearArgumentsTruncated()
public Process.Builder clearArgumentsTruncated()
True if args
is incomplete.
bool arguments_truncated = 6;
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
clearBinary()
public Process.Builder clearBinary()
File information for the process executable.
.google.cloud.securitycenter.v2.File binary = 2;
Returns | |
---|---|
Type | Description |
Process.Builder |
clearEnvVariables()
public Process.Builder clearEnvVariables()
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Returns | |
---|---|
Type | Description |
Process.Builder |
clearEnvVariablesTruncated()
public Process.Builder clearEnvVariablesTruncated()
True if env_variables
is incomplete.
bool env_variables_truncated = 8;
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Process.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Process.Builder |
clearLibraries()
public Process.Builder clearLibraries()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Returns | |
---|---|
Type | Description |
Process.Builder |
clearName()
public Process.Builder clearName()
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 | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Process.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Process.Builder |
clearParentPid()
public Process.Builder clearParentPid()
The parent process ID.
int64 parent_pid = 10;
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
clearPid()
public Process.Builder clearPid()
The process ID.
int64 pid = 9;
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
clearScript()
public Process.Builder clearScript()
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 | |
---|---|
Type | Description |
Process.Builder |
clone()
public Process.Builder clone()
Returns | |
---|---|
Type | Description |
Process.Builder |
getArgs(int index)
public String getArgs(int index)
Process arguments as JSON encoded strings.
repeated string args = 5;
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 ByteString getArgsBytes(int index)
Process arguments as JSON encoded strings.
repeated string args = 5;
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 int getArgsCount()
Process arguments as JSON encoded strings.
repeated string args = 5;
Returns | |
---|---|
Type | Description |
int |
The count of args. |
getArgsList()
public ProtocolStringList getArgsList()
Process arguments as JSON encoded strings.
repeated string args = 5;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the args. |
getArgumentsTruncated()
public boolean getArgumentsTruncated()
True if args
is incomplete.
bool arguments_truncated = 6;
Returns | |
---|---|
Type | Description |
boolean |
The argumentsTruncated. |
getBinary()
public File getBinary()
File information for the process executable.
.google.cloud.securitycenter.v2.File binary = 2;
Returns | |
---|---|
Type | Description |
File |
The binary. |
getBinaryBuilder()
public File.Builder getBinaryBuilder()
File information for the process executable.
.google.cloud.securitycenter.v2.File binary = 2;
Returns | |
---|---|
Type | Description |
File.Builder |
getBinaryOrBuilder()
public FileOrBuilder getBinaryOrBuilder()
File information for the process executable.
.google.cloud.securitycenter.v2.File binary = 2;
Returns | |
---|---|
Type | Description |
FileOrBuilder |
getDefaultInstanceForType()
public Process getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Process |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnvVariables(int index)
public EnvironmentVariable getEnvVariables(int index)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
EnvironmentVariable |
getEnvVariablesBuilder(int index)
public EnvironmentVariable.Builder getEnvVariablesBuilder(int index)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
EnvironmentVariable.Builder |
getEnvVariablesBuilderList()
public List<EnvironmentVariable.Builder> getEnvVariablesBuilderList()
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Returns | |
---|---|
Type | Description |
List<Builder> |
getEnvVariablesCount()
public int getEnvVariablesCount()
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Returns | |
---|---|
Type | Description |
int |
getEnvVariablesList()
public List<EnvironmentVariable> getEnvVariablesList()
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Returns | |
---|---|
Type | Description |
List<EnvironmentVariable> |
getEnvVariablesOrBuilder(int index)
public EnvironmentVariableOrBuilder getEnvVariablesOrBuilder(int index)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
EnvironmentVariableOrBuilder |
getEnvVariablesOrBuilderList()
public List<? extends EnvironmentVariableOrBuilder> getEnvVariablesOrBuilderList()
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v2.EnvironmentVariableOrBuilder> |
getEnvVariablesTruncated()
public boolean getEnvVariablesTruncated()
True if env_variables
is incomplete.
bool env_variables_truncated = 8;
Returns | |
---|---|
Type | Description |
boolean |
The envVariablesTruncated. |
getLibraries(int index)
public File getLibraries(int index)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
File |
getLibrariesBuilder(int index)
public File.Builder getLibrariesBuilder(int index)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
File.Builder |
getLibrariesBuilderList()
public List<File.Builder> getLibrariesBuilderList()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getLibrariesCount()
public int getLibrariesCount()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Returns | |
---|---|
Type | Description |
int |
getLibrariesList()
public List<File> getLibrariesList()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Returns | |
---|---|
Type | Description |
List<File> |
getLibrariesOrBuilder(int index)
public FileOrBuilder getLibrariesOrBuilder(int index)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FileOrBuilder |
getLibrariesOrBuilderList()
public List<? extends FileOrBuilder> getLibrariesOrBuilderList()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v2.FileOrBuilder> |
getName()
public 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 | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getParentPid()
public long getParentPid()
The parent process ID.
int64 parent_pid = 10;
Returns | |
---|---|
Type | Description |
long |
The parentPid. |
getPid()
public long getPid()
The process ID.
int64 pid = 9;
Returns | |
---|---|
Type | Description |
long |
The pid. |
getScript()
public 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 | |
---|---|
Type | Description |
File |
The script. |
getScriptBuilder()
public File.Builder getScriptBuilder()
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 | |
---|---|
Type | Description |
File.Builder |
getScriptOrBuilder()
public 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 | |
---|---|
Type | Description |
FileOrBuilder |
hasBinary()
public boolean hasBinary()
File information for the process executable.
.google.cloud.securitycenter.v2.File binary = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the binary field is set. |
hasScript()
public 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 | |
---|---|
Type | Description |
boolean |
Whether the script field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBinary(File value)
public Process.Builder mergeBinary(File value)
File information for the process executable.
.google.cloud.securitycenter.v2.File binary = 2;
Parameter | |
---|---|
Name | Description |
value |
File |
Returns | |
---|---|
Type | Description |
Process.Builder |
mergeFrom(Process other)
public Process.Builder mergeFrom(Process other)
Parameter | |
---|---|
Name | Description |
other |
Process |
Returns | |
---|---|
Type | Description |
Process.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Process.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Process.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Process.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Process.Builder |
mergeScript(File value)
public Process.Builder mergeScript(File value)
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;
Parameter | |
---|---|
Name | Description |
value |
File |
Returns | |
---|---|
Type | Description |
Process.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Process.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Process.Builder |
removeEnvVariables(int index)
public Process.Builder removeEnvVariables(int index)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Process.Builder |
removeLibraries(int index)
public Process.Builder removeLibraries(int index)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Process.Builder |
setArgs(int index, String value)
public Process.Builder setArgs(int index, String value)
Process arguments as JSON encoded strings.
repeated string args = 5;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The args to set. |
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
setArgumentsTruncated(boolean value)
public Process.Builder setArgumentsTruncated(boolean value)
True if args
is incomplete.
bool arguments_truncated = 6;
Parameter | |
---|---|
Name | Description |
value |
boolean The argumentsTruncated to set. |
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
setBinary(File value)
public Process.Builder setBinary(File value)
File information for the process executable.
.google.cloud.securitycenter.v2.File binary = 2;
Parameter | |
---|---|
Name | Description |
value |
File |
Returns | |
---|---|
Type | Description |
Process.Builder |
setBinary(File.Builder builderForValue)
public Process.Builder setBinary(File.Builder builderForValue)
File information for the process executable.
.google.cloud.securitycenter.v2.File binary = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
File.Builder |
Returns | |
---|---|
Type | Description |
Process.Builder |
setEnvVariables(int index, EnvironmentVariable value)
public Process.Builder setEnvVariables(int index, EnvironmentVariable value)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
EnvironmentVariable |
Returns | |
---|---|
Type | Description |
Process.Builder |
setEnvVariables(int index, EnvironmentVariable.Builder builderForValue)
public Process.Builder setEnvVariables(int index, EnvironmentVariable.Builder builderForValue)
Process environment variables.
repeated .google.cloud.securitycenter.v2.EnvironmentVariable env_variables = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
EnvironmentVariable.Builder |
Returns | |
---|---|
Type | Description |
Process.Builder |
setEnvVariablesTruncated(boolean value)
public Process.Builder setEnvVariablesTruncated(boolean value)
True if env_variables
is incomplete.
bool env_variables_truncated = 8;
Parameter | |
---|---|
Name | Description |
value |
boolean The envVariablesTruncated to set. |
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Process.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Process.Builder |
setLibraries(int index, File value)
public Process.Builder setLibraries(int index, File value)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
File |
Returns | |
---|---|
Type | Description |
Process.Builder |
setLibraries(int index, File.Builder builderForValue)
public Process.Builder setLibraries(int index, File.Builder builderForValue)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v2.File libraries = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
File.Builder |
Returns | |
---|---|
Type | Description |
Process.Builder |
setName(String value)
public Process.Builder setName(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Process.Builder setNameBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
setParentPid(long value)
public Process.Builder setParentPid(long value)
The parent process ID.
int64 parent_pid = 10;
Parameter | |
---|---|
Name | Description |
value |
long The parentPid to set. |
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
setPid(long value)
public Process.Builder setPid(long value)
The process ID.
int64 pid = 9;
Parameter | |
---|---|
Name | Description |
value |
long The pid to set. |
Returns | |
---|---|
Type | Description |
Process.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Process.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Process.Builder |
setScript(File value)
public Process.Builder setScript(File value)
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;
Parameter | |
---|---|
Name | Description |
value |
File |
Returns | |
---|---|
Type | Description |
Process.Builder |
setScript(File.Builder builderForValue)
public Process.Builder setScript(File.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
File.Builder |
Returns | |
---|---|
Type | Description |
Process.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Process.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Process.Builder |