Class RunningService (0.26.0)

public final class RunningService extends GeneratedMessageV3 implements RunningServiceOrBuilder

Guest OS running service details.

Protobuf type google.cloud.migrationcenter.v1.RunningService

Static Fields

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

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
Type Description
int

START_MODE_FIELD_NUMBER

public static final int START_MODE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RunningService getDefaultInstance()
Returns
Type Description
RunningService

getDescriptor()

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

newBuilder()

public static RunningService.Builder newBuilder()
Returns
Type Description
RunningService.Builder

newBuilder(RunningService prototype)

public static RunningService.Builder newBuilder(RunningService prototype)
Parameter
Name Description
prototype RunningService
Returns
Type Description
RunningService.Builder

parseDelimitedFrom(InputStream input)

public static RunningService parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunningService
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunningService parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunningService
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RunningService parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RunningService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunningService parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunningService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunningService parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RunningService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunningService parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunningService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunningService parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RunningService
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunningService parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunningService
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RunningService parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunningService
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunningService parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunningService
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RunningService parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RunningService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunningService parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunningService
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RunningService> parser()
Returns
Type Description
Parser<RunningService>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCmdline()

public String getCmdline()

Service command line.

string cmdline = 5;

Returns
Type Description
String

The cmdline.

getCmdlineBytes()

public ByteString getCmdlineBytes()

Service command line.

string cmdline = 5;

Returns
Type Description
ByteString

The bytes for cmdline.

getDefaultInstanceForType()

public RunningService getDefaultInstanceForType()
Returns
Type Description
RunningService

getExePath()

public String getExePath()

Service binary path.

string exe_path = 4;

Returns
Type Description
String

The exePath.

getExePathBytes()

public ByteString getExePathBytes()

Service binary path.

string exe_path = 4;

Returns
Type Description
ByteString

The bytes for exePath.

getParserForType()

public Parser<RunningService> getParserForType()
Returns
Type Description
Parser<RunningService>
Overrides

getPid()

public long getPid()

Service pid.

int64 pid = 6;

Returns
Type Description
long

The pid.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceName()

public String getServiceName()

Service name.

string service_name = 1;

Returns
Type Description
String

The serviceName.

getServiceNameBytes()

public ByteString getServiceNameBytes()

Service name.

string service_name = 1;

Returns
Type Description
ByteString

The bytes for serviceName.

getStartMode()

public RunningService.StartMode getStartMode()

Service start mode (OS-agnostic).

.google.cloud.migrationcenter.v1.RunningService.StartMode start_mode = 3;

Returns
Type Description
RunningService.StartMode

The startMode.

getStartModeValue()

public int getStartModeValue()

Service start mode (OS-agnostic).

.google.cloud.migrationcenter.v1.RunningService.StartMode start_mode = 3;

Returns
Type Description
int

The enum numeric value on the wire for startMode.

getState()

public RunningService.State getState()

Service state (OS-agnostic).

.google.cloud.migrationcenter.v1.RunningService.State state = 2;

Returns
Type Description
RunningService.State

The state.

getStateValue()

public int getStateValue()

Service state (OS-agnostic).

.google.cloud.migrationcenter.v1.RunningService.State state = 2;

Returns
Type Description
int

The enum numeric value on the wire for state.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RunningService.Builder newBuilderForType()
Returns
Type Description
RunningService.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RunningService.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RunningService.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RunningService.Builder toBuilder()
Returns
Type Description
RunningService.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException