Class VmwareVmDetails (1.36.0)

public final class VmwareVmDetails extends GeneratedMessageV3 implements VmwareVmDetailsOrBuilder

VmwareVmDetails describes a VM in vCenter.

Protobuf type google.cloud.vmmigration.v1.VmwareVmDetails

Static Fields

BOOT_OPTION_FIELD_NUMBER

public static final int BOOT_OPTION_FIELD_NUMBER
Field Value
TypeDescription
int

COMMITTED_STORAGE_MB_FIELD_NUMBER

public static final int COMMITTED_STORAGE_MB_FIELD_NUMBER
Field Value
TypeDescription
int

CPU_COUNT_FIELD_NUMBER

public static final int CPU_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

DATACENTER_DESCRIPTION_FIELD_NUMBER

public static final int DATACENTER_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DATACENTER_ID_FIELD_NUMBER

public static final int DATACENTER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

DISK_COUNT_FIELD_NUMBER

public static final int DISK_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

GUEST_DESCRIPTION_FIELD_NUMBER

public static final int GUEST_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

MEMORY_MB_FIELD_NUMBER

public static final int MEMORY_MB_FIELD_NUMBER
Field Value
TypeDescription
int

POWER_STATE_FIELD_NUMBER

public static final int POWER_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

UUID_FIELD_NUMBER

public static final int UUID_FIELD_NUMBER
Field Value
TypeDescription
int

VM_ID_FIELD_NUMBER

public static final int VM_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VmwareVmDetails getDefaultInstance()
Returns
TypeDescription
VmwareVmDetails

getDescriptor()

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

newBuilder()

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

newBuilder(VmwareVmDetails prototype)

public static VmwareVmDetails.Builder newBuilder(VmwareVmDetails prototype)
Parameter
NameDescription
prototypeVmwareVmDetails
Returns
TypeDescription
VmwareVmDetails.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBootOption()

public VmwareVmDetails.BootOption getBootOption()

Output only. The VM Boot Option.

.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
VmwareVmDetails.BootOption

The bootOption.

getBootOptionValue()

public int getBootOptionValue()

Output only. The VM Boot Option.

.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for bootOption.

getCommittedStorageMb()

public long getCommittedStorageMb()

The total size of the storage allocated to the VM in MB.

int64 committed_storage_mb = 12;

Returns
TypeDescription
long

The committedStorageMb.

getCpuCount()

public int getCpuCount()

The number of cpus in the VM.

int32 cpu_count = 7;

Returns
TypeDescription
int

The cpuCount.

getDatacenterDescription()

public String getDatacenterDescription()

The descriptive name of the vCenter's datacenter this VM is contained in.

string datacenter_description = 3;

Returns
TypeDescription
String

The datacenterDescription.

getDatacenterDescriptionBytes()

public ByteString getDatacenterDescriptionBytes()

The descriptive name of the vCenter's datacenter this VM is contained in.

string datacenter_description = 3;

Returns
TypeDescription
ByteString

The bytes for datacenterDescription.

getDatacenterId()

public String getDatacenterId()

The id of the vCenter's datacenter this VM is contained in.

string datacenter_id = 2;

Returns
TypeDescription
String

The datacenterId.

getDatacenterIdBytes()

public ByteString getDatacenterIdBytes()

The id of the vCenter's datacenter this VM is contained in.

string datacenter_id = 2;

Returns
TypeDescription
ByteString

The bytes for datacenterId.

getDefaultInstanceForType()

public VmwareVmDetails getDefaultInstanceForType()
Returns
TypeDescription
VmwareVmDetails

getDiskCount()

public int getDiskCount()

The number of disks the VM has.

int32 disk_count = 9;

Returns
TypeDescription
int

The diskCount.

getDisplayName()

public String getDisplayName()

The display name of the VM. Note that this is not necessarily unique.

string display_name = 5;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the VM. Note that this is not necessarily unique.

string display_name = 5;

Returns
TypeDescription
ByteString

The bytes for displayName.

getGuestDescription()

public String getGuestDescription()
Returns
TypeDescription
String

The guestDescription.

getGuestDescriptionBytes()

public ByteString getGuestDescriptionBytes()
Returns
TypeDescription
ByteString

The bytes for guestDescription.

getMemoryMb()

public int getMemoryMb()

The size of the memory of the VM in MB.

int32 memory_mb = 8;

Returns
TypeDescription
int

The memoryMb.

getParserForType()

public Parser<VmwareVmDetails> getParserForType()
Returns
TypeDescription
Parser<VmwareVmDetails>
Overrides

getPowerState()

public VmwareVmDetails.PowerState getPowerState()

The power state of the VM at the moment list was taken.

.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6;

Returns
TypeDescription
VmwareVmDetails.PowerState

The powerState.

getPowerStateValue()

public int getPowerStateValue()

The power state of the VM at the moment list was taken.

.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for powerState.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUuid()

public String getUuid()

The unique identifier of the VM in vCenter.

string uuid = 4;

Returns
TypeDescription
String

The uuid.

getUuidBytes()

public ByteString getUuidBytes()

The unique identifier of the VM in vCenter.

string uuid = 4;

Returns
TypeDescription
ByteString

The bytes for uuid.

getVmId()

public String getVmId()

The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.

string vm_id = 1;

Returns
TypeDescription
String

The vmId.

getVmIdBytes()

public ByteString getVmIdBytes()

The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.

string vm_id = 1;

Returns
TypeDescription
ByteString

The bytes for vmId.

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 VmwareVmDetails.Builder newBuilderForType()
Returns
TypeDescription
VmwareVmDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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