public final class DiskEntry extends GeneratedMessageV3 implements DiskEntryOrBuilder
Single disk entry.
Protobuf type google.cloud.migrationcenter.v1.DiskEntry
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DiskEntryImplements
DiskEntryOrBuilderStatic Fields
CAPACITY_BYTES_FIELD_NUMBER
public static final int CAPACITY_BYTES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DISK_LABEL_FIELD_NUMBER
public static final int DISK_LABEL_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DISK_LABEL_TYPE_FIELD_NUMBER
public static final int DISK_LABEL_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FREE_BYTES_FIELD_NUMBER
public static final int FREE_BYTES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
HW_ADDRESS_FIELD_NUMBER
public static final int HW_ADDRESS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
INTERFACE_TYPE_FIELD_NUMBER
public static final int INTERFACE_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PARTITIONS_FIELD_NUMBER
public static final int PARTITIONS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
VMWARE_FIELD_NUMBER
public static final int VMWARE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DiskEntry getDefaultInstance()
Returns | |
---|---|
Type | Description |
DiskEntry |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static DiskEntry.Builder newBuilder()
Returns | |
---|---|
Type | Description |
DiskEntry.Builder |
newBuilder(DiskEntry prototype)
public static DiskEntry.Builder newBuilder(DiskEntry prototype)
Parameter | |
---|---|
Name | Description |
prototype | DiskEntry |
Returns | |
---|---|
Type | Description |
DiskEntry.Builder |
parseDelimitedFrom(InputStream input)
public static DiskEntry parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static DiskEntry parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DiskEntry parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DiskEntry parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static DiskEntry parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DiskEntry parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskEntry |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DiskEntry> parser()
Returns | |
---|---|
Type | Description |
Parser<DiskEntry> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getCapacityBytes()
public long getCapacityBytes()
Disk capacity.
int64 capacity_bytes = 1;
Returns | |
---|---|
Type | Description |
long | The capacityBytes. |
getDefaultInstanceForType()
public DiskEntry getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DiskEntry |
getDiskLabel()
public String getDiskLabel()
Disk label.
string disk_label = 3;
Returns | |
---|---|
Type | Description |
String | The diskLabel. |
getDiskLabelBytes()
public ByteString getDiskLabelBytes()
Disk label.
string disk_label = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for diskLabel. |
getDiskLabelType()
public String getDiskLabelType()
Disk label type (e.g. BIOS/GPT)
string disk_label_type = 4;
Returns | |
---|---|
Type | Description |
String | The diskLabelType. |
getDiskLabelTypeBytes()
public ByteString getDiskLabelTypeBytes()
Disk label type (e.g. BIOS/GPT)
string disk_label_type = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for diskLabelType. |
getFreeBytes()
public long getFreeBytes()
Disk free space.
int64 free_bytes = 2;
Returns | |
---|---|
Type | Description |
long | The freeBytes. |
getHwAddress()
public String getHwAddress()
Disk hardware address (e.g. 0:1 for SCSI).
string hw_address = 7;
Returns | |
---|---|
Type | Description |
String | The hwAddress. |
getHwAddressBytes()
public 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 DiskEntry.InterfaceType getInterfaceType()
Disks interface type.
.google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;
Returns | |
---|---|
Type | Description |
DiskEntry.InterfaceType | The interfaceType. |
getInterfaceTypeValue()
public 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. |
getParserForType()
public Parser<DiskEntry> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<DiskEntry> |
getPartitions()
public DiskPartitionList getPartitions()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
Returns | |
---|---|
Type | Description |
DiskPartitionList | The partitions. |
getPartitionsOrBuilder()
public DiskPartitionListOrBuilder getPartitionsOrBuilder()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
Returns | |
---|---|
Type | Description |
DiskPartitionListOrBuilder |
getPlatformSpecificCase()
public DiskEntry.PlatformSpecificCase getPlatformSpecificCase()
Returns | |
---|---|
Type | Description |
DiskEntry.PlatformSpecificCase |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getVmware()
public VmwareDiskConfig getVmware()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
Returns | |
---|---|
Type | Description |
VmwareDiskConfig | The vmware. |
getVmwareOrBuilder()
public VmwareDiskConfigOrBuilder getVmwareOrBuilder()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
Returns | |
---|---|
Type | Description |
VmwareDiskConfigOrBuilder |
hasPartitions()
public boolean hasPartitions()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the partitions field is set. |
hasVmware()
public boolean hasVmware()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
Returns | |
---|---|
Type | Description |
boolean | Whether the vmware field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public DiskEntry.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
DiskEntry.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiskEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
DiskEntry.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public DiskEntry.Builder toBuilder()
Returns | |
---|---|
Type | Description |
DiskEntry.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |