Class VmwareDiskConfig (0.17.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
TypeDescription
int

RDM_COMPATIBILITY_FIELD_NUMBER

public static final int RDM_COMPATIBILITY_FIELD_NUMBER
Field Value
TypeDescription
int

SHARED_FIELD_NUMBER

public static final int SHARED_FIELD_NUMBER
Field Value
TypeDescription
int

VMDK_MODE_FIELD_NUMBER

public static final int VMDK_MODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VmwareDiskConfig getDefaultInstance()
Returns
TypeDescription
VmwareDiskConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VmwareDiskConfig.Builder newBuilder()
Returns
TypeDescription
VmwareDiskConfig.Builder

newBuilder(VmwareDiskConfig prototype)

public static VmwareDiskConfig.Builder newBuilder(VmwareDiskConfig prototype)
Parameter
NameDescription
prototypeVmwareDiskConfig
Returns
TypeDescription
VmwareDiskConfig.Builder

parseDelimitedFrom(InputStream input)

public static VmwareDiskConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VmwareDiskConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VmwareDiskConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VmwareDiskConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VmwareDiskConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VmwareDiskConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VmwareDiskConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VmwareDiskConfig> parser()
Returns
TypeDescription
Parser<VmwareDiskConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VmwareDiskConfig.Builder newBuilderForType()
Returns
TypeDescription
VmwareDiskConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VmwareDiskConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VmwareDiskConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VmwareDiskConfig.Builder toBuilder()
Returns
TypeDescription
VmwareDiskConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException