public interface DiskEntryOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCapacityBytes()
public abstract long getCapacityBytes()
Disk capacity.
int64 capacity_bytes = 1;
Returns | |
---|---|
Type | Description |
long |
The capacityBytes. |
getDiskLabel()
public abstract String getDiskLabel()
Disk label.
string disk_label = 3;
Returns | |
---|---|
Type | Description |
String |
The diskLabel. |
getDiskLabelBytes()
public abstract ByteString getDiskLabelBytes()
Disk label.
string disk_label = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for diskLabel. |
getDiskLabelType()
public abstract String getDiskLabelType()
Disk label type (e.g. BIOS/GPT)
string disk_label_type = 4;
Returns | |
---|---|
Type | Description |
String |
The diskLabelType. |
getDiskLabelTypeBytes()
public abstract ByteString getDiskLabelTypeBytes()
Disk label type (e.g. BIOS/GPT)
string disk_label_type = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for diskLabelType. |
getFreeBytes()
public abstract long getFreeBytes()
Disk free space.
int64 free_bytes = 2;
Returns | |
---|---|
Type | Description |
long |
The freeBytes. |
getHwAddress()
public abstract String getHwAddress()
Disk hardware address (e.g. 0:1 for SCSI).
string hw_address = 7;
Returns | |
---|---|
Type | Description |
String |
The hwAddress. |
getHwAddressBytes()
public abstract ByteString getHwAddressBytes()
Disk hardware address (e.g. 0:1 for SCSI).
string hw_address = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for hwAddress. |
getInterfaceType()
public abstract DiskEntry.InterfaceType getInterfaceType()
Disks interface type.
.google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;
Returns | |
---|---|
Type | Description |
DiskEntry.InterfaceType |
The interfaceType. |
getInterfaceTypeValue()
public abstract int getInterfaceTypeValue()
Disks interface type.
.google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
DiskPartitionList |
The partitions. |
getPartitionsOrBuilder()
public abstract DiskPartitionListOrBuilder getPartitionsOrBuilder()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
Returns | |
---|---|
Type | Description |
DiskPartitionListOrBuilder |
getPlatformSpecificCase()
public abstract DiskEntry.PlatformSpecificCase getPlatformSpecificCase()
Returns | |
---|---|
Type | Description |
DiskEntry.PlatformSpecificCase |
getVmware()
public abstract VmwareDiskConfig getVmware()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
Returns | |
---|---|
Type | Description |
VmwareDiskConfig |
The vmware. |
getVmwareOrBuilder()
public abstract VmwareDiskConfigOrBuilder getVmwareOrBuilder()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
Returns | |
---|---|
Type | Description |
VmwareDiskConfigOrBuilder |
hasPartitions()
public abstract boolean hasPartitions()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the partitions field is set. |
hasVmware()
public abstract boolean hasVmware()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
Returns | |
---|---|
Type | Description |
boolean |
Whether the vmware field is set. |