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 class
VmwareVmDetails.BootOption
Possible values for vm boot option.static class
VmwareVmDetails.Builder
VmwareVmDetails describes a VM in vCenter.static class
VmwareVmDetails.PowerState
Possible 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 int
BOOT_OPTION_FIELD_NUMBER
static int
COMMITTED_STORAGE_MB_FIELD_NUMBER
static int
CPU_COUNT_FIELD_NUMBER
static int
DATACENTER_DESCRIPTION_FIELD_NUMBER
static int
DATACENTER_ID_FIELD_NUMBER
static int
DISK_COUNT_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
GUEST_DESCRIPTION_FIELD_NUMBER
static int
MEMORY_MB_FIELD_NUMBER
static int
POWER_STATE_FIELD_NUMBER
static int
UUID_FIELD_NUMBER
static int
VM_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
VmwareVmDetails.BootOption
getBootOption()
Output only.int
getBootOptionValue()
Output only.long
getCommittedStorageMb()
The total size of the storage allocated to the VM in MB.int
getCpuCount()
The number of cpus in the VM.String
getDatacenterDescription()
The descriptive name of the vCenter's datacenter this VM is contained in.com.google.protobuf.ByteString
getDatacenterDescriptionBytes()
The descriptive name of the vCenter's datacenter this VM is contained in.String
getDatacenterId()
The id of the vCenter's datacenter this VM is contained in.com.google.protobuf.ByteString
getDatacenterIdBytes()
The id of the vCenter's datacenter this VM is contained in.static VmwareVmDetails
getDefaultInstance()
VmwareVmDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getDiskCount()
The number of disks the VM has.String
getDisplayName()
The display name of the VM.com.google.protobuf.ByteString
getDisplayNameBytes()
The display name of the VM.String
getGuestDescription()
The VM's OS.com.google.protobuf.ByteString
getGuestDescriptionBytes()
The VM's OS.int
getMemoryMb()
The size of the memory of the VM in MB.com.google.protobuf.Parser<VmwareVmDetails>
getParserForType()
VmwareVmDetails.PowerState
getPowerState()
The power state of the VM at the moment list was taken.int
getPowerStateValue()
The power state of the VM at the moment list was taken.int
getSerializedSize()
String
getUuid()
The unique identifier of the VM in vCenter.com.google.protobuf.ByteString
getUuidBytes()
The unique identifier of the VM in vCenter.String
getVmId()
The VM's id in the source (note that this is not the MigratingVm's id).com.google.protobuf.ByteString
getVmIdBytes()
The VM's id in the source (note that this is not the MigratingVm's id).int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static VmwareVmDetails.Builder
newBuilder()
static VmwareVmDetails.Builder
newBuilder(VmwareVmDetails prototype)
VmwareVmDetails.Builder
newBuilderForType()
protected VmwareVmDetails.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static VmwareVmDetails
parseDelimitedFrom(InputStream input)
static VmwareVmDetails
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VmwareVmDetails
parseFrom(byte[] data)
static VmwareVmDetails
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VmwareVmDetails
parseFrom(com.google.protobuf.ByteString data)
static VmwareVmDetails
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VmwareVmDetails
parseFrom(com.google.protobuf.CodedInputStream input)
static VmwareVmDetails
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VmwareVmDetails
parseFrom(InputStream input)
static VmwareVmDetails
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VmwareVmDetails
parseFrom(ByteBuffer data)
static VmwareVmDetails
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<VmwareVmDetails>
parser()
VmwareVmDetails.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.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 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:
getVmId
in 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:
getVmIdBytes
in 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:
getDatacenterId
in 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:
getDatacenterIdBytes
in 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:
getDatacenterDescription
in 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:
getDatacenterDescriptionBytes
in interfaceVmwareVmDetailsOrBuilder
- Returns:
- The bytes for datacenterDescription.
-
getUuid
public String getUuid()
The unique identifier of the VM in vCenter.
string uuid = 4;
- Specified by:
getUuid
in interfaceVmwareVmDetailsOrBuilder
- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()
The unique identifier of the VM in vCenter.
string uuid = 4;
- Specified by:
getUuidBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getPowerStateValue
in 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:
getPowerState
in interfaceVmwareVmDetailsOrBuilder
- Returns:
- The powerState.
-
getCpuCount
public int getCpuCount()
The number of cpus in the VM.
int32 cpu_count = 7;
- Specified by:
getCpuCount
in interfaceVmwareVmDetailsOrBuilder
- 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 interfaceVmwareVmDetailsOrBuilder
- Returns:
- The memoryMb.
-
getDiskCount
public int getDiskCount()
The number of disks the VM has.
int32 disk_count = 9;
- Specified by:
getDiskCount
in 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:
getCommittedStorageMb
in 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:
getGuestDescription
in 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:
getGuestDescriptionBytes
in 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:
getBootOptionValue
in 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:
getBootOption
in interfaceVmwareVmDetailsOrBuilder
- Returns:
- The bootOption.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VmwareVmDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public VmwareVmDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-