Class AwsSourceVmDetails.Builder (0.14.1)

public static final class AwsSourceVmDetails.Builder extends GeneratedMessageV3.Builder<AwsSourceVmDetails.Builder> implements AwsSourceVmDetailsOrBuilder

Represent the source AWS VM details.

Protobuf type google.events.cloud.vmmigration.v1.AwsSourceVmDetails

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDisks(Iterable<? extends AwsSourceVmDetails.AwsDiskDetails> values)

public AwsSourceVmDetails.Builder addAllDisks(Iterable<? extends AwsSourceVmDetails.AwsDiskDetails> values)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails>
Returns
TypeDescription
AwsSourceVmDetails.Builder

addDisks(AwsSourceVmDetails.AwsDiskDetails value)

public AwsSourceVmDetails.Builder addDisks(AwsSourceVmDetails.AwsDiskDetails value)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameter
NameDescription
valueAwsSourceVmDetails.AwsDiskDetails
Returns
TypeDescription
AwsSourceVmDetails.Builder

addDisks(AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)

public AwsSourceVmDetails.Builder addDisks(AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameter
NameDescription
builderForValueAwsSourceVmDetails.AwsDiskDetails.Builder
Returns
TypeDescription
AwsSourceVmDetails.Builder

addDisks(int index, AwsSourceVmDetails.AwsDiskDetails value)

public AwsSourceVmDetails.Builder addDisks(int index, AwsSourceVmDetails.AwsDiskDetails value)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameters
NameDescription
indexint
valueAwsSourceVmDetails.AwsDiskDetails
Returns
TypeDescription
AwsSourceVmDetails.Builder

addDisks(int index, AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)

public AwsSourceVmDetails.Builder addDisks(int index, AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameters
NameDescription
indexint
builderForValueAwsSourceVmDetails.AwsDiskDetails.Builder
Returns
TypeDescription
AwsSourceVmDetails.Builder

addDisksBuilder()

public AwsSourceVmDetails.AwsDiskDetails.Builder addDisksBuilder()

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder

addDisksBuilder(int index)

public AwsSourceVmDetails.AwsDiskDetails.Builder addDisksBuilder(int index)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsSourceVmDetails build()
Returns
TypeDescription
AwsSourceVmDetails

buildPartial()

public AwsSourceVmDetails buildPartial()
Returns
TypeDescription
AwsSourceVmDetails

clear()

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

clearCommittedStorageBytes()

public AwsSourceVmDetails.Builder clearCommittedStorageBytes()

The total size of the disks being migrated in bytes.

int64 committed_storage_bytes = 2;

Returns
TypeDescription
AwsSourceVmDetails.Builder

This builder for chaining.

clearDisks()

public AwsSourceVmDetails.Builder clearDisks()

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Returns
TypeDescription
AwsSourceVmDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFirmware()

public AwsSourceVmDetails.Builder clearFirmware()

The firmware type of the source VM.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;

Returns
TypeDescription
AwsSourceVmDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommittedStorageBytes()

public long getCommittedStorageBytes()

The total size of the disks being migrated in bytes.

int64 committed_storage_bytes = 2;

Returns
TypeDescription
long

The committedStorageBytes.

getDefaultInstanceForType()

public AwsSourceVmDetails getDefaultInstanceForType()
Returns
TypeDescription
AwsSourceVmDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisks(int index)

public AwsSourceVmDetails.AwsDiskDetails getDisks(int index)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails

getDisksBuilder(int index)

public AwsSourceVmDetails.AwsDiskDetails.Builder getDisksBuilder(int index)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetails.Builder

getDisksBuilderList()

public List<AwsSourceVmDetails.AwsDiskDetails.Builder> getDisksBuilderList()

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Returns
TypeDescription
List<Builder>

getDisksCount()

public int getDisksCount()

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Returns
TypeDescription
int

getDisksList()

public List<AwsSourceVmDetails.AwsDiskDetails> getDisksList()

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Returns
TypeDescription
List<AwsDiskDetails>

getDisksOrBuilder(int index)

public AwsSourceVmDetails.AwsDiskDetailsOrBuilder getDisksOrBuilder(int index)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsSourceVmDetails.AwsDiskDetailsOrBuilder

getDisksOrBuilderList()

public List<? extends AwsSourceVmDetails.AwsDiskDetailsOrBuilder> getDisksOrBuilderList()

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Returns
TypeDescription
List<? extends com.google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetailsOrBuilder>

getFirmware()

public AwsSourceVmDetails.Firmware getFirmware()

The firmware type of the source VM.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;

Returns
TypeDescription
AwsSourceVmDetails.Firmware

The firmware.

getFirmwareValue()

public int getFirmwareValue()

The firmware type of the source VM.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for firmware.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsSourceVmDetails other)

public AwsSourceVmDetails.Builder mergeFrom(AwsSourceVmDetails other)
Parameter
NameDescription
otherAwsSourceVmDetails
Returns
TypeDescription
AwsSourceVmDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDisks(int index)

public AwsSourceVmDetails.Builder removeDisks(int index)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsSourceVmDetails.Builder

setCommittedStorageBytes(long value)

public AwsSourceVmDetails.Builder setCommittedStorageBytes(long value)

The total size of the disks being migrated in bytes.

int64 committed_storage_bytes = 2;

Parameter
NameDescription
valuelong

The committedStorageBytes to set.

Returns
TypeDescription
AwsSourceVmDetails.Builder

This builder for chaining.

setDisks(int index, AwsSourceVmDetails.AwsDiskDetails value)

public AwsSourceVmDetails.Builder setDisks(int index, AwsSourceVmDetails.AwsDiskDetails value)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameters
NameDescription
indexint
valueAwsSourceVmDetails.AwsDiskDetails
Returns
TypeDescription
AwsSourceVmDetails.Builder

setDisks(int index, AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)

public AwsSourceVmDetails.Builder setDisks(int index, AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)

The disks attached to the source VM.

repeated .google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3;

Parameters
NameDescription
indexint
builderForValueAwsSourceVmDetails.AwsDiskDetails.Builder
Returns
TypeDescription
AwsSourceVmDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFirmware(AwsSourceVmDetails.Firmware value)

public AwsSourceVmDetails.Builder setFirmware(AwsSourceVmDetails.Firmware value)

The firmware type of the source VM.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;

Parameter
NameDescription
valueAwsSourceVmDetails.Firmware

The firmware to set.

Returns
TypeDescription
AwsSourceVmDetails.Builder

This builder for chaining.

setFirmwareValue(int value)

public AwsSourceVmDetails.Builder setFirmwareValue(int value)

The firmware type of the source VM.

.google.events.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for firmware to set.

Returns
TypeDescription
AwsSourceVmDetails.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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