Package com.google.cloud.vmmigration.v1
Class VmwareVmDetails
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.vmmigration.v1.VmwareVmDetails
-
- All Implemented Interfaces:
VmwareVmDetailsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class VmwareVmDetails extends com.google.protobuf.GeneratedMessageV3 implements VmwareVmDetailsOrBuilder
VmwareVmDetails describes a VM in vCenter.
Protobuf typegoogle.cloud.vmmigration.v1.VmwareVmDetails- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVmwareVmDetails.BootOptionPossible values for vm boot option.static classVmwareVmDetails.BuilderVmwareVmDetails describes a VM in vCenter.static classVmwareVmDetails.PowerStatePossible values for the power state of the VM.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBOOT_OPTION_FIELD_NUMBERstatic intCOMMITTED_STORAGE_MB_FIELD_NUMBERstatic intCPU_COUNT_FIELD_NUMBERstatic intDATACENTER_DESCRIPTION_FIELD_NUMBERstatic intDATACENTER_ID_FIELD_NUMBERstatic intDISK_COUNT_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intGUEST_DESCRIPTION_FIELD_NUMBERstatic intMEMORY_MB_FIELD_NUMBERstatic intPOWER_STATE_FIELD_NUMBERstatic intUUID_FIELD_NUMBERstatic intVM_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)VmwareVmDetails.BootOptiongetBootOption()Output only.intgetBootOptionValue()Output only.longgetCommittedStorageMb()The total size of the storage allocated to the VM in MB.intgetCpuCount()The number of cpus in the VM.StringgetDatacenterDescription()The descriptive name of the vCenter's datacenter this VM is contained in.com.google.protobuf.ByteStringgetDatacenterDescriptionBytes()The descriptive name of the vCenter's datacenter this VM is contained in.StringgetDatacenterId()The id of the vCenter's datacenter this VM is contained in.com.google.protobuf.ByteStringgetDatacenterIdBytes()The id of the vCenter's datacenter this VM is contained in.static VmwareVmDetailsgetDefaultInstance()VmwareVmDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetDiskCount()The number of disks the VM has.StringgetDisplayName()The display name of the VM.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the VM.StringgetGuestDescription()The VM's OS.com.google.protobuf.ByteStringgetGuestDescriptionBytes()The VM's OS.intgetMemoryMb()The size of the memory of the VM in MB.com.google.protobuf.Parser<VmwareVmDetails>getParserForType()VmwareVmDetails.PowerStategetPowerState()The power state of the VM at the moment list was taken.intgetPowerStateValue()The power state of the VM at the moment list was taken.intgetSerializedSize()StringgetUuid()The unique identifier of the VM in vCenter.com.google.protobuf.ByteStringgetUuidBytes()The unique identifier of the VM in vCenter.StringgetVmId()The VM's id in the source (note that this is not the MigratingVm's id).com.google.protobuf.ByteStringgetVmIdBytes()The VM's id in the source (note that this is not the MigratingVm's id).inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static VmwareVmDetails.BuildernewBuilder()static VmwareVmDetails.BuildernewBuilder(VmwareVmDetails prototype)VmwareVmDetails.BuildernewBuilderForType()protected VmwareVmDetails.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static VmwareVmDetailsparseDelimitedFrom(InputStream input)static VmwareVmDetailsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VmwareVmDetailsparseFrom(byte[] data)static VmwareVmDetailsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VmwareVmDetailsparseFrom(com.google.protobuf.ByteString data)static VmwareVmDetailsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VmwareVmDetailsparseFrom(com.google.protobuf.CodedInputStream input)static VmwareVmDetailsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VmwareVmDetailsparseFrom(InputStream input)static VmwareVmDetailsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VmwareVmDetailsparseFrom(ByteBuffer data)static VmwareVmDetailsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<VmwareVmDetails>parser()VmwareVmDetails.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
VM_ID_FIELD_NUMBER
public static final int VM_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATACENTER_ID_FIELD_NUMBER
public static final int DATACENTER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATACENTER_DESCRIPTION_FIELD_NUMBER
public static final int DATACENTER_DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POWER_STATE_FIELD_NUMBER
public static final int POWER_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CPU_COUNT_FIELD_NUMBER
public static final int CPU_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMORY_MB_FIELD_NUMBER
public static final int MEMORY_MB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISK_COUNT_FIELD_NUMBER
public static final int DISK_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMITTED_STORAGE_MB_FIELD_NUMBER
public static final int COMMITTED_STORAGE_MB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GUEST_DESCRIPTION_FIELD_NUMBER
public static final int GUEST_DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOT_OPTION_FIELD_NUMBER
public static final int BOOT_OPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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;- Specified by:
getVmIdin interfaceVmwareVmDetailsOrBuilder- Returns:
- The vmId.
-
getVmIdBytes
public com.google.protobuf.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;- Specified by:
getVmIdBytesin interfaceVmwareVmDetailsOrBuilder- Returns:
- The bytes for vmId.
-
getDatacenterId
public String getDatacenterId()
The id of the vCenter's datacenter this VM is contained in.
string datacenter_id = 2;- Specified by:
getDatacenterIdin interfaceVmwareVmDetailsOrBuilder- Returns:
- The datacenterId.
-
getDatacenterIdBytes
public com.google.protobuf.ByteString getDatacenterIdBytes()
The id of the vCenter's datacenter this VM is contained in.
string datacenter_id = 2;- Specified by:
getDatacenterIdBytesin interfaceVmwareVmDetailsOrBuilder- Returns:
- The bytes for datacenterId.
-
getDatacenterDescription
public String getDatacenterDescription()
The descriptive name of the vCenter's datacenter this VM is contained in.
string datacenter_description = 3;- Specified by:
getDatacenterDescriptionin interfaceVmwareVmDetailsOrBuilder- Returns:
- The datacenterDescription.
-
getDatacenterDescriptionBytes
public com.google.protobuf.ByteString getDatacenterDescriptionBytes()
The descriptive name of the vCenter's datacenter this VM is contained in.
string datacenter_description = 3;- Specified by:
getDatacenterDescriptionBytesin interfaceVmwareVmDetailsOrBuilder- Returns:
- The bytes for datacenterDescription.
-
getUuid
public String getUuid()
The unique identifier of the VM in vCenter.
string uuid = 4;- Specified by:
getUuidin interfaceVmwareVmDetailsOrBuilder- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()
The unique identifier of the VM in vCenter.
string uuid = 4;- Specified by:
getUuidBytesin interfaceVmwareVmDetailsOrBuilder- Returns:
- The bytes for uuid.
-
getDisplayName
public String getDisplayName()
The display name of the VM. Note that this is not necessarily unique.
string display_name = 5;- Specified by:
getDisplayNamein interfaceVmwareVmDetailsOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the VM. Note that this is not necessarily unique.
string display_name = 5;- Specified by:
getDisplayNameBytesin interfaceVmwareVmDetailsOrBuilder- Returns:
- The bytes for displayName.
-
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;- Specified by:
getPowerStateValuein interfaceVmwareVmDetailsOrBuilder- Returns:
- The enum numeric value on the wire for powerState.
-
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;- Specified by:
getPowerStatein interfaceVmwareVmDetailsOrBuilder- Returns:
- The powerState.
-
getCpuCount
public int getCpuCount()
The number of cpus in the VM.
int32 cpu_count = 7;- Specified by:
getCpuCountin interfaceVmwareVmDetailsOrBuilder- Returns:
- The cpuCount.
-
getMemoryMb
public int getMemoryMb()
The size of the memory of the VM in MB.
int32 memory_mb = 8;- Specified by:
getMemoryMbin interfaceVmwareVmDetailsOrBuilder- Returns:
- The memoryMb.
-
getDiskCount
public int getDiskCount()
The number of disks the VM has.
int32 disk_count = 9;- Specified by:
getDiskCountin interfaceVmwareVmDetailsOrBuilder- Returns:
- The diskCount.
-
getCommittedStorageMb
public long getCommittedStorageMb()
The total size of the storage allocated to the VM in MB.
int64 committed_storage_mb = 12;- Specified by:
getCommittedStorageMbin interfaceVmwareVmDetailsOrBuilder- Returns:
- The committedStorageMb.
-
getGuestDescription
public String getGuestDescription()
The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.
string guest_description = 11;- Specified by:
getGuestDescriptionin interfaceVmwareVmDetailsOrBuilder- Returns:
- The guestDescription.
-
getGuestDescriptionBytes
public com.google.protobuf.ByteString getGuestDescriptionBytes()
The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.
string guest_description = 11;- Specified by:
getGuestDescriptionBytesin interfaceVmwareVmDetailsOrBuilder- Returns:
- The bytes for guestDescription.
-
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];- Specified by:
getBootOptionValuein interfaceVmwareVmDetailsOrBuilder- Returns:
- The enum numeric value on the wire for bootOption.
-
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];- Specified by:
getBootOptionin interfaceVmwareVmDetailsOrBuilder- Returns:
- The bootOption.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VmwareVmDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VmwareVmDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VmwareVmDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VmwareVmDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VmwareVmDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VmwareVmDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VmwareVmDetails parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static VmwareVmDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static VmwareVmDetails parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static VmwareVmDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static VmwareVmDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static VmwareVmDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public VmwareVmDetails.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static VmwareVmDetails.Builder newBuilder()
-
newBuilder
public static VmwareVmDetails.Builder newBuilder(VmwareVmDetails prototype)
-
toBuilder
public VmwareVmDetails.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VmwareVmDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static VmwareVmDetails getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<VmwareVmDetails> parser()
-
getParserForType
public com.google.protobuf.Parser<VmwareVmDetails> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public VmwareVmDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-