public final class RunningProcess extends GeneratedMessageV3 implements RunningProcessOrBuilder
Guest OS running process details.
Protobuf type google.cloud.migrationcenter.v1.RunningProcess
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RunningProcessImplements
RunningProcessOrBuilderStatic Fields
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CMDLINE_FIELD_NUMBER
public static final int CMDLINE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
EXE_PATH_FIELD_NUMBER
public static final int EXE_PATH_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PID_FIELD_NUMBER
public static final int PID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static RunningProcess getDefaultInstance()
Returns | |
---|---|
Type | Description |
RunningProcess |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static RunningProcess.Builder newBuilder()
Returns | |
---|---|
Type | Description |
RunningProcess.Builder |
newBuilder(RunningProcess prototype)
public static RunningProcess.Builder newBuilder(RunningProcess prototype)
Parameter | |
---|---|
Name | Description |
prototype | RunningProcess |
Returns | |
---|---|
Type | Description |
RunningProcess.Builder |
parseDelimitedFrom(InputStream input)
public static RunningProcess parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RunningProcess parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static RunningProcess parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RunningProcess parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static RunningProcess parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RunningProcess parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static RunningProcess parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RunningProcess parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static RunningProcess parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RunningProcess parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static RunningProcess parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RunningProcess parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RunningProcess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<RunningProcess> parser()
Returns | |
---|---|
Type | Description |
Parser<RunningProcess> |
Methods
containsAttributes(String key)
public boolean containsAttributes(String key)
Process extended attributes.
map<string, string> attributes = 100;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getAttributes() (deprecated)
public Map<String,String> getAttributes()
Use #getAttributesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAttributesCount()
public int getAttributesCount()
Process extended attributes.
map<string, string> attributes = 100;
Returns | |
---|---|
Type | Description |
int |
getAttributesMap()
public Map<String,String> getAttributesMap()
Process extended attributes.
map<string, string> attributes = 100;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAttributesOrDefault(String key, String defaultValue)
public String getAttributesOrDefault(String key, String defaultValue)
Process extended attributes.
map<string, string> attributes = 100;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getAttributesOrThrow(String key)
public String getAttributesOrThrow(String key)
Process extended attributes.
map<string, string> attributes = 100;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getCmdline()
public String getCmdline()
Process full command line.
string cmdline = 3;
Returns | |
---|---|
Type | Description |
String | The cmdline. |
getCmdlineBytes()
public ByteString getCmdlineBytes()
Process full command line.
string cmdline = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for cmdline. |
getDefaultInstanceForType()
public RunningProcess getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RunningProcess |
getExePath()
public String getExePath()
Process binary path.
string exe_path = 2;
Returns | |
---|---|
Type | Description |
String | The exePath. |
getExePathBytes()
public ByteString getExePathBytes()
Process binary path.
string exe_path = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for exePath. |
getParserForType()
public Parser<RunningProcess> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<RunningProcess> |
getPid()
public long getPid()
Process ID.
int64 pid = 1;
Returns | |
---|---|
Type | Description |
long | The pid. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUser()
public String getUser()
User running the process.
string user = 4;
Returns | |
---|---|
Type | Description |
String | The user. |
getUserBytes()
public ByteString getUserBytes()
User running the process.
string user = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for user. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public RunningProcess.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
RunningProcess.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RunningProcess.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
RunningProcess.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public RunningProcess.Builder toBuilder()
Returns | |
---|---|
Type | Description |
RunningProcess.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |