Interface DiskEntryOrBuilder (0.22.0)

public interface DiskEntryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCapacityBytes()

public abstract long getCapacityBytes()

Disk capacity.

int64 capacity_bytes = 1;

Returns
TypeDescription
long

The capacityBytes.

getDiskLabel()

public abstract String getDiskLabel()

Disk label.

string disk_label = 3;

Returns
TypeDescription
String

The diskLabel.

getDiskLabelBytes()

public abstract ByteString getDiskLabelBytes()

Disk label.

string disk_label = 3;

Returns
TypeDescription
ByteString

The bytes for diskLabel.

getDiskLabelType()

public abstract String getDiskLabelType()

Disk label type (e.g. BIOS/GPT)

string disk_label_type = 4;

Returns
TypeDescription
String

The diskLabelType.

getDiskLabelTypeBytes()

public abstract ByteString getDiskLabelTypeBytes()

Disk label type (e.g. BIOS/GPT)

string disk_label_type = 4;

Returns
TypeDescription
ByteString

The bytes for diskLabelType.

getFreeBytes()

public abstract long getFreeBytes()

Disk free space.

int64 free_bytes = 2;

Returns
TypeDescription
long

The freeBytes.

getHwAddress()

public abstract String getHwAddress()

Disk hardware address (e.g. 0:1 for SCSI).

string hw_address = 7;

Returns
TypeDescription
String

The hwAddress.

getHwAddressBytes()

public abstract ByteString getHwAddressBytes()

Disk hardware address (e.g. 0:1 for SCSI).

string hw_address = 7;

Returns
TypeDescription
ByteString

The bytes for hwAddress.

getInterfaceType()

public abstract DiskEntry.InterfaceType getInterfaceType()

Disks interface type.

.google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;

Returns
TypeDescription
DiskEntry.InterfaceType

The interfaceType.

getInterfaceTypeValue()

public abstract int getInterfaceTypeValue()

Disks interface type.

.google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for interfaceType.

getPartitions()

public abstract DiskPartitionList getPartitions()

Partition layout.

.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;

Returns
TypeDescription
DiskPartitionList

The partitions.

getPartitionsOrBuilder()

public abstract DiskPartitionListOrBuilder getPartitionsOrBuilder()

Partition layout.

.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;

Returns
TypeDescription
DiskPartitionListOrBuilder

getPlatformSpecificCase()

public abstract DiskEntry.PlatformSpecificCase getPlatformSpecificCase()
Returns
TypeDescription
DiskEntry.PlatformSpecificCase

getVmware()

public abstract VmwareDiskConfig getVmware()

VMware disk details.

.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;

Returns
TypeDescription
VmwareDiskConfig

The vmware.

getVmwareOrBuilder()

public abstract VmwareDiskConfigOrBuilder getVmwareOrBuilder()

VMware disk details.

.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;

Returns
TypeDescription
VmwareDiskConfigOrBuilder

hasPartitions()

public abstract boolean hasPartitions()

Partition layout.

.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;

Returns
TypeDescription
boolean

Whether the partitions field is set.

hasVmware()

public abstract boolean hasVmware()

VMware disk details.

.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;

Returns
TypeDescription
boolean

Whether the vmware field is set.