Class VmwareDiskConfig.Builder (0.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VmwareDiskConfig build()
Returns
TypeDescription
VmwareDiskConfig

buildPartial()

public VmwareDiskConfig buildPartial()
Returns
TypeDescription
VmwareDiskConfig

clear()

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

clearBackingType()

public VmwareDiskConfig.Builder clearBackingType()

VMDK backing type.

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

Returns
TypeDescription
VmwareDiskConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRdmCompatibility()

public VmwareDiskConfig.Builder clearRdmCompatibility()

RDM compatibility mode.

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

Returns
TypeDescription
VmwareDiskConfig.Builder

This builder for chaining.

clearShared()

public VmwareDiskConfig.Builder clearShared()

Is VMDK shared with other VMs.

bool shared = 2;

Returns
TypeDescription
VmwareDiskConfig.Builder

This builder for chaining.

clearVmdkMode()

public VmwareDiskConfig.Builder clearVmdkMode()

VMDK disk mode.

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

Returns
TypeDescription
VmwareDiskConfig.Builder

This builder for chaining.

clone()

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

getBackingType()

public VmwareDiskConfig.BackingType getBackingType()

VMDK backing type.

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

Returns
TypeDescription
VmwareDiskConfig.BackingType

The backingType.

getBackingTypeValue()

public int getBackingTypeValue()

VMDK backing type.

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

Returns
TypeDescription
int

The enum numeric value on the wire for backingType.

getDefaultInstanceForType()

public VmwareDiskConfig getDefaultInstanceForType()
Returns
TypeDescription
VmwareDiskConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRdmCompatibility()

public VmwareDiskConfig.RdmCompatibility getRdmCompatibility()

RDM compatibility mode.

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

Returns
TypeDescription
VmwareDiskConfig.RdmCompatibility

The rdmCompatibility.

getRdmCompatibilityValue()

public int getRdmCompatibilityValue()

RDM compatibility mode.

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

Returns
TypeDescription
int

The enum numeric value on the wire for rdmCompatibility.

getShared()

public boolean getShared()

Is VMDK shared with other VMs.

bool shared = 2;

Returns
TypeDescription
boolean

The shared.

getVmdkMode()

public VmwareDiskConfig.VmdkMode getVmdkMode()

VMDK disk mode.

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

Returns
TypeDescription
VmwareDiskConfig.VmdkMode

The vmdkMode.

getVmdkModeValue()

public int getVmdkModeValue()

VMDK disk mode.

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

Returns
TypeDescription
int

The enum numeric value on the wire for vmdkMode.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VmwareDiskConfig other)

public VmwareDiskConfig.Builder mergeFrom(VmwareDiskConfig other)
Parameter
NameDescription
otherVmwareDiskConfig
Returns
TypeDescription
VmwareDiskConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VmwareDiskConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVmwareDiskConfig.BackingType

The backingType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
VmwareDiskConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VmwareDiskConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueVmwareDiskConfig.RdmCompatibility

The rdmCompatibility to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VmwareDiskConfig.Builder
Overrides

setShared(boolean value)

public VmwareDiskConfig.Builder setShared(boolean value)

Is VMDK shared with other VMs.

bool shared = 2;

Parameter
NameDescription
valueboolean

The shared to set.

Returns
TypeDescription
VmwareDiskConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VmwareDiskConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVmwareDiskConfig.VmdkMode

The vmdkMode to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
VmwareDiskConfig.Builder

This builder for chaining.