Class Process.Builder (0.3.0)

public static final class Process.Builder extends GeneratedMessage.Builder<Process.Builder> implements ProcessOrBuilder

Information about a process.

Protobuf type google.backstory.Process

Implements

ProcessOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllCommandLineHistory(Iterable<String> values)

public Process.Builder addAllCommandLineHistory(Iterable<String> values)

The command line history of the process.

repeated string command_line_history = 9;

Parameter
Name Description
values Iterable<String>

The commandLineHistory to add.

Returns
Type Description
Process.Builder

This builder for chaining.

addCommandLineHistory(String value)

public Process.Builder addCommandLineHistory(String value)

The command line history of the process.

repeated string command_line_history = 9;

Parameter
Name Description
value String

The commandLineHistory to add.

Returns
Type Description
Process.Builder

This builder for chaining.

addCommandLineHistoryBytes(ByteString value)

public Process.Builder addCommandLineHistoryBytes(ByteString value)

The command line history of the process.

repeated string command_line_history = 9;

Parameter
Name Description
value ByteString

The bytes of the commandLineHistory to add.

Returns
Type Description
Process.Builder

This builder for chaining.

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
Overrides

clearAccessMask()

public Process.Builder clearAccessMask()

A bit mask representing the level of access.

uint64 access_mask = 8;

Returns
Type Description
Process.Builder

This builder for chaining.

clearCommandLine()

public Process.Builder clearCommandLine()

The command line command that created the process. This field can be used as an entity indicator for process entities.

string command_line = 4;

Returns
Type Description
Process.Builder

This builder for chaining.

clearCommandLineHistory()

public Process.Builder clearCommandLineHistory()

The command line history of the process.

repeated string command_line_history = 9;

Returns
Type Description
Process.Builder

This builder for chaining.

clearEgid()

public Process.Builder clearEgid()

The effective group ID of the process.

string egid = 14;

Returns
Type Description
Process.Builder

This builder for chaining.

clearEuid()

public Process.Builder clearEuid()

The effective user ID of the process.

string euid = 12;

Returns
Type Description
Process.Builder

This builder for chaining.

clearFile()

public Process.Builder clearFile()

Information about the file in use by the process.

.google.backstory.File file = 3;

Returns
Type Description
Process.Builder

clearIntegrityLevelRid()

public Process.Builder clearIntegrityLevelRid()

The Microsoft Windows integrity level relative ID (RID) of the process.

uint64 integrity_level_rid = 11;

Returns
Type Description
Process.Builder

This builder for chaining.

clearIpv6()

public Process.Builder clearIpv6()

This is used to determine if the process is an IPv6 process.

bool ipv6 = 19;

Returns
Type Description
Process.Builder

This builder for chaining.

clearKernelDuration()

public Process.Builder clearKernelDuration()

The kernel time spent in the process.

.google.protobuf.Duration kernel_duration = 20;

Returns
Type Description
Process.Builder

clearParentPid() (deprecated)

public Process.Builder clearParentPid()

Deprecated. google.backstory.Process.parent_pid is deprecated. See backstory/udm.proto;l=1877

The ID of the parent process. Deprecated: use parent_process.pid instead.

string parent_pid = 2 [deprecated = true];

Returns
Type Description
Process.Builder

This builder for chaining.

clearParentProcess()

public Process.Builder clearParentProcess()

Information about the parent process.

.google.backstory.Process parent_process = 7;

Returns
Type Description
Process.Builder

clearPgid()

public Process.Builder clearPgid()

The identifier that points to the process group ID leader.

string pgid = 16;

Returns
Type Description
Process.Builder

This builder for chaining.

clearPid()

public Process.Builder clearPid()

The process ID. This field can be used as an entity indicator for process entities.

string pid = 1;

Returns
Type Description
Process.Builder

This builder for chaining.

clearProductSpecificParentProcessId() (deprecated)

public Process.Builder clearProductSpecificParentProcessId()

Deprecated. google.backstory.Process.product_specific_parent_process_id is deprecated. See backstory/udm.proto;l=1928

A product specific id for the parent process. Please use parent_process.product_specific_process_id instead.

string product_specific_parent_process_id = 6 [deprecated = true];

Returns
Type Description
Process.Builder

This builder for chaining.

clearProductSpecificProcessId()

public Process.Builder clearProductSpecificProcessId()

A product specific process id.

string product_specific_process_id = 5;

Returns
Type Description
Process.Builder

This builder for chaining.

clearRealDuration()

public Process.Builder clearRealDuration()

The real time spent in the process. This is the sum of the kernel and user time.

.google.protobuf.Duration real_duration = 22;

Returns
Type Description
Process.Builder

clearRgid()

public Process.Builder clearRgid()

The real group ID of the process.

string rgid = 15;

Returns
Type Description
Process.Builder

This builder for chaining.

clearRuid()

public Process.Builder clearRuid()

The real user ID of the process.

string ruid = 13;

Returns
Type Description
Process.Builder

This builder for chaining.

clearSessionLeaderPid()

public Process.Builder clearSessionLeaderPid()

The process ID of the session leader process.

string session_leader_pid = 17;

Returns
Type Description
Process.Builder

This builder for chaining.

clearState()

public Process.Builder clearState()

The state of the process.

.google.backstory.Process.State state = 23;

Returns
Type Description
Process.Builder

This builder for chaining.

clearTokenElevationType()

public Process.Builder clearTokenElevationType()

The elevation type of the process on Microsoft Windows. This determines if any privileges are removed when UAC is enabled.

.google.backstory.Process.TokenElevationType token_elevation_type = 10;

Returns
Type Description
Process.Builder

This builder for chaining.

clearTty()

public Process.Builder clearTty()

The teletype terminal which the command was executed within.

string tty = 18;

Returns
Type Description
Process.Builder

This builder for chaining.

clearUserDuration()

public Process.Builder clearUserDuration()

The user time spent in the process.

.google.protobuf.Duration user_duration = 21;

Returns
Type Description
Process.Builder

getAccessMask()

public long getAccessMask()

A bit mask representing the level of access.

uint64 access_mask = 8;

Returns
Type Description
long

The accessMask.

getCommandLine()

public String getCommandLine()

The command line command that created the process. This field can be used as an entity indicator for process entities.

string command_line = 4;

Returns
Type Description
String

The commandLine.

getCommandLineBytes()

public ByteString getCommandLineBytes()

The command line command that created the process. This field can be used as an entity indicator for process entities.

string command_line = 4;

Returns
Type Description
ByteString

The bytes for commandLine.

getCommandLineHistory(int index)

public String getCommandLineHistory(int index)

The command line history of the process.

repeated string command_line_history = 9;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The commandLineHistory at the given index.

getCommandLineHistoryBytes(int index)

public ByteString getCommandLineHistoryBytes(int index)

The command line history of the process.

repeated string command_line_history = 9;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the commandLineHistory at the given index.

getCommandLineHistoryCount()

public int getCommandLineHistoryCount()

The command line history of the process.

repeated string command_line_history = 9;

Returns
Type Description
int

The count of commandLineHistory.

getCommandLineHistoryList()

public ProtocolStringList getCommandLineHistoryList()

The command line history of the process.

repeated string command_line_history = 9;

Returns
Type Description
ProtocolStringList

A list containing the commandLineHistory.

getDefaultInstanceForType()

public Process getDefaultInstanceForType()
Returns
Type Description
Process

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEgid()

public String getEgid()

The effective group ID of the process.

string egid = 14;

Returns
Type Description
String

The egid.

getEgidBytes()

public ByteString getEgidBytes()

The effective group ID of the process.

string egid = 14;

Returns
Type Description
ByteString

The bytes for egid.

getEuid()

public String getEuid()

The effective user ID of the process.

string euid = 12;

Returns
Type Description
String

The euid.

getEuidBytes()

public ByteString getEuidBytes()

The effective user ID of the process.

string euid = 12;

Returns
Type Description
ByteString

The bytes for euid.

getFile()

public File getFile()

Information about the file in use by the process.

.google.backstory.File file = 3;

Returns
Type Description
File

The file.

getFileBuilder()

public File.Builder getFileBuilder()

Information about the file in use by the process.

.google.backstory.File file = 3;

Returns
Type Description
File.Builder

getFileOrBuilder()

public FileOrBuilder getFileOrBuilder()

Information about the file in use by the process.

.google.backstory.File file = 3;

Returns
Type Description
FileOrBuilder

getIntegrityLevelRid()

public long getIntegrityLevelRid()

The Microsoft Windows integrity level relative ID (RID) of the process.

uint64 integrity_level_rid = 11;

Returns
Type Description
long

The integrityLevelRid.

getIpv6()

public boolean getIpv6()

This is used to determine if the process is an IPv6 process.

bool ipv6 = 19;

Returns
Type Description
boolean

The ipv6.

getKernelDuration()

public Duration getKernelDuration()

The kernel time spent in the process.

.google.protobuf.Duration kernel_duration = 20;

Returns
Type Description
Duration

The kernelDuration.

getKernelDurationBuilder()

public Duration.Builder getKernelDurationBuilder()

The kernel time spent in the process.

.google.protobuf.Duration kernel_duration = 20;

Returns
Type Description
Builder

getKernelDurationOrBuilder()

public DurationOrBuilder getKernelDurationOrBuilder()

The kernel time spent in the process.

.google.protobuf.Duration kernel_duration = 20;

Returns
Type Description
DurationOrBuilder

getParentPid() (deprecated)

public String getParentPid()

Deprecated. google.backstory.Process.parent_pid is deprecated. See backstory/udm.proto;l=1877

The ID of the parent process. Deprecated: use parent_process.pid instead.

string parent_pid = 2 [deprecated = true];

Returns
Type Description
String

The parentPid.

getParentPidBytes() (deprecated)

public ByteString getParentPidBytes()

Deprecated. google.backstory.Process.parent_pid is deprecated. See backstory/udm.proto;l=1877

The ID of the parent process. Deprecated: use parent_process.pid instead.

string parent_pid = 2 [deprecated = true];

Returns
Type Description
ByteString

The bytes for parentPid.

getParentProcess()

public Process getParentProcess()

Information about the parent process.

.google.backstory.Process parent_process = 7;

Returns
Type Description
Process

The parentProcess.

getParentProcessBuilder()

public Process.Builder getParentProcessBuilder()

Information about the parent process.

.google.backstory.Process parent_process = 7;

Returns
Type Description
Process.Builder

getParentProcessOrBuilder()

public ProcessOrBuilder getParentProcessOrBuilder()

Information about the parent process.

.google.backstory.Process parent_process = 7;

Returns
Type Description
ProcessOrBuilder

getPgid()

public String getPgid()

The identifier that points to the process group ID leader.

string pgid = 16;

Returns
Type Description
String

The pgid.

getPgidBytes()

public ByteString getPgidBytes()

The identifier that points to the process group ID leader.

string pgid = 16;

Returns
Type Description
ByteString

The bytes for pgid.

getPid()

public String getPid()

The process ID. This field can be used as an entity indicator for process entities.

string pid = 1;

Returns
Type Description
String

The pid.

getPidBytes()

public ByteString getPidBytes()

The process ID. This field can be used as an entity indicator for process entities.

string pid = 1;

Returns
Type Description
ByteString

The bytes for pid.

getProductSpecificParentProcessId() (deprecated)

public String getProductSpecificParentProcessId()

Deprecated. google.backstory.Process.product_specific_parent_process_id is deprecated. See backstory/udm.proto;l=1928

A product specific id for the parent process. Please use parent_process.product_specific_process_id instead.

string product_specific_parent_process_id = 6 [deprecated = true];

Returns
Type Description
String

The productSpecificParentProcessId.

getProductSpecificParentProcessIdBytes() (deprecated)

public ByteString getProductSpecificParentProcessIdBytes()

Deprecated. google.backstory.Process.product_specific_parent_process_id is deprecated. See backstory/udm.proto;l=1928

A product specific id for the parent process. Please use parent_process.product_specific_process_id instead.

string product_specific_parent_process_id = 6 [deprecated = true];

Returns
Type Description
ByteString

The bytes for productSpecificParentProcessId.

getProductSpecificProcessId()

public String getProductSpecificProcessId()

A product specific process id.

string product_specific_process_id = 5;

Returns
Type Description
String

The productSpecificProcessId.

getProductSpecificProcessIdBytes()

public ByteString getProductSpecificProcessIdBytes()

A product specific process id.

string product_specific_process_id = 5;

Returns
Type Description
ByteString

The bytes for productSpecificProcessId.

getRealDuration()

public Duration getRealDuration()

The real time spent in the process. This is the sum of the kernel and user time.

.google.protobuf.Duration real_duration = 22;

Returns
Type Description
Duration

The realDuration.

getRealDurationBuilder()

public Duration.Builder getRealDurationBuilder()

The real time spent in the process. This is the sum of the kernel and user time.

.google.protobuf.Duration real_duration = 22;

Returns
Type Description
Builder

getRealDurationOrBuilder()

public DurationOrBuilder getRealDurationOrBuilder()

The real time spent in the process. This is the sum of the kernel and user time.

.google.protobuf.Duration real_duration = 22;

Returns
Type Description
DurationOrBuilder

getRgid()

public String getRgid()

The real group ID of the process.

string rgid = 15;

Returns
Type Description
String

The rgid.

getRgidBytes()

public ByteString getRgidBytes()

The real group ID of the process.

string rgid = 15;

Returns
Type Description
ByteString

The bytes for rgid.

getRuid()

public String getRuid()

The real user ID of the process.

string ruid = 13;

Returns
Type Description
String

The ruid.

getRuidBytes()

public ByteString getRuidBytes()

The real user ID of the process.

string ruid = 13;

Returns
Type Description
ByteString

The bytes for ruid.

getSessionLeaderPid()

public String getSessionLeaderPid()

The process ID of the session leader process.

string session_leader_pid = 17;

Returns
Type Description
String

The sessionLeaderPid.

getSessionLeaderPidBytes()

public ByteString getSessionLeaderPidBytes()

The process ID of the session leader process.

string session_leader_pid = 17;

Returns
Type Description
ByteString

The bytes for sessionLeaderPid.

getState()

public Process.State getState()

The state of the process.

.google.backstory.Process.State state = 23;

Returns
Type Description
Process.State

The state.

getStateValue()

public int getStateValue()

The state of the process.

.google.backstory.Process.State state = 23;

Returns
Type Description
int

The enum numeric value on the wire for state.

getTokenElevationType()

public Process.TokenElevationType getTokenElevationType()

The elevation type of the process on Microsoft Windows. This determines if any privileges are removed when UAC is enabled.

.google.backstory.Process.TokenElevationType token_elevation_type = 10;

Returns
Type Description
Process.TokenElevationType

The tokenElevationType.

getTokenElevationTypeValue()

public int getTokenElevationTypeValue()

The elevation type of the process on Microsoft Windows. This determines if any privileges are removed when UAC is enabled.

.google.backstory.Process.TokenElevationType token_elevation_type = 10;

Returns
Type Description
int

The enum numeric value on the wire for tokenElevationType.

getTty()

public String getTty()

The teletype terminal which the command was executed within.

string tty = 18;

Returns
Type Description
String

The tty.

getTtyBytes()

public ByteString getTtyBytes()

The teletype terminal which the command was executed within.

string tty = 18;

Returns
Type Description
ByteString

The bytes for tty.

getUserDuration()

public Duration getUserDuration()

The user time spent in the process.

.google.protobuf.Duration user_duration = 21;

Returns
Type Description
Duration

The userDuration.

getUserDurationBuilder()

public Duration.Builder getUserDurationBuilder()

The user time spent in the process.

.google.protobuf.Duration user_duration = 21;

Returns
Type Description
Builder

getUserDurationOrBuilder()

public DurationOrBuilder getUserDurationOrBuilder()

The user time spent in the process.

.google.protobuf.Duration user_duration = 21;

Returns
Type Description
DurationOrBuilder

hasFile()

public boolean hasFile()

Information about the file in use by the process.

.google.backstory.File file = 3;

Returns
Type Description
boolean

Whether the file field is set.

hasKernelDuration()

public boolean hasKernelDuration()

The kernel time spent in the process.

.google.protobuf.Duration kernel_duration = 20;

Returns
Type Description
boolean

Whether the kernelDuration field is set.

hasParentProcess()

public boolean hasParentProcess()

Information about the parent process.

.google.backstory.Process parent_process = 7;

Returns
Type Description
boolean

Whether the parentProcess field is set.

hasRealDuration()

public boolean hasRealDuration()

The real time spent in the process. This is the sum of the kernel and user time.

.google.protobuf.Duration real_duration = 22;

Returns
Type Description
boolean

Whether the realDuration field is set.

hasUserDuration()

public boolean hasUserDuration()

The user time spent in the process.

.google.protobuf.Duration user_duration = 21;

Returns
Type Description
boolean

Whether the userDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFile(File value)

public Process.Builder mergeFile(File value)

Information about the file in use by the process.

.google.backstory.File file = 3;

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Process.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Process.Builder
Overrides

mergeKernelDuration(Duration value)

public Process.Builder mergeKernelDuration(Duration value)

The kernel time spent in the process.

.google.protobuf.Duration kernel_duration = 20;

Parameter
Name Description
value Duration
Returns
Type Description
Process.Builder

mergeParentProcess(Process value)

public Process.Builder mergeParentProcess(Process value)

Information about the parent process.

.google.backstory.Process parent_process = 7;

Parameter
Name Description
value Process
Returns
Type Description
Process.Builder

mergeRealDuration(Duration value)

public Process.Builder mergeRealDuration(Duration value)

The real time spent in the process. This is the sum of the kernel and user time.

.google.protobuf.Duration real_duration = 22;

Parameter
Name Description
value Duration
Returns
Type Description
Process.Builder

mergeUserDuration(Duration value)

public Process.Builder mergeUserDuration(Duration value)

The user time spent in the process.

.google.protobuf.Duration user_duration = 21;

Parameter
Name Description
value Duration
Returns
Type Description
Process.Builder

setAccessMask(long value)

public Process.Builder setAccessMask(long value)

A bit mask representing the level of access.

uint64 access_mask = 8;

Parameter
Name Description
value long

The accessMask to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setCommandLine(String value)

public Process.Builder setCommandLine(String value)

The command line command that created the process. This field can be used as an entity indicator for process entities.

string command_line = 4;

Parameter
Name Description
value String

The commandLine to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setCommandLineBytes(ByteString value)

public Process.Builder setCommandLineBytes(ByteString value)

The command line command that created the process. This field can be used as an entity indicator for process entities.

string command_line = 4;

Parameter
Name Description
value ByteString

The bytes for commandLine to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setCommandLineHistory(int index, String value)

public Process.Builder setCommandLineHistory(int index, String value)

The command line history of the process.

repeated string command_line_history = 9;

Parameters
Name Description
index int

The index to set the value at.

value String

The commandLineHistory to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setEgid(String value)

public Process.Builder setEgid(String value)

The effective group ID of the process.

string egid = 14;

Parameter
Name Description
value String

The egid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setEgidBytes(ByteString value)

public Process.Builder setEgidBytes(ByteString value)

The effective group ID of the process.

string egid = 14;

Parameter
Name Description
value ByteString

The bytes for egid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setEuid(String value)

public Process.Builder setEuid(String value)

The effective user ID of the process.

string euid = 12;

Parameter
Name Description
value String

The euid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setEuidBytes(ByteString value)

public Process.Builder setEuidBytes(ByteString value)

The effective user ID of the process.

string euid = 12;

Parameter
Name Description
value ByteString

The bytes for euid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setFile(File value)

public Process.Builder setFile(File value)

Information about the file in use by the process.

.google.backstory.File file = 3;

Parameter
Name Description
value File
Returns
Type Description
Process.Builder

setFile(File.Builder builderForValue)

public Process.Builder setFile(File.Builder builderForValue)

Information about the file in use by the process.

.google.backstory.File file = 3;

Parameter
Name Description
builderForValue File.Builder
Returns
Type Description
Process.Builder

setIntegrityLevelRid(long value)

public Process.Builder setIntegrityLevelRid(long value)

The Microsoft Windows integrity level relative ID (RID) of the process.

uint64 integrity_level_rid = 11;

Parameter
Name Description
value long

The integrityLevelRid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setIpv6(boolean value)

public Process.Builder setIpv6(boolean value)

This is used to determine if the process is an IPv6 process.

bool ipv6 = 19;

Parameter
Name Description
value boolean

The ipv6 to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setKernelDuration(Duration value)

public Process.Builder setKernelDuration(Duration value)

The kernel time spent in the process.

.google.protobuf.Duration kernel_duration = 20;

Parameter
Name Description
value Duration
Returns
Type Description
Process.Builder

setKernelDuration(Duration.Builder builderForValue)

public Process.Builder setKernelDuration(Duration.Builder builderForValue)

The kernel time spent in the process.

.google.protobuf.Duration kernel_duration = 20;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Process.Builder

setParentPid(String value) (deprecated)

public Process.Builder setParentPid(String value)

Deprecated. google.backstory.Process.parent_pid is deprecated. See backstory/udm.proto;l=1877

The ID of the parent process. Deprecated: use parent_process.pid instead.

string parent_pid = 2 [deprecated = true];

Parameter
Name Description
value String

The parentPid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setParentPidBytes(ByteString value) (deprecated)

public Process.Builder setParentPidBytes(ByteString value)

Deprecated. google.backstory.Process.parent_pid is deprecated. See backstory/udm.proto;l=1877

The ID of the parent process. Deprecated: use parent_process.pid instead.

string parent_pid = 2 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for parentPid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setParentProcess(Process value)

public Process.Builder setParentProcess(Process value)

Information about the parent process.

.google.backstory.Process parent_process = 7;

Parameter
Name Description
value Process
Returns
Type Description
Process.Builder

setParentProcess(Process.Builder builderForValue)

public Process.Builder setParentProcess(Process.Builder builderForValue)

Information about the parent process.

.google.backstory.Process parent_process = 7;

Parameter
Name Description
builderForValue Process.Builder
Returns
Type Description
Process.Builder

setPgid(String value)

public Process.Builder setPgid(String value)

The identifier that points to the process group ID leader.

string pgid = 16;

Parameter
Name Description
value String

The pgid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setPgidBytes(ByteString value)

public Process.Builder setPgidBytes(ByteString value)

The identifier that points to the process group ID leader.

string pgid = 16;

Parameter
Name Description
value ByteString

The bytes for pgid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setPid(String value)

public Process.Builder setPid(String value)

The process ID. This field can be used as an entity indicator for process entities.

string pid = 1;

Parameter
Name Description
value String

The pid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setPidBytes(ByteString value)

public Process.Builder setPidBytes(ByteString value)

The process ID. This field can be used as an entity indicator for process entities.

string pid = 1;

Parameter
Name Description
value ByteString

The bytes for pid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setProductSpecificParentProcessId(String value) (deprecated)

public Process.Builder setProductSpecificParentProcessId(String value)

Deprecated. google.backstory.Process.product_specific_parent_process_id is deprecated. See backstory/udm.proto;l=1928

A product specific id for the parent process. Please use parent_process.product_specific_process_id instead.

string product_specific_parent_process_id = 6 [deprecated = true];

Parameter
Name Description
value String

The productSpecificParentProcessId to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setProductSpecificParentProcessIdBytes(ByteString value) (deprecated)

public Process.Builder setProductSpecificParentProcessIdBytes(ByteString value)

Deprecated. google.backstory.Process.product_specific_parent_process_id is deprecated. See backstory/udm.proto;l=1928

A product specific id for the parent process. Please use parent_process.product_specific_process_id instead.

string product_specific_parent_process_id = 6 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for productSpecificParentProcessId to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setProductSpecificProcessId(String value)

public Process.Builder setProductSpecificProcessId(String value)

A product specific process id.

string product_specific_process_id = 5;

Parameter
Name Description
value String

The productSpecificProcessId to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setProductSpecificProcessIdBytes(ByteString value)

public Process.Builder setProductSpecificProcessIdBytes(ByteString value)

A product specific process id.

string product_specific_process_id = 5;

Parameter
Name Description
value ByteString

The bytes for productSpecificProcessId to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setRealDuration(Duration value)

public Process.Builder setRealDuration(Duration value)

The real time spent in the process. This is the sum of the kernel and user time.

.google.protobuf.Duration real_duration = 22;

Parameter
Name Description
value Duration
Returns
Type Description
Process.Builder

setRealDuration(Duration.Builder builderForValue)

public Process.Builder setRealDuration(Duration.Builder builderForValue)

The real time spent in the process. This is the sum of the kernel and user time.

.google.protobuf.Duration real_duration = 22;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Process.Builder

setRgid(String value)

public Process.Builder setRgid(String value)

The real group ID of the process.

string rgid = 15;

Parameter
Name Description
value String

The rgid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setRgidBytes(ByteString value)

public Process.Builder setRgidBytes(ByteString value)

The real group ID of the process.

string rgid = 15;

Parameter
Name Description
value ByteString

The bytes for rgid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setRuid(String value)

public Process.Builder setRuid(String value)

The real user ID of the process.

string ruid = 13;

Parameter
Name Description
value String

The ruid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setRuidBytes(ByteString value)

public Process.Builder setRuidBytes(ByteString value)

The real user ID of the process.

string ruid = 13;

Parameter
Name Description
value ByteString

The bytes for ruid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setSessionLeaderPid(String value)

public Process.Builder setSessionLeaderPid(String value)

The process ID of the session leader process.

string session_leader_pid = 17;

Parameter
Name Description
value String

The sessionLeaderPid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setSessionLeaderPidBytes(ByteString value)

public Process.Builder setSessionLeaderPidBytes(ByteString value)

The process ID of the session leader process.

string session_leader_pid = 17;

Parameter
Name Description
value ByteString

The bytes for sessionLeaderPid to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setState(Process.State value)

public Process.Builder setState(Process.State value)

The state of the process.

.google.backstory.Process.State state = 23;

Parameter
Name Description
value Process.State

The state to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setStateValue(int value)

public Process.Builder setStateValue(int value)

The state of the process.

.google.backstory.Process.State state = 23;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setTokenElevationType(Process.TokenElevationType value)

public Process.Builder setTokenElevationType(Process.TokenElevationType value)

The elevation type of the process on Microsoft Windows. This determines if any privileges are removed when UAC is enabled.

.google.backstory.Process.TokenElevationType token_elevation_type = 10;

Parameter
Name Description
value Process.TokenElevationType

The tokenElevationType to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setTokenElevationTypeValue(int value)

public Process.Builder setTokenElevationTypeValue(int value)

The elevation type of the process on Microsoft Windows. This determines if any privileges are removed when UAC is enabled.

.google.backstory.Process.TokenElevationType token_elevation_type = 10;

Parameter
Name Description
value int

The enum numeric value on the wire for tokenElevationType to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setTty(String value)

public Process.Builder setTty(String value)

The teletype terminal which the command was executed within.

string tty = 18;

Parameter
Name Description
value String

The tty to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setTtyBytes(ByteString value)

public Process.Builder setTtyBytes(ByteString value)

The teletype terminal which the command was executed within.

string tty = 18;

Parameter
Name Description
value ByteString

The bytes for tty to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setUserDuration(Duration value)

public Process.Builder setUserDuration(Duration value)

The user time spent in the process.

.google.protobuf.Duration user_duration = 21;

Parameter
Name Description
value Duration
Returns
Type Description
Process.Builder

setUserDuration(Duration.Builder builderForValue)

public Process.Builder setUserDuration(Duration.Builder builderForValue)

The user time spent in the process.

.google.protobuf.Duration user_duration = 21;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Process.Builder