Class AzureVmDetails (1.74.0)

public final class AzureVmDetails extends GeneratedMessageV3 implements AzureVmDetailsOrBuilder

AzureVmDetails describes a VM in Azure.

Protobuf type google.cloud.vmmigration.v1.AzureVmDetails

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

TAGS_FIELD_NUMBER

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()
Returns
Type Description
AzureVmDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AzureVmDetails.Builder newBuilder()
Returns
Type Description
AzureVmDetails.Builder

newBuilder(AzureVmDetails prototype)

public static AzureVmDetails.Builder newBuilder(AzureVmDetails prototype)
Parameter
Name Description
prototype AzureVmDetails
Returns
Type Description
AzureVmDetails.Builder

parseDelimitedFrom(InputStream input)

public static AzureVmDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureVmDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AzureVmDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AzureVmDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AzureVmDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AzureVmDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AzureVmDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureVmDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AzureVmDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureVmDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AzureVmDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AzureVmDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureVmDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AzureVmDetails> parser()
Returns
Type Description
Parser<AzureVmDetails>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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

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.

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.

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.

getOsDiskOrBuilder()

public AzureVmDetails.OSDiskOrBuilder getOsDiskOrBuilder()

Description of the OS disk.

.google.cloud.vmmigration.v1.AzureVmDetails.OSDisk os_disk = 8;

Returns
Type Description
AzureVmDetails.OSDiskOrBuilder

getParserForType()

public Parser<AzureVmDetails> getParserForType()
Returns
Type Description
Parser<AzureVmDetails>
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;

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
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()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AzureVmDetails.Builder newBuilderForType()
Returns
Type Description
AzureVmDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AzureVmDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AzureVmDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AzureVmDetails.Builder toBuilder()
Returns
Type Description
AzureVmDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException