public final class Process extends 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.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
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 |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getArgs(int index)
Process arguments as JSON encoded strings.
|
ByteString |
getArgsBytes(int index)
Process arguments as JSON encoded strings.
|
int |
getArgsCount()
Process arguments as JSON encoded strings.
|
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 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 visible in utilities like `top` and `ps`; it can
be accessed via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
|
ByteString |
getNameBytes()
The process name visible in utilities like `top` and `ps`; it can
be accessed via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
|
long |
getParentPid()
The parent process id.
|
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() |
UnknownFieldSet |
getUnknownFields() |
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Process.Builder |
newBuilder() |
static Process.Builder |
newBuilder(Process prototype) |
Process.Builder |
newBuilderForType() |
protected Process.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static Process |
parseDelimitedFrom(InputStream input) |
static Process |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Process |
parseFrom(byte[] data) |
static Process |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Process |
parseFrom(ByteBuffer data) |
static Process |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Process |
parseFrom(ByteString data) |
static Process |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Process |
parseFrom(CodedInputStream input) |
static Process |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Process |
parseFrom(InputStream input) |
static Process |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Process> |
parser() |
Process.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getName()
The process name visible in utilities like `top` and `ps`; it can be accessed via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
string name = 12;
getName
in interface ProcessOrBuilder
public ByteString getNameBytes()
The process name visible in utilities like `top` and `ps`; it can be accessed via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
string name = 12;
getNameBytes
in interface ProcessOrBuilder
public boolean hasBinary()
File information for the process executable.
.google.cloud.securitycenter.v1.File binary = 3;
hasBinary
in interface ProcessOrBuilder
public File getBinary()
File information for the process executable.
.google.cloud.securitycenter.v1.File binary = 3;
getBinary
in interface ProcessOrBuilder
public FileOrBuilder getBinaryOrBuilder()
File information for the process executable.
.google.cloud.securitycenter.v1.File binary = 3;
getBinaryOrBuilder
in interface ProcessOrBuilder
public List<File> getLibrariesList()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;
getLibrariesList
in interface ProcessOrBuilder
public List<? extends FileOrBuilder> getLibrariesOrBuilderList()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;
getLibrariesOrBuilderList
in interface ProcessOrBuilder
public int getLibrariesCount()
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;
getLibrariesCount
in interface ProcessOrBuilder
public File getLibraries(int index)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;
getLibraries
in interface ProcessOrBuilder
public FileOrBuilder getLibrariesOrBuilder(int index)
File information for libraries loaded by the process.
repeated .google.cloud.securitycenter.v1.File libraries = 4;
getLibrariesOrBuilder
in interface ProcessOrBuilder
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;
hasScript
in interface ProcessOrBuilder
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.v1.File script = 5;
getScript
in interface ProcessOrBuilder
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;
getScriptOrBuilder
in interface ProcessOrBuilder
public ProtocolStringList getArgsList()
Process arguments as JSON encoded strings.
repeated string args = 6;
getArgsList
in interface ProcessOrBuilder
public int getArgsCount()
Process arguments as JSON encoded strings.
repeated string args = 6;
getArgsCount
in interface ProcessOrBuilder
public String getArgs(int index)
Process arguments as JSON encoded strings.
repeated string args = 6;
getArgs
in interface ProcessOrBuilder
index
- The index of the element to return.public ByteString getArgsBytes(int index)
Process arguments as JSON encoded strings.
repeated string args = 6;
getArgsBytes
in interface ProcessOrBuilder
index
- The index of the value to return.public boolean getArgumentsTruncated()
True if `args` is incomplete.
bool arguments_truncated = 7;
getArgumentsTruncated
in interface ProcessOrBuilder
public List<EnvironmentVariable> getEnvVariablesList()
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
getEnvVariablesList
in interface ProcessOrBuilder
public List<? extends EnvironmentVariableOrBuilder> getEnvVariablesOrBuilderList()
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
getEnvVariablesOrBuilderList
in interface ProcessOrBuilder
public int getEnvVariablesCount()
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
getEnvVariablesCount
in interface ProcessOrBuilder
public EnvironmentVariable getEnvVariables(int index)
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
getEnvVariables
in interface ProcessOrBuilder
public EnvironmentVariableOrBuilder getEnvVariablesOrBuilder(int index)
Process environment variables.
repeated .google.cloud.securitycenter.v1.EnvironmentVariable env_variables = 8;
getEnvVariablesOrBuilder
in interface ProcessOrBuilder
public boolean getEnvVariablesTruncated()
True if `env_variables` is incomplete.
bool env_variables_truncated = 9;
getEnvVariablesTruncated
in interface ProcessOrBuilder
public long getPid()
The process id.
int64 pid = 10;
getPid
in interface ProcessOrBuilder
public long getParentPid()
The parent process id.
int64 parent_pid = 11;
getParentPid
in interface ProcessOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Process parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Process parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Process parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Process parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Process parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Process parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Process parseFrom(InputStream input) throws IOException
IOException
public static Process parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Process parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Process parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Process parseFrom(CodedInputStream input) throws IOException
IOException
public static Process parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Process.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Process.Builder newBuilder()
public static Process.Builder newBuilder(Process prototype)
public Process.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Process.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Process getDefaultInstance()
public Parser<Process> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Process getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.