Class RunningServiceList.Builder (0.36.0)

public static final class RunningServiceList.Builder extends GeneratedMessageV3.Builder<RunningServiceList.Builder> implements RunningServiceListOrBuilder

List of running guest OS services.

Protobuf type google.cloud.migrationcenter.v1.RunningServiceList

Static Methods

getDescriptor()

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

Methods

addAllEntries(Iterable<? extends RunningService> values)

public RunningServiceList.Builder addAllEntries(Iterable<? extends RunningService> values)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.RunningService>
Returns
Type Description
RunningServiceList.Builder

addEntries(RunningService value)

public RunningServiceList.Builder addEntries(RunningService value)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameter
Name Description
value RunningService
Returns
Type Description
RunningServiceList.Builder

addEntries(RunningService.Builder builderForValue)

public RunningServiceList.Builder addEntries(RunningService.Builder builderForValue)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameter
Name Description
builderForValue RunningService.Builder
Returns
Type Description
RunningServiceList.Builder

addEntries(int index, RunningService value)

public RunningServiceList.Builder addEntries(int index, RunningService value)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameters
Name Description
index int
value RunningService
Returns
Type Description
RunningServiceList.Builder

addEntries(int index, RunningService.Builder builderForValue)

public RunningServiceList.Builder addEntries(int index, RunningService.Builder builderForValue)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameters
Name Description
index int
builderForValue RunningService.Builder
Returns
Type Description
RunningServiceList.Builder

addEntriesBuilder()

public RunningService.Builder addEntriesBuilder()

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Returns
Type Description
RunningService.Builder

addEntriesBuilder(int index)

public RunningService.Builder addEntriesBuilder(int index)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameter
Name Description
index int
Returns
Type Description
RunningService.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RunningServiceList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RunningServiceList.Builder
Overrides

build()

public RunningServiceList build()
Returns
Type Description
RunningServiceList

buildPartial()

public RunningServiceList buildPartial()
Returns
Type Description
RunningServiceList

clear()

public RunningServiceList.Builder clear()
Returns
Type Description
RunningServiceList.Builder
Overrides

clearEntries()

public RunningServiceList.Builder clearEntries()

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Returns
Type Description
RunningServiceList.Builder

clearField(Descriptors.FieldDescriptor field)

public RunningServiceList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RunningServiceList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RunningServiceList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RunningServiceList.Builder
Overrides

clone()

public RunningServiceList.Builder clone()
Returns
Type Description
RunningServiceList.Builder
Overrides

getDefaultInstanceForType()

public RunningServiceList getDefaultInstanceForType()
Returns
Type Description
RunningServiceList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntries(int index)

public RunningService getEntries(int index)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameter
Name Description
index int
Returns
Type Description
RunningService

getEntriesBuilder(int index)

public RunningService.Builder getEntriesBuilder(int index)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameter
Name Description
index int
Returns
Type Description
RunningService.Builder

getEntriesBuilderList()

public List<RunningService.Builder> getEntriesBuilderList()

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Returns
Type Description
List<Builder>

getEntriesCount()

public int getEntriesCount()

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Returns
Type Description
int

getEntriesList()

public List<RunningService> getEntriesList()

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Returns
Type Description
List<RunningService>

getEntriesOrBuilder(int index)

public RunningServiceOrBuilder getEntriesOrBuilder(int index)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameter
Name Description
index int
Returns
Type Description
RunningServiceOrBuilder

getEntriesOrBuilderList()

public List<? extends RunningServiceOrBuilder> getEntriesOrBuilderList()

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.RunningServiceOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RunningServiceList other)

public RunningServiceList.Builder mergeFrom(RunningServiceList other)
Parameter
Name Description
other RunningServiceList
Returns
Type Description
RunningServiceList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RunningServiceList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunningServiceList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RunningServiceList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RunningServiceList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RunningServiceList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RunningServiceList.Builder
Overrides

removeEntries(int index)

public RunningServiceList.Builder removeEntries(int index)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameter
Name Description
index int
Returns
Type Description
RunningServiceList.Builder

setEntries(int index, RunningService value)

public RunningServiceList.Builder setEntries(int index, RunningService value)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameters
Name Description
index int
value RunningService
Returns
Type Description
RunningServiceList.Builder

setEntries(int index, RunningService.Builder builderForValue)

public RunningServiceList.Builder setEntries(int index, RunningService.Builder builderForValue)

Running service entries.

repeated .google.cloud.migrationcenter.v1.RunningService entries = 1;

Parameters
Name Description
index int
builderForValue RunningService.Builder
Returns
Type Description
RunningServiceList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RunningServiceList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RunningServiceList.Builder
Overrides

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

public RunningServiceList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RunningServiceList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RunningServiceList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RunningServiceList.Builder
Overrides