Class VmwareDiskConfig.Builder (0.27.0)

public static final class VmwareDiskConfig.Builder extends GeneratedMessageV3.Builder<VmwareDiskConfig.Builder> implements VmwareDiskConfigOrBuilder

VMware disk config details.

Protobuf type google.cloud.migrationcenter.v1.VmwareDiskConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VmwareDiskConfig build()
Returns
Type Description
VmwareDiskConfig

buildPartial()

public VmwareDiskConfig buildPartial()
Returns
Type Description
VmwareDiskConfig

clear()

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

clearBackingType()

public VmwareDiskConfig.Builder clearBackingType()

VMDK backing type.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.BackingType backing_type = 1;

Returns
Type Description
VmwareDiskConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRdmCompatibility()

public VmwareDiskConfig.Builder clearRdmCompatibility()

RDM compatibility mode.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.RdmCompatibility rdm_compatibility = 4;

Returns
Type Description
VmwareDiskConfig.Builder

This builder for chaining.

clearShared()

public VmwareDiskConfig.Builder clearShared()

Is VMDK shared with other VMs.

bool shared = 2;

Returns
Type Description
VmwareDiskConfig.Builder

This builder for chaining.

clearVmdkMode()

public VmwareDiskConfig.Builder clearVmdkMode()

VMDK disk mode.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.VmdkMode vmdk_mode = 3;

Returns
Type Description
VmwareDiskConfig.Builder

This builder for chaining.

clone()

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

getBackingType()

public VmwareDiskConfig.BackingType getBackingType()

VMDK backing type.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.BackingType backing_type = 1;

Returns
Type Description
VmwareDiskConfig.BackingType

The backingType.

getBackingTypeValue()

public int getBackingTypeValue()

VMDK backing type.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.BackingType backing_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for backingType.

getDefaultInstanceForType()

public VmwareDiskConfig getDefaultInstanceForType()
Returns
Type Description
VmwareDiskConfig

getDescriptorForType()

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

getRdmCompatibility()

public VmwareDiskConfig.RdmCompatibility getRdmCompatibility()

RDM compatibility mode.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.RdmCompatibility rdm_compatibility = 4;

Returns
Type Description
VmwareDiskConfig.RdmCompatibility

The rdmCompatibility.

getRdmCompatibilityValue()

public int getRdmCompatibilityValue()

RDM compatibility mode.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.RdmCompatibility rdm_compatibility = 4;

Returns
Type Description
int

The enum numeric value on the wire for rdmCompatibility.

getShared()

public boolean getShared()

Is VMDK shared with other VMs.

bool shared = 2;

Returns
Type Description
boolean

The shared.

getVmdkMode()

public VmwareDiskConfig.VmdkMode getVmdkMode()

VMDK disk mode.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.VmdkMode vmdk_mode = 3;

Returns
Type Description
VmwareDiskConfig.VmdkMode

The vmdkMode.

getVmdkModeValue()

public int getVmdkModeValue()

VMDK disk mode.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.VmdkMode vmdk_mode = 3;

Returns
Type Description
int

The enum numeric value on the wire for vmdkMode.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VmwareDiskConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBackingType(VmwareDiskConfig.BackingType value)

public VmwareDiskConfig.Builder setBackingType(VmwareDiskConfig.BackingType value)

VMDK backing type.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.BackingType backing_type = 1;

Parameter
Name Description
value VmwareDiskConfig.BackingType

The backingType to set.

Returns
Type Description
VmwareDiskConfig.Builder

This builder for chaining.

setBackingTypeValue(int value)

public VmwareDiskConfig.Builder setBackingTypeValue(int value)

VMDK backing type.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.BackingType backing_type = 1;

Parameter
Name Description
value int

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

Returns
Type Description
VmwareDiskConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRdmCompatibility(VmwareDiskConfig.RdmCompatibility value)

public VmwareDiskConfig.Builder setRdmCompatibility(VmwareDiskConfig.RdmCompatibility value)

RDM compatibility mode.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.RdmCompatibility rdm_compatibility = 4;

Parameter
Name Description
value VmwareDiskConfig.RdmCompatibility

The rdmCompatibility to set.

Returns
Type Description
VmwareDiskConfig.Builder

This builder for chaining.

setRdmCompatibilityValue(int value)

public VmwareDiskConfig.Builder setRdmCompatibilityValue(int value)

RDM compatibility mode.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.RdmCompatibility rdm_compatibility = 4;

Parameter
Name Description
value int

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

Returns
Type Description
VmwareDiskConfig.Builder

This builder for chaining.

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

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

setShared(boolean value)

public VmwareDiskConfig.Builder setShared(boolean value)

Is VMDK shared with other VMs.

bool shared = 2;

Parameter
Name Description
value boolean

The shared to set.

Returns
Type Description
VmwareDiskConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVmdkMode(VmwareDiskConfig.VmdkMode value)

public VmwareDiskConfig.Builder setVmdkMode(VmwareDiskConfig.VmdkMode value)

VMDK disk mode.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.VmdkMode vmdk_mode = 3;

Parameter
Name Description
value VmwareDiskConfig.VmdkMode

The vmdkMode to set.

Returns
Type Description
VmwareDiskConfig.Builder

This builder for chaining.

setVmdkModeValue(int value)

public VmwareDiskConfig.Builder setVmdkModeValue(int value)

VMDK disk mode.

.google.cloud.migrationcenter.v1.VmwareDiskConfig.VmdkMode vmdk_mode = 3;

Parameter
Name Description
value int

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

Returns
Type Description
VmwareDiskConfig.Builder

This builder for chaining.