Class AwsSourceVmDetails.Builder (1.54.0)

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

Represent the source AWS VM details.

Protobuf type google.cloud.vmmigration.v1.AwsSourceVmDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsSourceVmDetails build()
Returns
Type Description
AwsSourceVmDetails

buildPartial()

public AwsSourceVmDetails buildPartial()
Returns
Type Description
AwsSourceVmDetails

clear()

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

clearCommittedStorageBytes()

public AwsSourceVmDetails.Builder clearCommittedStorageBytes()

The total size of the disks being migrated in bytes.

int64 committed_storage_bytes = 2;

Returns
Type Description
AwsSourceVmDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFirmware()

public AwsSourceVmDetails.Builder clearFirmware()

The firmware type of the source VM.

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

Returns
Type Description
AwsSourceVmDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommittedStorageBytes()

public long getCommittedStorageBytes()

The total size of the disks being migrated in bytes.

int64 committed_storage_bytes = 2;

Returns
Type Description
long

The committedStorageBytes.

getDefaultInstanceForType()

public AwsSourceVmDetails getDefaultInstanceForType()
Returns
Type Description
AwsSourceVmDetails

getDescriptorForType()

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

getFirmware()

public AwsSourceVmDetails.Firmware getFirmware()

The firmware type of the source VM.

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

Returns
Type Description
AwsSourceVmDetails.Firmware

The firmware.

getFirmwareValue()

public int getFirmwareValue()

The firmware type of the source VM.

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

Returns
Type Description
int

The enum numeric value on the wire for firmware.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsSourceVmDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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
Name Description
value long

The committedStorageBytes to set.

Returns
Type Description
AwsSourceVmDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFirmware(AwsSourceVmDetails.Firmware value)

public AwsSourceVmDetails.Builder setFirmware(AwsSourceVmDetails.Firmware value)

The firmware type of the source VM.

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

Parameter
Name Description
value AwsSourceVmDetails.Firmware

The firmware to set.

Returns
Type Description
AwsSourceVmDetails.Builder

This builder for chaining.

setFirmwareValue(int value)

public AwsSourceVmDetails.Builder setFirmwareValue(int value)

The firmware type of the source VM.

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

Parameter
Name Description
value int

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

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsSourceVmDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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