Class RunningServiceList.Builder (0.6.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.RunningService>
Returns
TypeDescription
RunningServiceList.Builder

addEntries(RunningService value)

public RunningServiceList.Builder addEntries(RunningService value)

Running service entries.

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

Parameter
NameDescription
valueRunningService
Returns
TypeDescription
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
NameDescription
builderForValueRunningService.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRunningService
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRunningService.Builder
Returns
TypeDescription
RunningServiceList.Builder

addEntriesBuilder()

public RunningService.Builder addEntriesBuilder()

Running service entries.

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

Returns
TypeDescription
RunningService.Builder

addEntriesBuilder(int index)

public RunningService.Builder addEntriesBuilder(int index)

Running service entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RunningService.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RunningServiceList build()
Returns
TypeDescription
RunningServiceList

buildPartial()

public RunningServiceList buildPartial()
Returns
TypeDescription
RunningServiceList

clear()

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

clearEntries()

public RunningServiceList.Builder clearEntries()

Running service entries.

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

Returns
TypeDescription
RunningServiceList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RunningServiceList.Builder clone()
Returns
TypeDescription
RunningServiceList.Builder
Overrides

getDefaultInstanceForType()

public RunningServiceList getDefaultInstanceForType()
Returns
TypeDescription
RunningServiceList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntries(int index)

public RunningService getEntries(int index)

Running service entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RunningService

getEntriesBuilder(int index)

public RunningService.Builder getEntriesBuilder(int index)

Running service entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RunningService.Builder

getEntriesBuilderList()

public List<RunningService.Builder> getEntriesBuilderList()

Running service entries.

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

Returns
TypeDescription
List<Builder>

getEntriesCount()

public int getEntriesCount()

Running service entries.

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

Returns
TypeDescription
int

getEntriesList()

public List<RunningService> getEntriesList()

Running service entries.

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

Returns
TypeDescription
List<RunningService>

getEntriesOrBuilder(int index)

public RunningServiceOrBuilder getEntriesOrBuilder(int index)

Running service entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RunningServiceOrBuilder

getEntriesOrBuilderList()

public List<? extends RunningServiceOrBuilder> getEntriesOrBuilderList()

Running service entries.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RunningServiceList other)

public RunningServiceList.Builder mergeFrom(RunningServiceList other)
Parameter
NameDescription
otherRunningServiceList
Returns
TypeDescription
RunningServiceList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public RunningServiceList.Builder removeEntries(int index)

Running service entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueRunningService
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRunningService.Builder
Returns
TypeDescription
RunningServiceList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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