Interface DiskEntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DiskEntry,DiskEntry.Builder
@Generated
public interface DiskEntryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongDisk capacity.Disk label.com.google.protobuf.ByteStringDisk label.Disk label type (e.g.com.google.protobuf.ByteStringDisk label type (e.g.longDisk free space.Disk hardware address (e.g. 0:1 for SCSI).com.google.protobuf.ByteStringDisk hardware address (e.g. 0:1 for SCSI).Disks interface type.intDisks interface type.Partition layout.Partition layout.VMware disk details.VMware disk details.booleanPartition layout.booleanVMware disk details.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCapacityBytes
long getCapacityBytes()Disk capacity.
int64 capacity_bytes = 1;- Returns:
- The capacityBytes.
-
getFreeBytes
long getFreeBytes()Disk free space.
int64 free_bytes = 2;- Returns:
- The freeBytes.
-
getDiskLabel
String getDiskLabel()Disk label.
string disk_label = 3;- Returns:
- The diskLabel.
-
getDiskLabelBytes
com.google.protobuf.ByteString getDiskLabelBytes()Disk label.
string disk_label = 3;- Returns:
- The bytes for diskLabel.
-
getDiskLabelType
String getDiskLabelType()Disk label type (e.g. BIOS/GPT)
string disk_label_type = 4;- Returns:
- The diskLabelType.
-
getDiskLabelTypeBytes
com.google.protobuf.ByteString getDiskLabelTypeBytes()Disk label type (e.g. BIOS/GPT)
string disk_label_type = 4;- Returns:
- The bytes for diskLabelType.
-
getInterfaceTypeValue
int getInterfaceTypeValue()Disks interface type.
.google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;- Returns:
- The enum numeric value on the wire for interfaceType.
-
getInterfaceType
DiskEntry.InterfaceType getInterfaceType()Disks interface type.
.google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;- Returns:
- The interfaceType.
-
hasPartitions
boolean hasPartitions()Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;- Returns:
- Whether the partitions field is set.
-
getPartitions
DiskPartitionList getPartitions()Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;- Returns:
- The partitions.
-
getPartitionsOrBuilder
DiskPartitionListOrBuilder getPartitionsOrBuilder()Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6; -
getHwAddress
String getHwAddress()Disk hardware address (e.g. 0:1 for SCSI).
string hw_address = 7;- Returns:
- The hwAddress.
-
getHwAddressBytes
com.google.protobuf.ByteString getHwAddressBytes()Disk hardware address (e.g. 0:1 for SCSI).
string hw_address = 7;- Returns:
- The bytes for hwAddress.
-
hasVmware
boolean hasVmware()VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;- Returns:
- Whether the vmware field is set.
-
getVmware
VmwareDiskConfig getVmware()VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;- Returns:
- The vmware.
-
getVmwareOrBuilder
VmwareDiskConfigOrBuilder getVmwareOrBuilder()VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20; -
getPlatformSpecificCase
DiskEntry.PlatformSpecificCase getPlatformSpecificCase()
-