Class VmwareVmDetails (0.16.0)

public final class VmwareVmDetails extends GeneratedMessageV3 implements VmwareVmDetailsOrBuilder

VmwareVmDetails describes a VM in vCenter.

Protobuf type google.events.cloud.vmmigration.v1.VmwareVmDetails

Static Fields

BOOT_OPTION_FIELD_NUMBER

public static final int BOOT_OPTION_FIELD_NUMBER
Field Value
Type Description
int

COMMITTED_STORAGE_MB_FIELD_NUMBER

public static final int COMMITTED_STORAGE_MB_FIELD_NUMBER
Field Value
Type Description
int

CPU_COUNT_FIELD_NUMBER

public static final int CPU_COUNT_FIELD_NUMBER
Field Value
Type Description
int

DATACENTER_DESCRIPTION_FIELD_NUMBER

public static final int DATACENTER_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DATACENTER_ID_FIELD_NUMBER

public static final int DATACENTER_ID_FIELD_NUMBER
Field Value
Type Description
int

DISK_COUNT_FIELD_NUMBER

public static final int DISK_COUNT_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

GUEST_DESCRIPTION_FIELD_NUMBER

public static final int GUEST_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

MEMORY_MB_FIELD_NUMBER

public static final int MEMORY_MB_FIELD_NUMBER
Field Value
Type Description
int

POWER_STATE_FIELD_NUMBER

public static final int POWER_STATE_FIELD_NUMBER
Field Value
Type Description
int

UUID_FIELD_NUMBER

public static final int UUID_FIELD_NUMBER
Field Value
Type Description
int

VM_ID_FIELD_NUMBER

public static final int VM_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VmwareVmDetails getDefaultInstance()
Returns
Type Description
VmwareVmDetails

getDescriptor()

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

newBuilder()

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

newBuilder(VmwareVmDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBootOption()

public VmwareVmDetails.BootOption getBootOption()

Output only. The VM Boot Option.

.google.events.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13;

Returns
Type Description
VmwareVmDetails.BootOption

The bootOption.

getBootOptionValue()

public int getBootOptionValue()

Output only. The VM Boot Option.

.google.events.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13;

Returns
Type Description
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
Type Description
long

The committedStorageMb.

getCpuCount()

public int getCpuCount()

The number of cpus in the VM.

int32 cpu_count = 7;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
String

The datacenterId.

getDatacenterIdBytes()

public ByteString getDatacenterIdBytes()

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

string datacenter_id = 2;

Returns
Type Description
ByteString

The bytes for datacenterId.

getDefaultInstanceForType()

public VmwareVmDetails getDefaultInstanceForType()
Returns
Type Description
VmwareVmDetails

getDiskCount()

public int getDiskCount()

The number of disks the VM has.

int32 disk_count = 9;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for displayName.

getGuestDescription()

public String getGuestDescription()
Returns
Type Description
String

The guestDescription.

getGuestDescriptionBytes()

public ByteString getGuestDescriptionBytes()
Returns
Type Description
ByteString

The bytes for guestDescription.

getMemoryMb()

public int getMemoryMb()

The size of the memory of the VM in MB.

int32 memory_mb = 8;

Returns
Type Description
int

The memoryMb.

getParserForType()

public Parser<VmwareVmDetails> getParserForType()
Returns
Type Description
Parser<VmwareVmDetails>
Overrides

getPowerState()

public VmwareVmDetails.PowerState getPowerState()

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

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

Returns
Type Description
VmwareVmDetails.PowerState

The powerState.

getPowerStateValue()

public int getPowerStateValue()

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

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

Returns
Type Description
int

The enum numeric value on the wire for powerState.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getUuid()

public String getUuid()

The unique identifier of the VM in vCenter.

string uuid = 4;

Returns
Type Description
String

The uuid.

getUuidBytes()

public ByteString getUuidBytes()

The unique identifier of the VM in vCenter.

string uuid = 4;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for vmId.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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