- 1.52.0 (latest)
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class VmwareVmDetails.Builder extends GeneratedMessageV3.Builder<VmwareVmDetails.Builder> implements VmwareVmDetailsOrBuilder
VmwareVmDetails describes a VM in vCenter.
Protobuf type google.cloud.vmmigration.v1.VmwareVmDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VmwareVmDetails.BuilderImplements
VmwareVmDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VmwareVmDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
build()
public VmwareVmDetails build()
Returns | |
---|---|
Type | Description |
VmwareVmDetails |
buildPartial()
public VmwareVmDetails buildPartial()
Returns | |
---|---|
Type | Description |
VmwareVmDetails |
clear()
public VmwareVmDetails.Builder clear()
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
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 | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
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 | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
clearCpuCount()
public VmwareVmDetails.Builder clearCpuCount()
The number of cpus in the VM.
int32 cpu_count = 7;
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
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 | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
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 | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
clearDiskCount()
public VmwareVmDetails.Builder clearDiskCount()
The number of disks the VM has.
int32 disk_count = 9;
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
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 | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VmwareVmDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
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 | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
clearMemoryMb()
public VmwareVmDetails.Builder clearMemoryMb()
The size of the memory of the VM in MB.
int32 memory_mb = 8;
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VmwareVmDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
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 | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
clearUuid()
public VmwareVmDetails.Builder clearUuid()
The unique identifier of the VM in vCenter.
string uuid = 4;
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
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 | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
clone()
public VmwareVmDetails.Builder clone()
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
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 | |
---|---|
Type | Description |
VmwareVmDetails.BootOption |
The bootOption. |
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()
public int 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 | |
---|---|
Type | Description |
VmwareVmDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
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 | |
---|---|
Type | Description |
String |
The guestDescription. |
getGuestDescriptionBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for guestDescription. |
getMemoryMb()
public int getMemoryMb()
The size of the memory of the VM in MB.
int32 memory_mb = 8;
Returns | |
---|---|
Type | Description |
int |
The memoryMb. |
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 | |
---|---|
Type | Description |
VmwareVmDetails.PowerState |
The powerState. |
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. |
getUuid()
public String 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 | |
---|---|
Type | Description |
ByteString |
The bytes for uuid. |
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;
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 | |
---|---|
Type | Description |
ByteString |
The bytes for vmId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(VmwareVmDetails other)
public VmwareVmDetails.Builder mergeFrom(VmwareVmDetails other)
Parameter | |
---|---|
Name | Description |
other |
VmwareVmDetails |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VmwareVmDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VmwareVmDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VmwareVmDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
setBootOption(VmwareVmDetails.BootOption value)
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];
Parameter | |
---|---|
Name | Description |
value |
VmwareVmDetails.BootOption The bootOption to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setBootOptionValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for bootOption to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setCommittedStorageMb(long value)
public VmwareVmDetails.Builder setCommittedStorageMb(long value)
The total size of the storage allocated to the VM in MB.
int64 committed_storage_mb = 12;
Parameter | |
---|---|
Name | Description |
value |
long The committedStorageMb to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setCpuCount(int value)
public VmwareVmDetails.Builder setCpuCount(int value)
The number of cpus in the VM.
int32 cpu_count = 7;
Parameter | |
---|---|
Name | Description |
value |
int The cpuCount to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setDatacenterDescription(String value)
public VmwareVmDetails.Builder setDatacenterDescription(String value)
The descriptive name of the vCenter's datacenter this VM is contained in.
string datacenter_description = 3;
Parameter | |
---|---|
Name | Description |
value |
String The datacenterDescription to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setDatacenterDescriptionBytes(ByteString value)
public VmwareVmDetails.Builder setDatacenterDescriptionBytes(ByteString value)
The descriptive name of the vCenter's datacenter this VM is contained in.
string datacenter_description = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for datacenterDescription to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setDatacenterId(String value)
public VmwareVmDetails.Builder setDatacenterId(String value)
The id of the vCenter's datacenter this VM is contained in.
string datacenter_id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The datacenterId to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setDatacenterIdBytes(ByteString value)
public VmwareVmDetails.Builder setDatacenterIdBytes(ByteString value)
The id of the vCenter's datacenter this VM is contained in.
string datacenter_id = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for datacenterId to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setDiskCount(int value)
public VmwareVmDetails.Builder setDiskCount(int value)
The number of disks the VM has.
int32 disk_count = 9;
Parameter | |
---|---|
Name | Description |
value |
int The diskCount to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setDisplayName(String value)
public VmwareVmDetails.Builder setDisplayName(String value)
The display name of the VM. Note that this is not necessarily unique.
string display_name = 5;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public VmwareVmDetails.Builder setDisplayNameBytes(ByteString value)
The display name of the VM. Note that this is not necessarily unique.
string display_name = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VmwareVmDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
setGuestDescription(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The guestDescription to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setGuestDescriptionBytes(ByteString value)
public VmwareVmDetails.Builder setGuestDescriptionBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for guestDescription to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setMemoryMb(int value)
public VmwareVmDetails.Builder setMemoryMb(int value)
The size of the memory of the VM in MB.
int32 memory_mb = 8;
Parameter | |
---|---|
Name | Description |
value |
int The memoryMb to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setPowerState(VmwareVmDetails.PowerState value)
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;
Parameter | |
---|---|
Name | Description |
value |
VmwareVmDetails.PowerState The powerState to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setPowerStateValue(int value)
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for powerState to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VmwareVmDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VmwareVmDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
setUuid(String value)
public VmwareVmDetails.Builder setUuid(String value)
The unique identifier of the VM in vCenter.
string uuid = 4;
Parameter | |
---|---|
Name | Description |
value |
String The uuid to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setUuidBytes(ByteString value)
public VmwareVmDetails.Builder setUuidBytes(ByteString value)
The unique identifier of the VM in vCenter.
string uuid = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uuid to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setVmId(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The vmId to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |
setVmIdBytes(ByteString value)
public VmwareVmDetails.Builder setVmIdBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for vmId to set. |
Returns | |
---|---|
Type | Description |
VmwareVmDetails.Builder |
This builder for chaining. |