Class DiskEntryList.Builder (0.24.0)

public static final class DiskEntryList.Builder extends GeneratedMessageV3.Builder<DiskEntryList.Builder> implements DiskEntryListOrBuilder

VM disks.

Protobuf type google.cloud.migrationcenter.v1.DiskEntryList

Static Methods

getDescriptor()

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

Methods

addAllEntries(Iterable<? extends DiskEntry> values)

public DiskEntryList.Builder addAllEntries(Iterable<? extends DiskEntry> values)

Disk entries.

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

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

addEntries(DiskEntry value)

public DiskEntryList.Builder addEntries(DiskEntry value)

Disk entries.

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

Parameter
Name Description
value DiskEntry
Returns
Type Description
DiskEntryList.Builder

addEntries(DiskEntry.Builder builderForValue)

public DiskEntryList.Builder addEntries(DiskEntry.Builder builderForValue)

Disk entries.

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

Parameter
Name Description
builderForValue DiskEntry.Builder
Returns
Type Description
DiskEntryList.Builder

addEntries(int index, DiskEntry value)

public DiskEntryList.Builder addEntries(int index, DiskEntry value)

Disk entries.

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

Parameters
Name Description
index int
value DiskEntry
Returns
Type Description
DiskEntryList.Builder

addEntries(int index, DiskEntry.Builder builderForValue)

public DiskEntryList.Builder addEntries(int index, DiskEntry.Builder builderForValue)

Disk entries.

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

Parameters
Name Description
index int
builderForValue DiskEntry.Builder
Returns
Type Description
DiskEntryList.Builder

addEntriesBuilder()

public DiskEntry.Builder addEntriesBuilder()

Disk entries.

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

Returns
Type Description
DiskEntry.Builder

addEntriesBuilder(int index)

public DiskEntry.Builder addEntriesBuilder(int index)

Disk entries.

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

Parameter
Name Description
index int
Returns
Type Description
DiskEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiskEntryList build()
Returns
Type Description
DiskEntryList

buildPartial()

public DiskEntryList buildPartial()
Returns
Type Description
DiskEntryList

clear()

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

clearEntries()

public DiskEntryList.Builder clearEntries()

Disk entries.

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

Returns
Type Description
DiskEntryList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DiskEntryList getDefaultInstanceForType()
Returns
Type Description
DiskEntryList

getDescriptorForType()

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

getEntries(int index)

public DiskEntry getEntries(int index)

Disk entries.

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

Parameter
Name Description
index int
Returns
Type Description
DiskEntry

getEntriesBuilder(int index)

public DiskEntry.Builder getEntriesBuilder(int index)

Disk entries.

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

Parameter
Name Description
index int
Returns
Type Description
DiskEntry.Builder

getEntriesBuilderList()

public List<DiskEntry.Builder> getEntriesBuilderList()

Disk entries.

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

Returns
Type Description
List<Builder>

getEntriesCount()

public int getEntriesCount()

Disk entries.

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

Returns
Type Description
int

getEntriesList()

public List<DiskEntry> getEntriesList()

Disk entries.

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

Returns
Type Description
List<DiskEntry>

getEntriesOrBuilder(int index)

public DiskEntryOrBuilder getEntriesOrBuilder(int index)

Disk entries.

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

Parameter
Name Description
index int
Returns
Type Description
DiskEntryOrBuilder

getEntriesOrBuilderList()

public List<? extends DiskEntryOrBuilder> getEntriesOrBuilderList()

Disk entries.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiskEntryList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public DiskEntryList.Builder removeEntries(int index)

Disk entries.

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

Parameter
Name Description
index int
Returns
Type Description
DiskEntryList.Builder

setEntries(int index, DiskEntry value)

public DiskEntryList.Builder setEntries(int index, DiskEntry value)

Disk entries.

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

Parameters
Name Description
index int
value DiskEntry
Returns
Type Description
DiskEntryList.Builder

setEntries(int index, DiskEntry.Builder builderForValue)

public DiskEntryList.Builder setEntries(int index, DiskEntry.Builder builderForValue)

Disk entries.

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

Parameters
Name Description
index int
builderForValue DiskEntry.Builder
Returns
Type Description
DiskEntryList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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