Class AzureSourceVmDetails (1.74.0)

public final class AzureSourceVmDetails extends GeneratedMessageV3 implements AzureSourceVmDetailsOrBuilder

Represent the source Azure VM details.

Protobuf type google.cloud.vmmigration.v1.AzureSourceVmDetails

Static Fields

ARCHITECTURE_FIELD_NUMBER

public static final int ARCHITECTURE_FIELD_NUMBER
Field Value
Type Description
int

COMMITTED_STORAGE_BYTES_FIELD_NUMBER

public static final int COMMITTED_STORAGE_BYTES_FIELD_NUMBER
Field Value
Type Description
int

DISKS_FIELD_NUMBER

public static final int DISKS_FIELD_NUMBER
Field Value
Type Description
int

FIRMWARE_FIELD_NUMBER

public static final int FIRMWARE_FIELD_NUMBER
Field Value
Type Description
int

VM_CAPABILITIES_INFO_FIELD_NUMBER

public static final int VM_CAPABILITIES_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AzureSourceVmDetails getDefaultInstance()
Returns
Type Description
AzureSourceVmDetails

getDescriptor()

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

newBuilder()

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

newBuilder(AzureSourceVmDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getArchitecture()

public VmArchitecture getArchitecture()

Output only. The VM architecture.

.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmArchitecture

The architecture.

getArchitectureValue()

public int getArchitectureValue()

Output only. The VM architecture.

.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for architecture.

getCommittedStorageBytes()

public long getCommittedStorageBytes()

Output only. The total size of the disks being migrated in bytes.

int64 committed_storage_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The committedStorageBytes.

getDefaultInstanceForType()

public AzureSourceVmDetails getDefaultInstanceForType()
Returns
Type Description
AzureSourceVmDetails

getDisks(int index)

public AzureSourceVmDetails.AzureDiskDetails getDisks(int index)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AzureSourceVmDetails.AzureDiskDetails

getDisksCount()

public int getDisksCount()

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDisksList()

public List<AzureSourceVmDetails.AzureDiskDetails> getDisksList()

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AzureDiskDetails>

getDisksOrBuilder(int index)

public AzureSourceVmDetails.AzureDiskDetailsOrBuilder getDisksOrBuilder(int index)

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AzureSourceVmDetails.AzureDiskDetailsOrBuilder

getDisksOrBuilderList()

public List<? extends AzureSourceVmDetails.AzureDiskDetailsOrBuilder> getDisksOrBuilderList()

Output only. The disks attached to the source VM.

repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetailsOrBuilder>

getFirmware()

public AzureSourceVmDetails.Firmware getFirmware()

Output only. The firmware type of the source VM.

.google.cloud.vmmigration.v1.AzureSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureSourceVmDetails.Firmware

The firmware.

getFirmwareValue()

public int getFirmwareValue()

Output only. The firmware type of the source VM.

.google.cloud.vmmigration.v1.AzureSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for firmware.

getParserForType()

public Parser<AzureSourceVmDetails> getParserForType()
Returns
Type Description
Parser<AzureSourceVmDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVmCapabilitiesInfo()

public VmCapabilities getVmCapabilitiesInfo()

Output only. Information about VM capabilities needed for some Compute Engine features.

.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmCapabilities

The vmCapabilitiesInfo.

getVmCapabilitiesInfoOrBuilder()

public VmCapabilitiesOrBuilder getVmCapabilitiesInfoOrBuilder()

Output only. Information about VM capabilities needed for some Compute Engine features.

.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmCapabilitiesOrBuilder

hasVmCapabilitiesInfo()

public boolean hasVmCapabilitiesInfo()

Output only. Information about VM capabilities needed for some Compute Engine features.

.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the vmCapabilitiesInfo field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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