public final class Process extends com.google.protobuf.GeneratedMessageV3 implements ProcessOrBuilder
Represents an operating system process.Protobuf type
google.cloud.securitycenter.v1.Process| Modifier and Type | Class and Description |
|---|---|
static class |
Process.Builder
Represents an operating system process.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ARGS_FIELD_NUMBER |
static int |
ARGUMENTS_TRUNCATED_FIELD_NUMBER |
static int |
BINARY_FIELD_NUMBER |
static int |
ENV_VARIABLES_FIELD_NUMBER |
static int |
ENV_VARIABLES_TRUNCATED_FIELD_NUMBER |
static int |
LIBRARIES_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PARENT_PID_FIELD_NUMBER |
static int |
PID_FIELD_NUMBER |
static int |
SCRIPT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArgs(int index)
Process arguments as JSON encoded strings.
|
com.google.protobuf.ByteString |
getArgsBytes(int index)
Process arguments as JSON encoded strings.
|
int |
getArgsCount()
Process arguments as JSON encoded strings.
|
com.google.protobuf.ProtocolStringList |
getArgsList()
Process arguments as JSON encoded strings.
|
boolean |
getArgumentsTruncated()
True if `args` is incomplete.
|
File |
getBinary()
File information for the process executable.
|
FileOrBuilder |
getBinaryOrBuilder()
File information for the process executable.
|
static Process |
getDefaultInstance() |
Process |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EnvironmentVariable |
getEnvVariables(int index)
Process environment variables.
|
int |
getEnvVariablesCount()
Process environment variables.
|
List<EnvironmentVariable> |
getEnvVariablesList()
Process environment variables.
|
EnvironmentVariableOrBuilder |
getEnvVariablesOrBuilder(int index)
Process environment variables.
|
List<? extends EnvironmentVariableOrBuilder> |
getEnvVariablesOrBuilderList()
Process environment variables.
|
boolean |
getEnvVariablesTruncated()
True if `env_variables` is incomplete.
|
File |
getLibraries(int index)
File information for libraries loaded by the process.
|
int |
getLibrariesCount()
File information for libraries loaded by the process.
|
List<File> |
getLibrariesList()
File information for libraries loaded by the process.
|
FileOrBuilder |
getLibrariesOrBuilder(int index)
File information for libraries loaded by the process.
|
List<? extends FileOrBuilder> |
getLibrariesOrBuilderList()
File information for libraries loaded by the process.
|
String |
getName()
The process name, as displayed in utilities like `top` and `ps`.
|
com.google.protobuf.ByteString |
getNameBytes()
The process name, as displayed in utilities like `top` and `ps`.
|
long |
getParentPid()
The parent process ID.
|
com.google.protobuf.Parser<Process> |
getParserForType() |
long |
getPid()
The process ID.
|
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.
|
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.
|
int |
getSerializedSize() |
boolean |
hasBinary()
File information for the process executable.
|
int |
hashCode() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Process.Builder |
newBuilder() |
static Process.Builder |
newBuilder(Process prototype) |
Process.Builder |
newBuilderForType() |
protected Process.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Process |
parseDelimitedFrom(InputStream input) |
static Process |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Process |
parseFrom(byte[] data) |
static Process |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Process |
parseFrom(ByteBuffer data) |
static Process |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Process |
parseFrom(com.google.protobuf.ByteString data) |
static Process |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Process |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Process |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Process |
parseFrom(InputStream input) |
static Process |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Process> |
parser() |
Process.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int BINARY_FIELD_NUMBER
public static final int LIBRARIES_FIELD_NUMBER
public static final int SCRIPT_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER
public static final int ARGUMENTS_TRUNCATED_FIELD_NUMBER
public static final int ENV_VARIABLES_FIELD_NUMBER
public static final int ENV_VARIABLES_TRUNCATED_FIELD_NUMBER
public static final int PID_FIELD_NUMBER
public static final int PARENT_PID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;getName in interface ProcessOrBuilderpublic 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;getNameBytes in interface ProcessOrBuilderpublic boolean hasBinary()
File information for the process executable.
.google.cloud.securitycenter.v1.File binary = 3;hasBinary in interface ProcessOrBuilderpublic File getBinary()
File information for the process executable.
.google.cloud.securitycenter.v1.File binary = 3;getBinary in interface ProcessOrBuilderpublic FileOrBuilder getBinaryOrBuilder()
File information for the process executable.
.google.cloud.securitycenter.v1.File binary = 3;getBinaryOrBuilder in interface ProcessOrBuilderpublic List<File> getLibrariesList()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;getLibrariesList in interface ProcessOrBuilderpublic List<? extends FileOrBuilder> getLibrariesOrBuilderList()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;getLibrariesOrBuilderList in interface ProcessOrBuilderpublic int getLibrariesCount()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;getLibrariesCount in interface ProcessOrBuilderpublic File getLibraries(int index)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;getLibraries in interface ProcessOrBuilderpublic FileOrBuilder getLibrariesOrBuilder(int index)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;getLibrariesOrBuilder in interface ProcessOrBuilderpublic 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;hasScript in interface ProcessOrBuilderpublic 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;getScript in interface ProcessOrBuilderpublic 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;getScriptOrBuilder in interface ProcessOrBuilderpublic com.google.protobuf.ProtocolStringList getArgsList()
Process arguments as JSON encoded strings.
repeated string args = 6;getArgsList in interface ProcessOrBuilderpublic int getArgsCount()
Process arguments as JSON encoded strings.
repeated string args = 6;getArgsCount in interface ProcessOrBuilderpublic String getArgs(int index)
Process arguments as JSON encoded strings.
repeated string args = 6;getArgs in interface ProcessOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getArgsBytes(int index)
Process arguments as JSON encoded strings.
repeated string args = 6;getArgsBytes in interface ProcessOrBuilderindex - The index of the value to return.public boolean getArgumentsTruncated()
True if `args` is incomplete.
bool arguments_truncated = 7;getArgumentsTruncated in interface ProcessOrBuilderpublic List<EnvironmentVariable> getEnvVariablesList()
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;getEnvVariablesList in interface ProcessOrBuilderpublic List<? extends EnvironmentVariableOrBuilder> getEnvVariablesOrBuilderList()
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;getEnvVariablesOrBuilderList in interface ProcessOrBuilderpublic int getEnvVariablesCount()
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;getEnvVariablesCount in interface ProcessOrBuilderpublic EnvironmentVariable getEnvVariables(int index)
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;getEnvVariables in interface ProcessOrBuilderpublic EnvironmentVariableOrBuilder getEnvVariablesOrBuilder(int index)
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;getEnvVariablesOrBuilder in interface ProcessOrBuilderpublic boolean getEnvVariablesTruncated()
True if `env_variables` is incomplete.
bool env_variables_truncated = 9;getEnvVariablesTruncated in interface ProcessOrBuilderpublic long getPid()
The process ID.
int64 pid = 10;getPid in interface ProcessOrBuilderpublic long getParentPid()
The parent process ID.
int64 parent_pid = 11;getParentPid in interface ProcessOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Process parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Process parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Process parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Process parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Process parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Process parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Process parseFrom(InputStream input) throws IOException
IOExceptionpublic static Process parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Process parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Process parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Process parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Process parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Process.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Process.Builder newBuilder()
public static Process.Builder newBuilder(Process prototype)
public Process.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Process.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Process getDefaultInstance()
public static com.google.protobuf.Parser<Process> parser()
public com.google.protobuf.Parser<Process> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Process getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.