Class RunningService.Builder (0.21.0)

public static final class RunningService.Builder extends GeneratedMessageV3.Builder<RunningService.Builder> implements RunningServiceOrBuilder

Guest OS running service details.

Protobuf type google.cloud.migrationcenter.v1.RunningService

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RunningService build()
Returns
TypeDescription
RunningService

buildPartial()

public RunningService buildPartial()
Returns
TypeDescription
RunningService

clear()

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

clearCmdline()

public RunningService.Builder clearCmdline()

Service command line.

string cmdline = 5;

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

clearExePath()

public RunningService.Builder clearExePath()

Service binary path.

string exe_path = 4;

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPid()

public RunningService.Builder clearPid()

Service pid.

int64 pid = 6;

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

clearServiceName()

public RunningService.Builder clearServiceName()

Service name.

string service_name = 1;

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

clearStartMode()

public RunningService.Builder clearStartMode()

Service start mode (OS-agnostic).

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

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

clearState()

public RunningService.Builder clearState()

Service state (OS-agnostic).

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

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

clone()

public RunningService.Builder clone()
Returns
TypeDescription
RunningService.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getPid()

public long getPid()

Service pid.

int64 pid = 6;

Returns
TypeDescription
long

The pid.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RunningService other)

public RunningService.Builder mergeFrom(RunningService other)
Parameter
NameDescription
otherRunningService
Returns
TypeDescription
RunningService.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCmdline(String value)

public RunningService.Builder setCmdline(String value)

Service command line.

string cmdline = 5;

Parameter
NameDescription
valueString

The cmdline to set.

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

setCmdlineBytes(ByteString value)

public RunningService.Builder setCmdlineBytes(ByteString value)

Service command line.

string cmdline = 5;

Parameter
NameDescription
valueByteString

The bytes for cmdline to set.

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

setExePath(String value)

public RunningService.Builder setExePath(String value)

Service binary path.

string exe_path = 4;

Parameter
NameDescription
valueString

The exePath to set.

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

setExePathBytes(ByteString value)

public RunningService.Builder setExePathBytes(ByteString value)

Service binary path.

string exe_path = 4;

Parameter
NameDescription
valueByteString

The bytes for exePath to set.

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPid(long value)

public RunningService.Builder setPid(long value)

Service pid.

int64 pid = 6;

Parameter
NameDescription
valuelong

The pid to set.

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

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

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

setServiceName(String value)

public RunningService.Builder setServiceName(String value)

Service name.

string service_name = 1;

Parameter
NameDescription
valueString

The serviceName to set.

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

setServiceNameBytes(ByteString value)

public RunningService.Builder setServiceNameBytes(ByteString value)

Service name.

string service_name = 1;

Parameter
NameDescription
valueByteString

The bytes for serviceName to set.

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

setStartMode(RunningService.StartMode value)

public RunningService.Builder setStartMode(RunningService.StartMode value)

Service start mode (OS-agnostic).

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

Parameter
NameDescription
valueRunningService.StartMode

The startMode to set.

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

setStartModeValue(int value)

public RunningService.Builder setStartModeValue(int value)

Service start mode (OS-agnostic).

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for startMode to set.

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

setState(RunningService.State value)

public RunningService.Builder setState(RunningService.State value)

Service state (OS-agnostic).

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

Parameter
NameDescription
valueRunningService.State

The state to set.

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

setStateValue(int value)

public RunningService.Builder setStateValue(int value)

Service state (OS-agnostic).

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
RunningService.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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