public final class Process extends GeneratedMessageV3 implements ProcessOrBuilder
Represents an operating system process.
Protobuf type google.cloud.securitycenter.v1.Process
Static Fields
ARGS_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER
Field Value
ARGUMENTS_TRUNCATED_FIELD_NUMBER
public static final int ARGUMENTS_TRUNCATED_FIELD_NUMBER
Field Value
BINARY_FIELD_NUMBER
public static final int BINARY_FIELD_NUMBER
Field Value
ENV_VARIABLES_FIELD_NUMBER
public static final int ENV_VARIABLES_FIELD_NUMBER
Field Value
ENV_VARIABLES_TRUNCATED_FIELD_NUMBER
public static final int ENV_VARIABLES_TRUNCATED_FIELD_NUMBER
Field Value
LIBRARIES_FIELD_NUMBER
public static final int LIBRARIES_FIELD_NUMBER
Field Value
PARENT_PID_FIELD_NUMBER
public static final int PARENT_PID_FIELD_NUMBER
Field Value
PID_FIELD_NUMBER
public static final int PID_FIELD_NUMBER
Field Value
SCRIPT_FIELD_NUMBER
public static final int SCRIPT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Process getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Process.Builder newBuilder()
Returns
newBuilder(Process prototype)
public static Process.Builder newBuilder(Process prototype)
Parameter
Returns
public static Process parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Process parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Process parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Process parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Process parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Process parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Process parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Process parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Process parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Process parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Process parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Process parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Process> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getArgs(int index)
public 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 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 int getArgsCount()
Process arguments as JSON encoded strings.
repeated string args = 6;
Returns
Type | Description |
int | The count of args.
|
getArgsList()
public ProtocolStringList getArgsList()
Process arguments as JSON encoded strings.
repeated string args = 6;
Returns
getArgumentsTruncated()
public boolean getArgumentsTruncated()
True if args
is incomplete.
bool arguments_truncated = 7;
Returns
Type | Description |
boolean | The argumentsTruncated.
|
getBinary()
File information for the process executable.
.google.cloud.securitycenter.v1.File binary = 3;
Returns
Type | Description |
File | The binary.
|
getBinaryOrBuilder()
public FileOrBuilder getBinaryOrBuilder()
File information for the process executable.
.google.cloud.securitycenter.v1.File binary = 3;
Returns
getDefaultInstanceForType()
public Process getDefaultInstanceForType()
Returns
getEnvVariables(int index)
public EnvironmentVariable getEnvVariables(int index)
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
Parameter
Returns
getEnvVariablesCount()
public int getEnvVariablesCount()
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
Returns
getEnvVariablesList()
public List<EnvironmentVariable> getEnvVariablesList()
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
Returns
getEnvVariablesOrBuilder(int index)
public EnvironmentVariableOrBuilder getEnvVariablesOrBuilder(int index)
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
Parameter
Returns
getEnvVariablesOrBuilderList()
public 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 boolean getEnvVariablesTruncated()
True if env_variables
is incomplete.
bool env_variables_truncated = 9;
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.v1.File libraries = 4;
Parameter
Returns
getLibrariesCount()
public int getLibrariesCount()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;
Returns
getLibrariesList()
public List<File> getLibrariesList()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;
Returns
getLibrariesOrBuilder(int index)
public FileOrBuilder getLibrariesOrBuilder(int index)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;
Parameter
Returns
getLibrariesOrBuilderList()
public 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> | |
getParentPid()
public long getParentPid()
The parent process id.
int64 parent_pid = 11;
Returns
Type | Description |
long | The parentPid.
|
getParserForType()
public Parser<Process> getParserForType()
Returns
Overrides
getPid()
The process id.
int64 pid = 10;
Returns
Type | Description |
long | The pid.
|
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 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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasBinary()
public 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 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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Process.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Process.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Process.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions