Class RunningProcess (0.3.0)

public final class RunningProcess extends GeneratedMessageV3 implements RunningProcessOrBuilder

Guest OS running process details.

Protobuf type google.cloud.migrationcenter.v1.RunningProcess

Static Fields

ATTRIBUTES_FIELD_NUMBER

public static final int ATTRIBUTES_FIELD_NUMBER
Field Value
TypeDescription
int

CMDLINE_FIELD_NUMBER

public static final int CMDLINE_FIELD_NUMBER
Field Value
TypeDescription
int

EXE_PATH_FIELD_NUMBER

public static final int EXE_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

PID_FIELD_NUMBER

public static final int PID_FIELD_NUMBER
Field Value
TypeDescription
int

USER_FIELD_NUMBER

public static final int USER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RunningProcess getDefaultInstance()
Returns
TypeDescription
RunningProcess

getDescriptor()

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

newBuilder()

public static RunningProcess.Builder newBuilder()
Returns
TypeDescription
RunningProcess.Builder

newBuilder(RunningProcess prototype)

public static RunningProcess.Builder newBuilder(RunningProcess prototype)
Parameter
NameDescription
prototypeRunningProcess
Returns
TypeDescription
RunningProcess.Builder

parseDelimitedFrom(InputStream input)

public static RunningProcess parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunningProcess parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RunningProcess parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunningProcess parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunningProcess parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunningProcess parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunningProcess parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunningProcess parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RunningProcess parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunningProcess parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RunningProcess parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunningProcess parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunningProcess
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RunningProcess> parser()
Returns
TypeDescription
Parser<RunningProcess>

Methods

containsAttributes(String key)

public boolean containsAttributes(String key)

Process extended attributes.

map<string, string> attributes = 100;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAttributes()

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

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.

getParserForType()

public Parser<RunningProcess> getParserForType()
Returns
TypeDescription
Parser<RunningProcess>
Overrides

getPid()

public long getPid()

Process ID.

int64 pid = 1;

Returns
TypeDescription
long

The pid.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RunningProcess.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RunningProcess.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException