Class VmwareSourceVmDetails.Builder (1.74.0)

public static final class VmwareSourceVmDetails.Builder extends GeneratedMessageV3.Builder<VmwareSourceVmDetails.Builder> implements VmwareSourceVmDetailsOrBuilder

Represent the source Vmware VM details.

Protobuf type google.cloud.vmmigration.v1.VmwareSourceVmDetails

Static Methods

getDescriptor()

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

Methods

addAllDisks(Iterable<? extends VmwareSourceVmDetails.VmwareDiskDetails> values)

public VmwareSourceVmDetails.Builder addAllDisks(Iterable<? extends VmwareSourceVmDetails.VmwareDiskDetails> values)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails>
Returns
Type Description
VmwareSourceVmDetails.Builder

addDisks(VmwareSourceVmDetails.VmwareDiskDetails value)

public VmwareSourceVmDetails.Builder addDisks(VmwareSourceVmDetails.VmwareDiskDetails value)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VmwareSourceVmDetails.VmwareDiskDetails
Returns
Type Description
VmwareSourceVmDetails.Builder

addDisks(VmwareSourceVmDetails.VmwareDiskDetails.Builder builderForValue)

public VmwareSourceVmDetails.Builder addDisks(VmwareSourceVmDetails.VmwareDiskDetails.Builder builderForValue)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue VmwareSourceVmDetails.VmwareDiskDetails.Builder
Returns
Type Description
VmwareSourceVmDetails.Builder

addDisks(int index, VmwareSourceVmDetails.VmwareDiskDetails value)

public VmwareSourceVmDetails.Builder addDisks(int index, VmwareSourceVmDetails.VmwareDiskDetails value)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value VmwareSourceVmDetails.VmwareDiskDetails
Returns
Type Description
VmwareSourceVmDetails.Builder

addDisks(int index, VmwareSourceVmDetails.VmwareDiskDetails.Builder builderForValue)

public VmwareSourceVmDetails.Builder addDisks(int index, VmwareSourceVmDetails.VmwareDiskDetails.Builder builderForValue)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue VmwareSourceVmDetails.VmwareDiskDetails.Builder
Returns
Type Description
VmwareSourceVmDetails.Builder

addDisksBuilder()

public VmwareSourceVmDetails.VmwareDiskDetails.Builder addDisksBuilder()

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareSourceVmDetails.VmwareDiskDetails.Builder

addDisksBuilder(int index)

public VmwareSourceVmDetails.VmwareDiskDetails.Builder addDisksBuilder(int index)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VmwareSourceVmDetails.VmwareDiskDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VmwareSourceVmDetails build()
Returns
Type Description
VmwareSourceVmDetails

buildPartial()

public VmwareSourceVmDetails buildPartial()
Returns
Type Description
VmwareSourceVmDetails

clear()

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

clearArchitecture()

public VmwareSourceVmDetails.Builder clearArchitecture()

Output only. The VM architecture.

.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareSourceVmDetails.Builder

This builder for chaining.

clearCommittedStorageBytes()

public VmwareSourceVmDetails.Builder clearCommittedStorageBytes()

Output only. The total size of the disks being migrated in bytes.

int64 committed_storage_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareSourceVmDetails.Builder

This builder for chaining.

clearDisks()

public VmwareSourceVmDetails.Builder clearDisks()

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareSourceVmDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFirmware()

public VmwareSourceVmDetails.Builder clearFirmware()

Output only. The firmware type of the source VM.

.google.cloud.vmmigration.v1.VmwareSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareSourceVmDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVmCapabilitiesInfo()

public VmwareSourceVmDetails.Builder clearVmCapabilitiesInfo()

Output only. Information about VM capabilities needed for some Compute Engine features.

.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareSourceVmDetails.Builder

clone()

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

getArchitecture()

public VmArchitecture getArchitecture()

Output only. The VM architecture.

.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmArchitecture

The architecture.

getArchitectureValue()

public int getArchitectureValue()

Output only. The VM architecture.

.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for architecture.

getCommittedStorageBytes()

public long getCommittedStorageBytes()

Output only. The total size of the disks being migrated in bytes.

int64 committed_storage_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The committedStorageBytes.

getDefaultInstanceForType()

public VmwareSourceVmDetails getDefaultInstanceForType()
Returns
Type Description
VmwareSourceVmDetails

getDescriptorForType()

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

getDisks(int index)

public VmwareSourceVmDetails.VmwareDiskDetails getDisks(int index)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VmwareSourceVmDetails.VmwareDiskDetails

getDisksBuilder(int index)

public VmwareSourceVmDetails.VmwareDiskDetails.Builder getDisksBuilder(int index)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VmwareSourceVmDetails.VmwareDiskDetails.Builder

getDisksBuilderList()

public List<VmwareSourceVmDetails.VmwareDiskDetails.Builder> getDisksBuilderList()

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getDisksCount()

public int getDisksCount()

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDisksList()

public List<VmwareSourceVmDetails.VmwareDiskDetails> getDisksList()

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<VmwareDiskDetails>

getDisksOrBuilder(int index)

public VmwareSourceVmDetails.VmwareDiskDetailsOrBuilder getDisksOrBuilder(int index)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VmwareSourceVmDetails.VmwareDiskDetailsOrBuilder

getDisksOrBuilderList()

public List<? extends VmwareSourceVmDetails.VmwareDiskDetailsOrBuilder> getDisksOrBuilderList()

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetailsOrBuilder>

getFirmware()

public VmwareSourceVmDetails.Firmware getFirmware()

Output only. The firmware type of the source VM.

.google.cloud.vmmigration.v1.VmwareSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareSourceVmDetails.Firmware

The firmware.

getFirmwareValue()

public int getFirmwareValue()

Output only. The firmware type of the source VM.

.google.cloud.vmmigration.v1.VmwareSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for firmware.

getVmCapabilitiesInfo()

public VmCapabilities getVmCapabilitiesInfo()

Output only. Information about VM capabilities needed for some Compute Engine features.

.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmCapabilities

The vmCapabilitiesInfo.

getVmCapabilitiesInfoBuilder()

public VmCapabilities.Builder getVmCapabilitiesInfoBuilder()

Output only. Information about VM capabilities needed for some Compute Engine features.

.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmCapabilities.Builder

getVmCapabilitiesInfoOrBuilder()

public VmCapabilitiesOrBuilder getVmCapabilitiesInfoOrBuilder()

Output only. Information about VM capabilities needed for some Compute Engine features.

.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmCapabilitiesOrBuilder

hasVmCapabilitiesInfo()

public boolean hasVmCapabilitiesInfo()

Output only. Information about VM capabilities needed for some Compute Engine features.

.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the vmCapabilitiesInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VmwareSourceVmDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVmCapabilitiesInfo(VmCapabilities value)

public VmwareSourceVmDetails.Builder mergeVmCapabilitiesInfo(VmCapabilities value)

Output only. Information about VM capabilities needed for some Compute Engine features.

.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VmCapabilities
Returns
Type Description
VmwareSourceVmDetails.Builder

removeDisks(int index)

public VmwareSourceVmDetails.Builder removeDisks(int index)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VmwareSourceVmDetails.Builder

setArchitecture(VmArchitecture value)

public VmwareSourceVmDetails.Builder setArchitecture(VmArchitecture value)

Output only. The VM architecture.

.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VmArchitecture

The architecture to set.

Returns
Type Description
VmwareSourceVmDetails.Builder

This builder for chaining.

setArchitectureValue(int value)

public VmwareSourceVmDetails.Builder setArchitectureValue(int value)

Output only. The VM architecture.

.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
VmwareSourceVmDetails.Builder

This builder for chaining.

setCommittedStorageBytes(long value)

public VmwareSourceVmDetails.Builder setCommittedStorageBytes(long value)

Output only. The total size of the disks being migrated in bytes.

int64 committed_storage_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The committedStorageBytes to set.

Returns
Type Description
VmwareSourceVmDetails.Builder

This builder for chaining.

setDisks(int index, VmwareSourceVmDetails.VmwareDiskDetails value)

public VmwareSourceVmDetails.Builder setDisks(int index, VmwareSourceVmDetails.VmwareDiskDetails value)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value VmwareSourceVmDetails.VmwareDiskDetails
Returns
Type Description
VmwareSourceVmDetails.Builder

setDisks(int index, VmwareSourceVmDetails.VmwareDiskDetails.Builder builderForValue)

public VmwareSourceVmDetails.Builder setDisks(int index, VmwareSourceVmDetails.VmwareDiskDetails.Builder builderForValue)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue VmwareSourceVmDetails.VmwareDiskDetails.Builder
Returns
Type Description
VmwareSourceVmDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFirmware(VmwareSourceVmDetails.Firmware value)

public VmwareSourceVmDetails.Builder setFirmware(VmwareSourceVmDetails.Firmware value)

Output only. The firmware type of the source VM.

.google.cloud.vmmigration.v1.VmwareSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VmwareSourceVmDetails.Firmware

The firmware to set.

Returns
Type Description
VmwareSourceVmDetails.Builder

This builder for chaining.

setFirmwareValue(int value)

public VmwareSourceVmDetails.Builder setFirmwareValue(int value)

Output only. The firmware type of the source VM.

.google.cloud.vmmigration.v1.VmwareSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
VmwareSourceVmDetails.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVmCapabilitiesInfo(VmCapabilities value)

public VmwareSourceVmDetails.Builder setVmCapabilitiesInfo(VmCapabilities value)

Output only. Information about VM capabilities needed for some Compute Engine features.

.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VmCapabilities
Returns
Type Description
VmwareSourceVmDetails.Builder

setVmCapabilitiesInfo(VmCapabilities.Builder builderForValue)

public VmwareSourceVmDetails.Builder setVmCapabilitiesInfo(VmCapabilities.Builder builderForValue)

Output only. Information about VM capabilities needed for some Compute Engine features.

.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue VmCapabilities.Builder
Returns
Type Description
VmwareSourceVmDetails.Builder