Class DiskEntry (0.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class DiskEntry extends GeneratedMessageV3 implements DiskEntryOrBuilder
Single disk entry.
Protobuf type google.cloud.migrationcenter.v1.DiskEntry
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static 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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DiskEntry.Builder newBuilder()
newBuilder(DiskEntry prototype)
public static DiskEntry.Builder newBuilder(DiskEntry prototype)
parseDelimitedFrom(InputStream input)
public static DiskEntry parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DiskEntry parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DiskEntry parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static DiskEntry parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static DiskEntry parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DiskEntry parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiskEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DiskEntry> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCapacityBytes()
public long getCapacityBytes()
Disk capacity.
int64 capacity_bytes = 1;
Returns |
---|
Type | Description |
long | The capacityBytes.
|
getDefaultInstanceForType()
public DiskEntry getDefaultInstanceForType()
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;
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()
Overrides
getPartitions()
public DiskPartitionList getPartitions()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
getPartitionsOrBuilder()
public DiskPartitionListOrBuilder getPartitionsOrBuilder()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
getPlatformSpecificCase()
public DiskEntry.PlatformSpecificCase getPlatformSpecificCase()
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getVmware()
public VmwareDiskConfig getVmware()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
getVmwareOrBuilder()
public VmwareDiskConfigOrBuilder getVmwareOrBuilder()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DiskEntry.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiskEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DiskEntry.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]