Class VmwareDiskConfig (0.24.0)

public final class VmwareDiskConfig extends GeneratedMessageV3 implements VmwareDiskConfigOrBuilder

VMware disk config details.

Protobuf type google.cloud.migrationcenter.v1.VmwareDiskConfig

Static Fields

BACKING_TYPE_FIELD_NUMBER

public static final int BACKING_TYPE_FIELD_NUMBER
Field Value
Type Description
int

RDM_COMPATIBILITY_FIELD_NUMBER

public static final int RDM_COMPATIBILITY_FIELD_NUMBER
Field Value
Type Description
int

SHARED_FIELD_NUMBER

public static final int SHARED_FIELD_NUMBER
Field Value
Type Description
int

VMDK_MODE_FIELD_NUMBER

public static final int VMDK_MODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VmwareDiskConfig getDefaultInstance()
Returns
Type Description
VmwareDiskConfig

getDescriptor()

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

newBuilder()

public static VmwareDiskConfig.Builder newBuilder()
Returns
Type Description
VmwareDiskConfig.Builder

newBuilder(VmwareDiskConfig prototype)

public static VmwareDiskConfig.Builder newBuilder(VmwareDiskConfig prototype)
Parameter
Name Description
prototype VmwareDiskConfig
Returns
Type Description
VmwareDiskConfig.Builder

parseDelimitedFrom(InputStream input)

public static VmwareDiskConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VmwareDiskConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VmwareDiskConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VmwareDiskConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VmwareDiskConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VmwareDiskConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VmwareDiskConfig> parser()
Returns
Type Description
Parser<VmwareDiskConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<VmwareDiskConfig> getParserForType()
Returns
Type Description
Parser<VmwareDiskConfig>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VmwareDiskConfig.Builder newBuilderForType()
Returns
Type Description
VmwareDiskConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VmwareDiskConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VmwareDiskConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VmwareDiskConfig.Builder toBuilder()
Returns
Type Description
VmwareDiskConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException