Class RunningProcess.Builder (0.13.0)

public static final class RunningProcess.Builder extends GeneratedMessageV3.Builder<RunningProcess.Builder> implements RunningProcessOrBuilder

Guest OS running process details.

Protobuf type google.cloud.migrationcenter.v1.RunningProcess

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RunningProcess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RunningProcess.Builder
Overrides

build()

public RunningProcess build()
Returns
TypeDescription
RunningProcess

buildPartial()

public RunningProcess buildPartial()
Returns
TypeDescription
RunningProcess

clear()

public RunningProcess.Builder clear()
Returns
TypeDescription
RunningProcess.Builder
Overrides

clearAttributes()

public RunningProcess.Builder clearAttributes()
Returns
TypeDescription
RunningProcess.Builder

clearCmdline()

public RunningProcess.Builder clearCmdline()

Process full command line.

string cmdline = 3;

Returns
TypeDescription
RunningProcess.Builder

This builder for chaining.

clearExePath()

public RunningProcess.Builder clearExePath()

Process binary path.

string exe_path = 2;

Returns
TypeDescription
RunningProcess.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RunningProcess.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RunningProcess.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RunningProcess.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RunningProcess.Builder
Overrides

clearPid()

public RunningProcess.Builder clearPid()

Process ID.

int64 pid = 1;

Returns
TypeDescription
RunningProcess.Builder

This builder for chaining.

clearUser()

public RunningProcess.Builder clearUser()

User running the process.

string user = 4;

Returns
TypeDescription
RunningProcess.Builder

This builder for chaining.

clone()

public RunningProcess.Builder clone()
Returns
TypeDescription
RunningProcess.Builder
Overrides

containsAttributes(String key)

public boolean containsAttributes(String key)

Process extended attributes.

map<string, string> attributes = 100;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAttributes() (deprecated)

public Map<String,String> getAttributes()

Use #getAttributesMap() instead.

Returns
TypeDescription
Map<String,String>

getAttributesCount()

public int getAttributesCount()

Process extended attributes.

map<string, string> attributes = 100;

Returns
TypeDescription
int

getAttributesMap()

public Map<String,String> getAttributesMap()

Process extended attributes.

map<string, string> attributes = 100;

Returns
TypeDescription
Map<String,String>

getAttributesOrDefault(String key, String defaultValue)

public String getAttributesOrDefault(String key, String defaultValue)

Process extended attributes.

map<string, string> attributes = 100;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAttributesOrThrow(String key)

public String getAttributesOrThrow(String key)

Process extended attributes.

map<string, string> attributes = 100;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getCmdline()

public String getCmdline()

Process full command line.

string cmdline = 3;

Returns
TypeDescription
String

The cmdline.

getCmdlineBytes()

public ByteString getCmdlineBytes()

Process full command line.

string cmdline = 3;

Returns
TypeDescription
ByteString

The bytes for cmdline.

getDefaultInstanceForType()

public RunningProcess getDefaultInstanceForType()
Returns
TypeDescription
RunningProcess

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExePath()

public String getExePath()

Process binary path.

string exe_path = 2;

Returns
TypeDescription
String

The exePath.

getExePathBytes()

public ByteString getExePathBytes()

Process binary path.

string exe_path = 2;

Returns
TypeDescription
ByteString

The bytes for exePath.

getMutableAttributes() (deprecated)

public Map<String,String> getMutableAttributes()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getPid()

public long getPid()

Process ID.

int64 pid = 1;

Returns
TypeDescription
long

The pid.

getUser()

public String getUser()

User running the process.

string user = 4;

Returns
TypeDescription
String

The user.

getUserBytes()

public ByteString getUserBytes()

User running the process.

string user = 4;

Returns
TypeDescription
ByteString

The bytes for user.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RunningProcess other)

public RunningProcess.Builder mergeFrom(RunningProcess other)
Parameter
NameDescription
otherRunningProcess
Returns
TypeDescription
RunningProcess.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RunningProcess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunningProcess.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RunningProcess.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RunningProcess.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RunningProcess.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RunningProcess.Builder
Overrides

putAllAttributes(Map<String,String> values)

public RunningProcess.Builder putAllAttributes(Map<String,String> values)

Process extended attributes.

map<string, string> attributes = 100;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
RunningProcess.Builder

putAttributes(String key, String value)

public RunningProcess.Builder putAttributes(String key, String value)

Process extended attributes.

map<string, string> attributes = 100;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
RunningProcess.Builder

removeAttributes(String key)

public RunningProcess.Builder removeAttributes(String key)

Process extended attributes.

map<string, string> attributes = 100;

Parameter
NameDescription
keyString
Returns
TypeDescription
RunningProcess.Builder

setCmdline(String value)

public RunningProcess.Builder setCmdline(String value)

Process full command line.

string cmdline = 3;

Parameter
NameDescription
valueString

The cmdline to set.

Returns
TypeDescription
RunningProcess.Builder

This builder for chaining.

setCmdlineBytes(ByteString value)

public RunningProcess.Builder setCmdlineBytes(ByteString value)

Process full command line.

string cmdline = 3;

Parameter
NameDescription
valueByteString

The bytes for cmdline to set.

Returns
TypeDescription
RunningProcess.Builder

This builder for chaining.

setExePath(String value)

public RunningProcess.Builder setExePath(String value)

Process binary path.

string exe_path = 2;

Parameter
NameDescription
valueString

The exePath to set.

Returns
TypeDescription
RunningProcess.Builder

This builder for chaining.

setExePathBytes(ByteString value)

public RunningProcess.Builder setExePathBytes(ByteString value)

Process binary path.

string exe_path = 2;

Parameter
NameDescription
valueByteString

The bytes for exePath to set.

Returns
TypeDescription
RunningProcess.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RunningProcess.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RunningProcess.Builder
Overrides

setPid(long value)

public RunningProcess.Builder setPid(long value)

Process ID.

int64 pid = 1;

Parameter
NameDescription
valuelong

The pid to set.

Returns
TypeDescription
RunningProcess.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RunningProcess.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RunningProcess.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RunningProcess.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RunningProcess.Builder
Overrides

setUser(String value)

public RunningProcess.Builder setUser(String value)

User running the process.

string user = 4;

Parameter
NameDescription
valueString

The user to set.

Returns
TypeDescription
RunningProcess.Builder

This builder for chaining.

setUserBytes(ByteString value)

public RunningProcess.Builder setUserBytes(ByteString value)

User running the process.

string user = 4;

Parameter
NameDescription
valueByteString

The bytes for user to set.

Returns
TypeDescription
RunningProcess.Builder

This builder for chaining.