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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RunningService.BuilderImplements
RunningServiceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunningService.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
build()
public RunningService build()
Returns | |
---|---|
Type | Description |
RunningService |
buildPartial()
public RunningService buildPartial()
Returns | |
---|---|
Type | Description |
RunningService |
clear()
public RunningService.Builder clear()
Returns | |
---|---|
Type | Description |
RunningService.Builder |
clearCmdline()
public RunningService.Builder clearCmdline()
Service command line.
string cmdline = 5;
Returns | |
---|---|
Type | Description |
RunningService.Builder |
This builder for chaining. |
clearExePath()
public RunningService.Builder clearExePath()
Service binary path.
string exe_path = 4;
Returns | |
---|---|
Type | Description |
RunningService.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RunningService.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RunningService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
clearPid()
public RunningService.Builder clearPid()
Service pid.
int64 pid = 6;
Returns | |
---|---|
Type | Description |
RunningService.Builder |
This builder for chaining. |
clearServiceName()
public RunningService.Builder clearServiceName()
Service name.
string service_name = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RunningService.Builder |
This builder for chaining. |
clearState()
public RunningService.Builder clearState()
Service state (OS-agnostic).
.google.cloud.migrationcenter.v1.RunningService.State state = 2;
Returns | |
---|---|
Type | Description |
RunningService.Builder |
This builder for chaining. |
clone()
public RunningService.Builder clone()
Returns | |
---|---|
Type | Description |
RunningService.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getPid()
public long getPid()
Service pid.
int64 pid = 6;
Returns | |
---|---|
Type | Description |
long |
The pid. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RunningService other)
public RunningService.Builder mergeFrom(RunningService other)
Parameter | |
---|---|
Name | Description |
other |
RunningService |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RunningService.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RunningService.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunningService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
setCmdline(String value)
public RunningService.Builder setCmdline(String value)
Service command line.
string cmdline = 5;
Parameter | |
---|---|
Name | Description |
value |
String The cmdline to set. |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
This builder for chaining. |
setCmdlineBytes(ByteString value)
public RunningService.Builder setCmdlineBytes(ByteString value)
Service command line.
string cmdline = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cmdline to set. |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
This builder for chaining. |
setExePath(String value)
public RunningService.Builder setExePath(String value)
Service binary path.
string exe_path = 4;
Parameter | |
---|---|
Name | Description |
value |
String The exePath to set. |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
This builder for chaining. |
setExePathBytes(ByteString value)
public RunningService.Builder setExePathBytes(ByteString value)
Service binary path.
string exe_path = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for exePath to set. |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RunningService.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
setPid(long value)
public RunningService.Builder setPid(long value)
Service pid.
int64 pid = 6;
Parameter | |
---|---|
Name | Description |
value |
long The pid to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
setServiceName(String value)
public RunningService.Builder setServiceName(String value)
Service name.
string service_name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The serviceName to set. |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
This builder for chaining. |
setServiceNameBytes(ByteString value)
public RunningService.Builder setServiceNameBytes(ByteString value)
Service name.
string service_name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for serviceName to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
RunningService.StartMode The startMode to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for startMode to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
RunningService.State The state to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
RunningService.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RunningService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RunningService.Builder |