public final class AzureVmDetails extends GeneratedMessageV3 implements AzureVmDetailsOrBuilder
AzureVmDetails describes a VM in Azure.
Protobuf type google.cloud.vmmigration.v1.AzureVmDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ARCHITECTURE_FIELD_NUMBER
public static final int ARCHITECTURE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BOOT_OPTION_FIELD_NUMBER
public static final int BOOT_OPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
COMMITTED_STORAGE_MB_FIELD_NUMBER
public static final int COMMITTED_STORAGE_MB_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
COMPUTER_NAME_FIELD_NUMBER
public static final int COMPUTER_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CPU_COUNT_FIELD_NUMBER
public static final int CPU_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISKS_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISK_COUNT_FIELD_NUMBER
public static final int DISK_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MEMORY_MB_FIELD_NUMBER
public static final int MEMORY_MB_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OS_DESCRIPTION_FIELD_NUMBER
public static final int OS_DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OS_DISK_FIELD_NUMBER
public static final int OS_DISK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POWER_STATE_FIELD_NUMBER
public static final int POWER_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TAGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VM_ID_FIELD_NUMBER
public static final int VM_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VM_SIZE_FIELD_NUMBER
public static final int VM_SIZE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AzureVmDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AzureVmDetails.Builder newBuilder()
newBuilder(AzureVmDetails prototype)
public static AzureVmDetails.Builder newBuilder(AzureVmDetails prototype)
public static AzureVmDetails parseDelimitedFrom(InputStream input)
public static AzureVmDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AzureVmDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AzureVmDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AzureVmDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureVmDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureVmDetails parseFrom(CodedInputStream input)
public static AzureVmDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AzureVmDetails parseFrom(InputStream input)
public static AzureVmDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AzureVmDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AzureVmDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AzureVmDetails> parser()
Methods
public boolean containsTags(String key)
The tags of the VM.
map<string, string> tags = 12;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getArchitecture()
public AzureVmDetails.VmArchitecture getArchitecture()
The CPU architecture.
.google.cloud.vmmigration.v1.AzureVmDetails.VmArchitecture architecture = 14;
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;
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()
The number of cpus the VM has.
int32 cpu_count = 4;
Returns |
Type |
Description |
int |
The cpuCount.
|
getDefaultInstanceForType()
public AzureVmDetails getDefaultInstanceForType()
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
|
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;
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
|
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()
The memory size of the VM in MB.
int32 memory_mb = 5;
Returns |
Type |
Description |
int |
The memoryMb.
|
getOsDescription()
public AzureVmDetails.OSDescription getOsDescription()
Description of the OS.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDescription os_description = 10;
getOsDescriptionOrBuilder()
public AzureVmDetails.OSDescriptionOrBuilder getOsDescriptionOrBuilder()
Description of the OS.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDescription os_description = 10;
getOsDisk()
public AzureVmDetails.OSDisk getOsDisk()
Description of the OS disk.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDisk os_disk = 8;
getOsDiskOrBuilder()
public AzureVmDetails.OSDiskOrBuilder getOsDiskOrBuilder()
Description of the OS disk.
.google.cloud.vmmigration.v1.AzureVmDetails.OSDisk os_disk = 8;
getParserForType()
public Parser<AzureVmDetails> getParserForType()
Overrides
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;
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public Map<String,String> getTags()
public int getTagsCount()
The tags of the VM.
map<string, string> tags = 12;
Returns |
Type |
Description |
int |
|
public Map<String,String> getTagsMap()
The tags of the VM.
map<string, string> tags = 12;
public String getTagsOrDefault(String key, String defaultValue)
The tags of the VM.
map<string, string> tags = 12;
Returns |
Type |
Description |
String |
|
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()
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AzureVmDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AzureVmDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AzureVmDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides