Class DiskEntryList.Builder (0.2.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.DiskEntry>
Returns
TypeDescription
DiskEntryList.Builder

addEntries(DiskEntry value)

public DiskEntryList.Builder addEntries(DiskEntry value)

Disk entries.

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

Parameter
NameDescription
valueDiskEntry
Returns
TypeDescription
DiskEntryList.Builder

addEntries(DiskEntry.Builder builderForValue)

public DiskEntryList.Builder addEntries(DiskEntry.Builder builderForValue)

Disk entries.

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

Parameter
NameDescription
builderForValueDiskEntry.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDiskEntry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDiskEntry.Builder
Returns
TypeDescription
DiskEntryList.Builder

addEntriesBuilder()

public DiskEntry.Builder addEntriesBuilder()

Disk entries.

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

Returns
TypeDescription
DiskEntry.Builder

addEntriesBuilder(int index)

public DiskEntry.Builder addEntriesBuilder(int index)

Disk entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DiskEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiskEntryList build()
Returns
TypeDescription
DiskEntryList

buildPartial()

public DiskEntryList buildPartial()
Returns
TypeDescription
DiskEntryList

clear()

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

clearEntries()

public DiskEntryList.Builder clearEntries()

Disk entries.

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

Returns
TypeDescription
DiskEntryList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DiskEntryList getDefaultInstanceForType()
Returns
TypeDescription
DiskEntryList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntries(int index)

public DiskEntry getEntries(int index)

Disk entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DiskEntry

getEntriesBuilder(int index)

public DiskEntry.Builder getEntriesBuilder(int index)

Disk entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DiskEntry.Builder

getEntriesBuilderList()

public List<DiskEntry.Builder> getEntriesBuilderList()

Disk entries.

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

Returns
TypeDescription
List<Builder>

getEntriesCount()

public int getEntriesCount()

Disk entries.

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

Returns
TypeDescription
int

getEntriesList()

public List<DiskEntry> getEntriesList()

Disk entries.

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

Returns
TypeDescription
List<DiskEntry>

getEntriesOrBuilder(int index)

public DiskEntryOrBuilder getEntriesOrBuilder(int index)

Disk entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DiskEntryOrBuilder

getEntriesOrBuilderList()

public List<? extends DiskEntryOrBuilder> getEntriesOrBuilderList()

Disk entries.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DiskEntryList other)

public DiskEntryList.Builder mergeFrom(DiskEntryList other)
Parameter
NameDescription
otherDiskEntryList
Returns
TypeDescription
DiskEntryList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public DiskEntryList.Builder removeEntries(int index)

Disk entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDiskEntry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDiskEntry.Builder
Returns
TypeDescription
DiskEntryList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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