- 1.76.0 (latest)
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 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 AzureVmDetails.Builder extends GeneratedMessageV3.Builder<AzureVmDetails.Builder> implements AzureVmDetailsOrBuilderAzureVmDetails describes a VM in Azure.
Protobuf type google.cloud.vmmigration.v1.AzureVmDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AzureVmDetails.BuilderImplements
AzureVmDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDisks(Iterable<? extends AzureVmDetails.Disk> values)
public AzureVmDetails.Builder addAllDisks(Iterable<? extends AzureVmDetails.Disk> values)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.vmmigration.v1.AzureVmDetails.Disk> |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
addDisks(AzureVmDetails.Disk value)
public AzureVmDetails.Builder addDisks(AzureVmDetails.Disk value)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
AzureVmDetails.Disk |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
addDisks(AzureVmDetails.Disk.Builder builderForValue)
public AzureVmDetails.Builder addDisks(AzureVmDetails.Disk.Builder builderForValue)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AzureVmDetails.Disk.Builder |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
addDisks(int index, AzureVmDetails.Disk value)
public AzureVmDetails.Builder addDisks(int index, AzureVmDetails.Disk value)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AzureVmDetails.Disk |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
addDisks(int index, AzureVmDetails.Disk.Builder builderForValue)
public AzureVmDetails.Builder addDisks(int index, AzureVmDetails.Disk.Builder builderForValue)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AzureVmDetails.Disk.Builder |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
addDisksBuilder()
public AzureVmDetails.Disk.Builder addDisksBuilder()Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
|
addDisksBuilder(int index)
public AzureVmDetails.Disk.Builder addDisksBuilder(int index)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AzureVmDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
build()
public AzureVmDetails build()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails |
|
buildPartial()
public AzureVmDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails |
|
clear()
public AzureVmDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
clearArchitecture()
public AzureVmDetails.Builder clearArchitecture()The CPU architecture.
.google.cloud.vmmigration.v1.AzureVmDetails.VmArchitecture architecture = 14;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
clearBootOption()
public AzureVmDetails.Builder clearBootOption()The VM Boot Option.
.google.cloud.vmmigration.v1.AzureVmDetails.BootOption boot_option = 11;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
clearCommittedStorageMb()
public AzureVmDetails.Builder clearCommittedStorageMb()The total size of the storage allocated to the VM in MB.
int64 committed_storage_mb = 7;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
clearComputerName()
public AzureVmDetails.Builder clearComputerName()The VM's ComputerName.
string computer_name = 13;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
clearCpuCount()
public AzureVmDetails.Builder clearCpuCount()The number of cpus the VM has.
int32 cpu_count = 4;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
clearDiskCount()
public AzureVmDetails.Builder clearDiskCount()The number of disks the VM has, including OS disk.
int32 disk_count = 6;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
clearDisks()
public AzureVmDetails.Builder clearDisks()Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public AzureVmDetails.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
clearMemoryMb()
public AzureVmDetails.Builder clearMemoryMb()The memory size of the VM in MB.
int32 memory_mb = 5;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AzureVmDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
clearOsDescription()
public AzureVmDetails.Builder clearOsDescription()Description of the OS.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDescription os_description = 10;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
clearOsDisk()
public AzureVmDetails.Builder clearOsDisk()Description of the OS disk.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDisk os_disk = 8;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
clearPowerState()
public AzureVmDetails.Builder clearPowerState()The power state of the VM at the moment list was taken.
.google.cloud.vmmigration.v1.AzureVmDetails.PowerState power_state = 2;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
clearTags()
public AzureVmDetails.Builder clearTags()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
clearVmId()
public AzureVmDetails.Builder clearVmId()The VM full path in Azure.
string vm_id = 1;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
clearVmSize()
public AzureVmDetails.Builder clearVmSize()VM size as configured in Azure. Determines the VM's hardware spec.
string vm_size = 3;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
clone()
public AzureVmDetails.Builder clone()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
containsTags(String key)
public boolean containsTags(String key)The tags of the VM.
map<string, string> tags = 12;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getArchitecture()
public AzureVmDetails.VmArchitecture getArchitecture()The CPU architecture.
.google.cloud.vmmigration.v1.AzureVmDetails.VmArchitecture architecture = 14;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.VmArchitecture |
The architecture. |
getArchitectureValue()
public int getArchitectureValue()The CPU architecture.
.google.cloud.vmmigration.v1.AzureVmDetails.VmArchitecture architecture = 14;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for architecture. |
getBootOption()
public AzureVmDetails.BootOption getBootOption()The VM Boot Option.
.google.cloud.vmmigration.v1.AzureVmDetails.BootOption boot_option = 11;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.BootOption |
The bootOption. |
getBootOptionValue()
public int getBootOptionValue()The VM Boot Option.
.google.cloud.vmmigration.v1.AzureVmDetails.BootOption boot_option = 11;
| 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 = 7;
| Returns | |
|---|---|
| Type | Description |
long |
The committedStorageMb. |
getComputerName()
public String getComputerName()The VM's ComputerName.
string computer_name = 13;
| Returns | |
|---|---|
| Type | Description |
String |
The computerName. |
getComputerNameBytes()
public ByteString getComputerNameBytes()The VM's ComputerName.
string computer_name = 13;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for computerName. |
getCpuCount()
public int getCpuCount()The number of cpus the VM has.
int32 cpu_count = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The cpuCount. |
getDefaultInstanceForType()
public AzureVmDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDiskCount()
public int getDiskCount()The number of disks the VM has, including OS disk.
int32 disk_count = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The diskCount. |
getDisks(int index)
public AzureVmDetails.Disk getDisks(int index)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk |
|
getDisksBuilder(int index)
public AzureVmDetails.Disk.Builder getDisksBuilder(int index)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Disk.Builder |
|
getDisksBuilderList()
public List<AzureVmDetails.Disk.Builder> getDisksBuilderList()Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getDisksCount()
public int getDisksCount()Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Returns | |
|---|---|
| Type | Description |
int |
|
getDisksList()
public List<AzureVmDetails.Disk> getDisksList()Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Returns | |
|---|---|
| Type | Description |
List<Disk> |
|
getDisksOrBuilder(int index)
public AzureVmDetails.DiskOrBuilder getDisksOrBuilder(int index)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.DiskOrBuilder |
|
getDisksOrBuilderList()
public List<? extends AzureVmDetails.DiskOrBuilder> getDisksOrBuilderList()Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vmmigration.v1.AzureVmDetails.DiskOrBuilder> |
|
getMemoryMb()
public int getMemoryMb()The memory size of the VM in MB.
int32 memory_mb = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The memoryMb. |
getMutableTags() (deprecated)
public Map<String,String> getMutableTags()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getOsDescription()
public AzureVmDetails.OSDescription getOsDescription()Description of the OS.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDescription os_description = 10;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription |
The osDescription. |
getOsDescriptionBuilder()
public AzureVmDetails.OSDescription.Builder getOsDescriptionBuilder()Description of the OS.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDescription os_description = 10;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
|
getOsDescriptionOrBuilder()
public AzureVmDetails.OSDescriptionOrBuilder getOsDescriptionOrBuilder()Description of the OS.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDescription os_description = 10;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescriptionOrBuilder |
|
getOsDisk()
public AzureVmDetails.OSDisk getOsDisk()Description of the OS disk.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDisk os_disk = 8;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDisk |
The osDisk. |
getOsDiskBuilder()
public AzureVmDetails.OSDisk.Builder getOsDiskBuilder()Description of the OS disk.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDisk os_disk = 8;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDisk.Builder |
|
getOsDiskOrBuilder()
public AzureVmDetails.OSDiskOrBuilder getOsDiskOrBuilder()Description of the OS disk.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDisk os_disk = 8;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDiskOrBuilder |
|
getPowerState()
public AzureVmDetails.PowerState getPowerState()The power state of the VM at the moment list was taken.
.google.cloud.vmmigration.v1.AzureVmDetails.PowerState power_state = 2;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.PowerState |
The powerState. |
getPowerStateValue()
public int getPowerStateValue()The power state of the VM at the moment list was taken.
.google.cloud.vmmigration.v1.AzureVmDetails.PowerState power_state = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for powerState. |
getTags() (deprecated)
public Map<String,String> getTags()Use #getTagsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getTagsCount()
public int getTagsCount()The tags of the VM.
map<string, string> tags = 12;
| Returns | |
|---|---|
| Type | Description |
int |
|
getTagsMap()
public Map<String,String> getTagsMap()The tags of the VM.
map<string, string> tags = 12;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getTagsOrDefault(String key, String defaultValue)
public String getTagsOrDefault(String key, String defaultValue)The tags of the VM.
map<string, string> tags = 12;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getTagsOrThrow(String key)
public String getTagsOrThrow(String key)The tags of the VM.
map<string, string> tags = 12;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getVmId()
public String getVmId()The VM full path in Azure.
string vm_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The vmId. |
getVmIdBytes()
public ByteString getVmIdBytes()The VM full path in Azure.
string vm_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vmId. |
getVmSize()
public String getVmSize()VM size as configured in Azure. Determines the VM's hardware spec.
string vm_size = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The vmSize. |
getVmSizeBytes()
public ByteString getVmSizeBytes()VM size as configured in Azure. Determines the VM's hardware spec.
string vm_size = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vmSize. |
hasOsDescription()
public boolean hasOsDescription()Description of the OS.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDescription os_description = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the osDescription field is set. |
hasOsDisk()
public boolean hasOsDisk()Description of the OS disk.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDisk os_disk = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the osDisk field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AzureVmDetails other)
public AzureVmDetails.Builder mergeFrom(AzureVmDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
AzureVmDetails |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AzureVmDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AzureVmDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
mergeOsDescription(AzureVmDetails.OSDescription value)
public AzureVmDetails.Builder mergeOsDescription(AzureVmDetails.OSDescription value)Description of the OS.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDescription os_description = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
AzureVmDetails.OSDescription |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
mergeOsDisk(AzureVmDetails.OSDisk value)
public AzureVmDetails.Builder mergeOsDisk(AzureVmDetails.OSDisk value)Description of the OS disk.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDisk os_disk = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
AzureVmDetails.OSDisk |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AzureVmDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
putAllTags(Map<String,String> values)
public AzureVmDetails.Builder putAllTags(Map<String,String> values)The tags of the VM.
map<string, string> tags = 12;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
putTags(String key, String value)
public AzureVmDetails.Builder putTags(String key, String value)The tags of the VM.
map<string, string> tags = 12;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
removeDisks(int index)
public AzureVmDetails.Builder removeDisks(int index)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
removeTags(String key)
public AzureVmDetails.Builder removeTags(String key)The tags of the VM.
map<string, string> tags = 12;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
setArchitecture(AzureVmDetails.VmArchitecture value)
public AzureVmDetails.Builder setArchitecture(AzureVmDetails.VmArchitecture value)The CPU architecture.
.google.cloud.vmmigration.v1.AzureVmDetails.VmArchitecture architecture = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
AzureVmDetails.VmArchitectureThe architecture to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setArchitectureValue(int value)
public AzureVmDetails.Builder setArchitectureValue(int value)The CPU architecture.
.google.cloud.vmmigration.v1.AzureVmDetails.VmArchitecture architecture = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for architecture to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setBootOption(AzureVmDetails.BootOption value)
public AzureVmDetails.Builder setBootOption(AzureVmDetails.BootOption value)The VM Boot Option.
.google.cloud.vmmigration.v1.AzureVmDetails.BootOption boot_option = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
AzureVmDetails.BootOptionThe bootOption to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setBootOptionValue(int value)
public AzureVmDetails.Builder setBootOptionValue(int value)The VM Boot Option.
.google.cloud.vmmigration.v1.AzureVmDetails.BootOption boot_option = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for bootOption to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setCommittedStorageMb(long value)
public AzureVmDetails.Builder setCommittedStorageMb(long value)The total size of the storage allocated to the VM in MB.
int64 committed_storage_mb = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe committedStorageMb to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setComputerName(String value)
public AzureVmDetails.Builder setComputerName(String value)The VM's ComputerName.
string computer_name = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe computerName to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setComputerNameBytes(ByteString value)
public AzureVmDetails.Builder setComputerNameBytes(ByteString value)The VM's ComputerName.
string computer_name = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for computerName to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setCpuCount(int value)
public AzureVmDetails.Builder setCpuCount(int value)The number of cpus the VM has.
int32 cpu_count = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe cpuCount to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setDiskCount(int value)
public AzureVmDetails.Builder setDiskCount(int value)The number of disks the VM has, including OS disk.
int32 disk_count = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe diskCount to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setDisks(int index, AzureVmDetails.Disk value)
public AzureVmDetails.Builder setDisks(int index, AzureVmDetails.Disk value)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AzureVmDetails.Disk |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
setDisks(int index, AzureVmDetails.Disk.Builder builderForValue)
public AzureVmDetails.Builder setDisks(int index, AzureVmDetails.Disk.Builder builderForValue)Description of the data disks.
repeated .google.cloud.vmmigration.v1.AzureVmDetails.Disk disks = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AzureVmDetails.Disk.Builder |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public AzureVmDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
setMemoryMb(int value)
public AzureVmDetails.Builder setMemoryMb(int value)The memory size of the VM in MB.
int32 memory_mb = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe memoryMb to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setOsDescription(AzureVmDetails.OSDescription value)
public AzureVmDetails.Builder setOsDescription(AzureVmDetails.OSDescription value)Description of the OS.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDescription os_description = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
AzureVmDetails.OSDescription |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
setOsDescription(AzureVmDetails.OSDescription.Builder builderForValue)
public AzureVmDetails.Builder setOsDescription(AzureVmDetails.OSDescription.Builder builderForValue)Description of the OS.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDescription os_description = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AzureVmDetails.OSDescription.Builder |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
setOsDisk(AzureVmDetails.OSDisk value)
public AzureVmDetails.Builder setOsDisk(AzureVmDetails.OSDisk value)Description of the OS disk.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDisk os_disk = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
AzureVmDetails.OSDisk |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
setOsDisk(AzureVmDetails.OSDisk.Builder builderForValue)
public AzureVmDetails.Builder setOsDisk(AzureVmDetails.OSDisk.Builder builderForValue)Description of the OS disk.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDisk os_disk = 8;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AzureVmDetails.OSDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
setPowerState(AzureVmDetails.PowerState value)
public AzureVmDetails.Builder setPowerState(AzureVmDetails.PowerState value)The power state of the VM at the moment list was taken.
.google.cloud.vmmigration.v1.AzureVmDetails.PowerState power_state = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AzureVmDetails.PowerStateThe powerState to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setPowerStateValue(int value)
public AzureVmDetails.Builder setPowerStateValue(int value)The power state of the VM at the moment list was taken.
.google.cloud.vmmigration.v1.AzureVmDetails.PowerState power_state = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for powerState to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AzureVmDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AzureVmDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
|
setVmId(String value)
public AzureVmDetails.Builder setVmId(String value)The VM full path in Azure.
string vm_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vmId to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setVmIdBytes(ByteString value)
public AzureVmDetails.Builder setVmIdBytes(ByteString value)The VM full path in Azure.
string vm_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vmId to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setVmSize(String value)
public AzureVmDetails.Builder setVmSize(String value)VM size as configured in Azure. Determines the VM's hardware spec.
string vm_size = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vmSize to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |
setVmSizeBytes(ByteString value)
public AzureVmDetails.Builder setVmSizeBytes(ByteString value)VM size as configured in Azure. Determines the VM's hardware spec.
string vm_size = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vmSize to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.Builder |
This builder for chaining. |