Interface DiskEntryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DiskEntry
,DiskEntry.Builder
public interface DiskEntryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCapacityBytes()
Disk capacity.String
getDiskLabel()
Disk label.com.google.protobuf.ByteString
getDiskLabelBytes()
Disk label.String
getDiskLabelType()
Disk label type (e.g.com.google.protobuf.ByteString
getDiskLabelTypeBytes()
Disk label type (e.g.long
getFreeBytes()
Disk free space.String
getHwAddress()
Disk hardware address (e.g.com.google.protobuf.ByteString
getHwAddressBytes()
Disk hardware address (e.g.DiskEntry.InterfaceType
getInterfaceType()
Disks interface type.int
getInterfaceTypeValue()
Disks interface type.DiskPartitionList
getPartitions()
Partition layout.DiskPartitionListOrBuilder
getPartitionsOrBuilder()
Partition layout.DiskEntry.PlatformSpecificCase
getPlatformSpecificCase()
VmwareDiskConfig
getVmware()
VMware disk details.VmwareDiskConfigOrBuilder
getVmwareOrBuilder()
VMware disk details.boolean
hasPartitions()
Partition layout.boolean
hasVmware()
VMware disk details.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-