Class DiskPartitionList.Builder (0.34.0)

public static final class DiskPartitionList.Builder extends GeneratedMessageV3.Builder<DiskPartitionList.Builder> implements DiskPartitionListOrBuilder

Disk partition list.

Protobuf type google.cloud.migrationcenter.v1.DiskPartitionList

Static Methods

getDescriptor()

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

Methods

addAllEntries(Iterable<? extends DiskPartition> values)

public DiskPartitionList.Builder addAllEntries(Iterable<? extends DiskPartition> values)

Partition entries.

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

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

addEntries(DiskPartition value)

public DiskPartitionList.Builder addEntries(DiskPartition value)

Partition entries.

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

Parameter
Name Description
value DiskPartition
Returns
Type Description
DiskPartitionList.Builder

addEntries(DiskPartition.Builder builderForValue)

public DiskPartitionList.Builder addEntries(DiskPartition.Builder builderForValue)

Partition entries.

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

Parameter
Name Description
builderForValue DiskPartition.Builder
Returns
Type Description
DiskPartitionList.Builder

addEntries(int index, DiskPartition value)

public DiskPartitionList.Builder addEntries(int index, DiskPartition value)

Partition entries.

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

Parameters
Name Description
index int
value DiskPartition
Returns
Type Description
DiskPartitionList.Builder

addEntries(int index, DiskPartition.Builder builderForValue)

public DiskPartitionList.Builder addEntries(int index, DiskPartition.Builder builderForValue)

Partition entries.

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

Parameters
Name Description
index int
builderForValue DiskPartition.Builder
Returns
Type Description
DiskPartitionList.Builder

addEntriesBuilder()

public DiskPartition.Builder addEntriesBuilder()

Partition entries.

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

Returns
Type Description
DiskPartition.Builder

addEntriesBuilder(int index)

public DiskPartition.Builder addEntriesBuilder(int index)

Partition entries.

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

Parameter
Name Description
index int
Returns
Type Description
DiskPartition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiskPartitionList build()
Returns
Type Description
DiskPartitionList

buildPartial()

public DiskPartitionList buildPartial()
Returns
Type Description
DiskPartitionList

clear()

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

clearEntries()

public DiskPartitionList.Builder clearEntries()

Partition entries.

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

Returns
Type Description
DiskPartitionList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DiskPartitionList getDefaultInstanceForType()
Returns
Type Description
DiskPartitionList

getDescriptorForType()

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

getEntries(int index)

public DiskPartition getEntries(int index)

Partition entries.

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

Parameter
Name Description
index int
Returns
Type Description
DiskPartition

getEntriesBuilder(int index)

public DiskPartition.Builder getEntriesBuilder(int index)

Partition entries.

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

Parameter
Name Description
index int
Returns
Type Description
DiskPartition.Builder

getEntriesBuilderList()

public List<DiskPartition.Builder> getEntriesBuilderList()

Partition entries.

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

Returns
Type Description
List<Builder>

getEntriesCount()

public int getEntriesCount()

Partition entries.

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

Returns
Type Description
int

getEntriesList()

public List<DiskPartition> getEntriesList()

Partition entries.

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

Returns
Type Description
List<DiskPartition>

getEntriesOrBuilder(int index)

public DiskPartitionOrBuilder getEntriesOrBuilder(int index)

Partition entries.

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

Parameter
Name Description
index int
Returns
Type Description
DiskPartitionOrBuilder

getEntriesOrBuilderList()

public List<? extends DiskPartitionOrBuilder> getEntriesOrBuilderList()

Partition entries.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiskPartitionList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public DiskPartitionList.Builder removeEntries(int index)

Partition entries.

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

Parameter
Name Description
index int
Returns
Type Description
DiskPartitionList.Builder

setEntries(int index, DiskPartition value)

public DiskPartitionList.Builder setEntries(int index, DiskPartition value)

Partition entries.

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

Parameters
Name Description
index int
value DiskPartition
Returns
Type Description
DiskPartitionList.Builder

setEntries(int index, DiskPartition.Builder builderForValue)

public DiskPartitionList.Builder setEntries(int index, DiskPartition.Builder builderForValue)

Partition entries.

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

Parameters
Name Description
index int
builderForValue DiskPartition.Builder
Returns
Type Description
DiskPartitionList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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