Class 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 type google.cloud.vmmigration.v1.VmwareVmDetails
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.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:
        getVmId in interface VmwareVmDetailsOrBuilder
        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:
        getVmIdBytes in interface VmwareVmDetailsOrBuilder
        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:
        getDatacenterId in interface VmwareVmDetailsOrBuilder
        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:
        getDatacenterIdBytes in interface VmwareVmDetailsOrBuilder
        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:
        getDatacenterDescription in interface VmwareVmDetailsOrBuilder
        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:
        getDatacenterDescriptionBytes in interface VmwareVmDetailsOrBuilder
        Returns:
        The bytes for datacenterDescription.
      • getUuidBytes

        public com.google.protobuf.ByteString getUuidBytes()
         The unique identifier of the VM in vCenter.
         
        string uuid = 4;
        Specified by:
        getUuidBytes in interface VmwareVmDetailsOrBuilder
        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:
        getDisplayName in interface VmwareVmDetailsOrBuilder
        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:
        getDisplayNameBytes in interface VmwareVmDetailsOrBuilder
        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:
        getPowerStateValue in interface VmwareVmDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for powerState.
      • getCpuCount

        public int getCpuCount()
         The number of cpus in the VM.
         
        int32 cpu_count = 7;
        Specified by:
        getCpuCount in interface VmwareVmDetailsOrBuilder
        Returns:
        The cpuCount.
      • getMemoryMb

        public int getMemoryMb()
         The size of the memory of the VM in MB.
         
        int32 memory_mb = 8;
        Specified by:
        getMemoryMb in interface VmwareVmDetailsOrBuilder
        Returns:
        The memoryMb.
      • getDiskCount

        public int getDiskCount()
         The number of disks the VM has.
         
        int32 disk_count = 9;
        Specified by:
        getDiskCount in interface VmwareVmDetailsOrBuilder
        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:
        getCommittedStorageMb in interface VmwareVmDetailsOrBuilder
        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:
        getGuestDescription in interface VmwareVmDetailsOrBuilder
        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:
        getGuestDescriptionBytes in interface VmwareVmDetailsOrBuilder
        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:
        getBootOptionValue in interface VmwareVmDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for bootOption.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
        Throws:
        IOException
      • newBuilderForType

        public VmwareVmDetails.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public VmwareVmDetails.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected VmwareVmDetails.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • parser

        public static com.google.protobuf.Parser<VmwareVmDetails> parser()
      • getParserForType

        public com.google.protobuf.Parser<VmwareVmDetails> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public VmwareVmDetails getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder