Package com.google.cloud.vmmigration.v1
Class VmwareVmDetails.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
- com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder
-
- All Implemented Interfaces:
VmwareVmDetailsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- VmwareVmDetails
public static final class VmwareVmDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder> implements VmwareVmDetailsOrBuilder
VmwareVmDetails describes a VM in vCenter.
Protobuf typegoogle.cloud.vmmigration.v1.VmwareVmDetails
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VmwareVmDetails.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VmwareVmDetails
build()
VmwareVmDetails
buildPartial()
VmwareVmDetails.Builder
clear()
VmwareVmDetails.Builder
clearBootOption()
Output only.VmwareVmDetails.Builder
clearCommittedStorageMb()
The total size of the storage allocated to the VM in MB.VmwareVmDetails.Builder
clearCpuCount()
The number of cpus in the VM.VmwareVmDetails.Builder
clearDatacenterDescription()
The descriptive name of the vCenter's datacenter this VM is contained in.VmwareVmDetails.Builder
clearDatacenterId()
The id of the vCenter's datacenter this VM is contained in.VmwareVmDetails.Builder
clearDiskCount()
The number of disks the VM has.VmwareVmDetails.Builder
clearDisplayName()
The display name of the VM.VmwareVmDetails.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VmwareVmDetails.Builder
clearGuestDescription()
The VM's OS.VmwareVmDetails.Builder
clearMemoryMb()
The size of the memory of the VM in MB.VmwareVmDetails.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VmwareVmDetails.Builder
clearPowerState()
The power state of the VM at the moment list was taken.VmwareVmDetails.Builder
clearUuid()
The unique identifier of the VM in vCenter.VmwareVmDetails.Builder
clearVmId()
The VM's id in the source (note that this is not the MigratingVm's id).VmwareVmDetails.Builder
clone()
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.VmwareVmDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.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.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).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VmwareVmDetails.Builder
mergeFrom(VmwareVmDetails other)
VmwareVmDetails.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VmwareVmDetails.Builder
mergeFrom(com.google.protobuf.Message other)
VmwareVmDetails.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VmwareVmDetails.Builder
setBootOption(VmwareVmDetails.BootOption value)
Output only.VmwareVmDetails.Builder
setBootOptionValue(int value)
Output only.VmwareVmDetails.Builder
setCommittedStorageMb(long value)
The total size of the storage allocated to the VM in MB.VmwareVmDetails.Builder
setCpuCount(int value)
The number of cpus in the VM.VmwareVmDetails.Builder
setDatacenterDescription(String value)
The descriptive name of the vCenter's datacenter this VM is contained in.VmwareVmDetails.Builder
setDatacenterDescriptionBytes(com.google.protobuf.ByteString value)
The descriptive name of the vCenter's datacenter this VM is contained in.VmwareVmDetails.Builder
setDatacenterId(String value)
The id of the vCenter's datacenter this VM is contained in.VmwareVmDetails.Builder
setDatacenterIdBytes(com.google.protobuf.ByteString value)
The id of the vCenter's datacenter this VM is contained in.VmwareVmDetails.Builder
setDiskCount(int value)
The number of disks the VM has.VmwareVmDetails.Builder
setDisplayName(String value)
The display name of the VM.VmwareVmDetails.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the VM.VmwareVmDetails.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VmwareVmDetails.Builder
setGuestDescription(String value)
The VM's OS.VmwareVmDetails.Builder
setGuestDescriptionBytes(com.google.protobuf.ByteString value)
The VM's OS.VmwareVmDetails.Builder
setMemoryMb(int value)
The size of the memory of the VM in MB.VmwareVmDetails.Builder
setPowerState(VmwareVmDetails.PowerState value)
The power state of the VM at the moment list was taken.VmwareVmDetails.Builder
setPowerStateValue(int value)
The power state of the VM at the moment list was taken.VmwareVmDetails.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
VmwareVmDetails.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VmwareVmDetails.Builder
setUuid(String value)
The unique identifier of the VM in vCenter.VmwareVmDetails.Builder
setUuidBytes(com.google.protobuf.ByteString value)
The unique identifier of the VM in vCenter.VmwareVmDetails.Builder
setVmId(String value)
The VM's id in the source (note that this is not the MigratingVm's id).VmwareVmDetails.Builder
setVmIdBytes(com.google.protobuf.ByteString value)
The VM's id in the source (note that this is not the MigratingVm's id).-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<VmwareVmDetails.Builder>
-
clear
public VmwareVmDetails.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
getDefaultInstanceForType
public VmwareVmDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VmwareVmDetails build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VmwareVmDetails buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VmwareVmDetails.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
setField
public VmwareVmDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
clearField
public VmwareVmDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
clearOneof
public VmwareVmDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
setRepeatedField
public VmwareVmDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
addRepeatedField
public VmwareVmDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
mergeFrom
public VmwareVmDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VmwareVmDetails.Builder>
-
mergeFrom
public VmwareVmDetails.Builder mergeFrom(VmwareVmDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
mergeFrom
public VmwareVmDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VmwareVmDetails.Builder>
- Throws:
IOException
-
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.
-
setVmId
public VmwareVmDetails.Builder setVmId(String value)
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;
- Parameters:
value
- The vmId to set.- Returns:
- This builder for chaining.
-
clearVmId
public VmwareVmDetails.Builder clearVmId()
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:
- This builder for chaining.
-
setVmIdBytes
public VmwareVmDetails.Builder setVmIdBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for vmId to set.- Returns:
- This builder for chaining.
-
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.
-
setDatacenterId
public VmwareVmDetails.Builder setDatacenterId(String value)
The id of the vCenter's datacenter this VM is contained in.
string datacenter_id = 2;
- Parameters:
value
- The datacenterId to set.- Returns:
- This builder for chaining.
-
clearDatacenterId
public VmwareVmDetails.Builder clearDatacenterId()
The id of the vCenter's datacenter this VM is contained in.
string datacenter_id = 2;
- Returns:
- This builder for chaining.
-
setDatacenterIdBytes
public VmwareVmDetails.Builder setDatacenterIdBytes(com.google.protobuf.ByteString value)
The id of the vCenter's datacenter this VM is contained in.
string datacenter_id = 2;
- Parameters:
value
- The bytes for datacenterId to set.- Returns:
- This builder for chaining.
-
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.
-
setDatacenterDescription
public VmwareVmDetails.Builder setDatacenterDescription(String value)
The descriptive name of the vCenter's datacenter this VM is contained in.
string datacenter_description = 3;
- Parameters:
value
- The datacenterDescription to set.- Returns:
- This builder for chaining.
-
clearDatacenterDescription
public VmwareVmDetails.Builder clearDatacenterDescription()
The descriptive name of the vCenter's datacenter this VM is contained in.
string datacenter_description = 3;
- Returns:
- This builder for chaining.
-
setDatacenterDescriptionBytes
public VmwareVmDetails.Builder setDatacenterDescriptionBytes(com.google.protobuf.ByteString value)
The descriptive name of the vCenter's datacenter this VM is contained in.
string datacenter_description = 3;
- Parameters:
value
- The bytes for datacenterDescription to set.- Returns:
- This builder for chaining.
-
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.
-
setUuid
public VmwareVmDetails.Builder setUuid(String value)
The unique identifier of the VM in vCenter.
string uuid = 4;
- Parameters:
value
- The uuid to set.- Returns:
- This builder for chaining.
-
clearUuid
public VmwareVmDetails.Builder clearUuid()
The unique identifier of the VM in vCenter.
string uuid = 4;
- Returns:
- This builder for chaining.
-
setUuidBytes
public VmwareVmDetails.Builder setUuidBytes(com.google.protobuf.ByteString value)
The unique identifier of the VM in vCenter.
string uuid = 4;
- Parameters:
value
- The bytes for uuid to set.- Returns:
- This builder for chaining.
-
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.
-
setDisplayName
public VmwareVmDetails.Builder setDisplayName(String value)
The display name of the VM. Note that this is not necessarily unique.
string display_name = 5;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public VmwareVmDetails.Builder clearDisplayName()
The display name of the VM. Note that this is not necessarily unique.
string display_name = 5;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public VmwareVmDetails.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the VM. Note that this is not necessarily unique.
string display_name = 5;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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.
-
setPowerStateValue
public VmwareVmDetails.Builder setPowerStateValue(int value)
The power state of the VM at the moment list was taken.
.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6;
- Parameters:
value
- The enum numeric value on the wire for powerState to set.- Returns:
- This builder for chaining.
-
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.
-
setPowerState
public VmwareVmDetails.Builder setPowerState(VmwareVmDetails.PowerState value)
The power state of the VM at the moment list was taken.
.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6;
- Parameters:
value
- The powerState to set.- Returns:
- This builder for chaining.
-
clearPowerState
public VmwareVmDetails.Builder clearPowerState()
The power state of the VM at the moment list was taken.
.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6;
- Returns:
- This builder for chaining.
-
getCpuCount
public int getCpuCount()
The number of cpus in the VM.
int32 cpu_count = 7;
- Specified by:
getCpuCount
in interfaceVmwareVmDetailsOrBuilder
- Returns:
- The cpuCount.
-
setCpuCount
public VmwareVmDetails.Builder setCpuCount(int value)
The number of cpus in the VM.
int32 cpu_count = 7;
- Parameters:
value
- The cpuCount to set.- Returns:
- This builder for chaining.
-
clearCpuCount
public VmwareVmDetails.Builder clearCpuCount()
The number of cpus in the VM.
int32 cpu_count = 7;
- Returns:
- This builder for chaining.
-
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.
-
setMemoryMb
public VmwareVmDetails.Builder setMemoryMb(int value)
The size of the memory of the VM in MB.
int32 memory_mb = 8;
- Parameters:
value
- The memoryMb to set.- Returns:
- This builder for chaining.
-
clearMemoryMb
public VmwareVmDetails.Builder clearMemoryMb()
The size of the memory of the VM in MB.
int32 memory_mb = 8;
- Returns:
- This builder for chaining.
-
getDiskCount
public int getDiskCount()
The number of disks the VM has.
int32 disk_count = 9;
- Specified by:
getDiskCount
in interfaceVmwareVmDetailsOrBuilder
- Returns:
- The diskCount.
-
setDiskCount
public VmwareVmDetails.Builder setDiskCount(int value)
The number of disks the VM has.
int32 disk_count = 9;
- Parameters:
value
- The diskCount to set.- Returns:
- This builder for chaining.
-
clearDiskCount
public VmwareVmDetails.Builder clearDiskCount()
The number of disks the VM has.
int32 disk_count = 9;
- Returns:
- This builder for chaining.
-
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.
-
setCommittedStorageMb
public VmwareVmDetails.Builder setCommittedStorageMb(long value)
The total size of the storage allocated to the VM in MB.
int64 committed_storage_mb = 12;
- Parameters:
value
- The committedStorageMb to set.- Returns:
- This builder for chaining.
-
clearCommittedStorageMb
public VmwareVmDetails.Builder clearCommittedStorageMb()
The total size of the storage allocated to the VM in MB.
int64 committed_storage_mb = 12;
- Returns:
- This builder for chaining.
-
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.
-
setGuestDescription
public VmwareVmDetails.Builder setGuestDescription(String value)
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;
- Parameters:
value
- The guestDescription to set.- Returns:
- This builder for chaining.
-
clearGuestDescription
public VmwareVmDetails.Builder clearGuestDescription()
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;
- Returns:
- This builder for chaining.
-
setGuestDescriptionBytes
public VmwareVmDetails.Builder setGuestDescriptionBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for guestDescription to set.- Returns:
- This builder for chaining.
-
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.
-
setBootOptionValue
public VmwareVmDetails.Builder setBootOptionValue(int value)
Output only. The VM Boot Option.
.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for bootOption to set.- Returns:
- This builder for chaining.
-
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.
-
setBootOption
public VmwareVmDetails.Builder setBootOption(VmwareVmDetails.BootOption value)
Output only. The VM Boot Option.
.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bootOption to set.- Returns:
- This builder for chaining.
-
clearBootOption
public VmwareVmDetails.Builder clearBootOption()
Output only. The VM Boot Option.
.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final VmwareVmDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
mergeUnknownFields
public final VmwareVmDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VmwareVmDetails.Builder>
-
-