Class RunningService (0.2.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
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

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

START_MODE_FIELD_NUMBER

public static final int START_MODE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RunningService getDefaultInstance()
Returns
TypeDescription
RunningService

getDescriptor()

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

newBuilder()

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

newBuilder(RunningService prototype)

public static RunningService.Builder newBuilder(RunningService prototype)
Parameter
NameDescription
prototypeRunningService
Returns
TypeDescription
RunningService.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCmdline()

public String getCmdline()

Service command line.

string cmdline = 5;

Returns
TypeDescription
String

The cmdline.

getCmdlineBytes()

public ByteString getCmdlineBytes()

Service command line.

string cmdline = 5;

Returns
TypeDescription
ByteString

The bytes for cmdline.

getDefaultInstanceForType()

public RunningService getDefaultInstanceForType()
Returns
TypeDescription
RunningService

getExePath()

public String getExePath()

Service binary path.

string exe_path = 4;

Returns
TypeDescription
String

The exePath.

getExePathBytes()

public ByteString getExePathBytes()

Service binary path.

string exe_path = 4;

Returns
TypeDescription
ByteString

The bytes for exePath.

getParserForType()

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

getPid()

public long getPid()

Service pid.

int64 pid = 6;

Returns
TypeDescription
long

The pid.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceName()

public String getServiceName()

Service name.

string service_name = 1;

Returns
TypeDescription
String

The serviceName.

getServiceNameBytes()

public ByteString getServiceNameBytes()

Service name.

string service_name = 1;

Returns
TypeDescription
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
TypeDescription
RunningService.StartMode

The startMode.

getStartModeValue()

public int getStartModeValue()

Service start mode (OS-agnostic).

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

Returns
TypeDescription
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
TypeDescription
RunningService.State

The state.

getStateValue()

public int getStateValue()

Service state (OS-agnostic).

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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