Class DiskPartitionList.Builder (0.12.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.DiskPartition>
Returns
TypeDescription
DiskPartitionList.Builder

addEntries(DiskPartition value)

public DiskPartitionList.Builder addEntries(DiskPartition value)

Partition entries.

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

Parameter
NameDescription
valueDiskPartition
Returns
TypeDescription
DiskPartitionList.Builder

addEntries(DiskPartition.Builder builderForValue)

public DiskPartitionList.Builder addEntries(DiskPartition.Builder builderForValue)

Partition entries.

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

Parameter
NameDescription
builderForValueDiskPartition.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDiskPartition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDiskPartition.Builder
Returns
TypeDescription
DiskPartitionList.Builder

addEntriesBuilder()

public DiskPartition.Builder addEntriesBuilder()

Partition entries.

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

Returns
TypeDescription
DiskPartition.Builder

addEntriesBuilder(int index)

public DiskPartition.Builder addEntriesBuilder(int index)

Partition entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DiskPartition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiskPartitionList build()
Returns
TypeDescription
DiskPartitionList

buildPartial()

public DiskPartitionList buildPartial()
Returns
TypeDescription
DiskPartitionList

clear()

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

clearEntries()

public DiskPartitionList.Builder clearEntries()

Partition entries.

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

Returns
TypeDescription
DiskPartitionList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DiskPartitionList getDefaultInstanceForType()
Returns
TypeDescription
DiskPartitionList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntries(int index)

public DiskPartition getEntries(int index)

Partition entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DiskPartition

getEntriesBuilder(int index)

public DiskPartition.Builder getEntriesBuilder(int index)

Partition entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DiskPartition.Builder

getEntriesBuilderList()

public List<DiskPartition.Builder> getEntriesBuilderList()

Partition entries.

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

Returns
TypeDescription
List<Builder>

getEntriesCount()

public int getEntriesCount()

Partition entries.

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

Returns
TypeDescription
int

getEntriesList()

public List<DiskPartition> getEntriesList()

Partition entries.

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

Returns
TypeDescription
List<DiskPartition>

getEntriesOrBuilder(int index)

public DiskPartitionOrBuilder getEntriesOrBuilder(int index)

Partition entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DiskPartitionOrBuilder

getEntriesOrBuilderList()

public List<? extends DiskPartitionOrBuilder> getEntriesOrBuilderList()

Partition entries.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DiskPartitionList other)

public DiskPartitionList.Builder mergeFrom(DiskPartitionList other)
Parameter
NameDescription
otherDiskPartitionList
Returns
TypeDescription
DiskPartitionList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public DiskPartitionList.Builder removeEntries(int index)

Partition entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDiskPartition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDiskPartition.Builder
Returns
TypeDescription
DiskPartitionList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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