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
COMMITTED_STORAGE_MB_FIELD_NUMBER
public static final int COMMITTED_STORAGE_MB_FIELD_NUMBER
Field Value
CPU_COUNT_FIELD_NUMBER
public static final int CPU_COUNT_FIELD_NUMBER
Field Value
DATACENTER_DESCRIPTION_FIELD_NUMBER
public static final int DATACENTER_DESCRIPTION_FIELD_NUMBER
Field Value
DATACENTER_ID_FIELD_NUMBER
public static final int DATACENTER_ID_FIELD_NUMBER
Field Value
DISK_COUNT_FIELD_NUMBER
public static final int DISK_COUNT_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
GUEST_DESCRIPTION_FIELD_NUMBER
public static final int GUEST_DESCRIPTION_FIELD_NUMBER
Field Value
MEMORY_MB_FIELD_NUMBER
public static final int MEMORY_MB_FIELD_NUMBER
Field Value
POWER_STATE_FIELD_NUMBER
public static final int POWER_STATE_FIELD_NUMBER
Field Value
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER
Field Value
VM_ID_FIELD_NUMBER
public static final int VM_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VmwareVmDetails getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VmwareVmDetails.Builder newBuilder()
Returns
newBuilder(VmwareVmDetails prototype)
public static VmwareVmDetails.Builder newBuilder(VmwareVmDetails prototype)
Parameter
Returns
public static VmwareVmDetails parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VmwareVmDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VmwareVmDetails parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VmwareVmDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VmwareVmDetails parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VmwareVmDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VmwareVmDetails parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VmwareVmDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VmwareVmDetails parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VmwareVmDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VmwareVmDetails parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VmwareVmDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VmwareVmDetails> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
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()
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
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()
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
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
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
Type | Description |
int | The enum numeric value on the wire for powerState.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VmwareVmDetails.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VmwareVmDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VmwareVmDetails.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions